fpca.cluster is a wrap up of functions fpca.nonscore.cluster and fpca.score.cluster. The latter two are the clustering functions for the situations in which score = FALSE and score = TRUE, respectively.
fpca.cluster(obj, K = 2, score = F)
fpca.nonscore.cluster(obj, K = 2)
fpca.score.cluster(obj, K = 2)fpca.cluster, it is an object generated by fpca.start, i.e., generated by
fpca.nonscore or fpca.score, if score = FALSE or score = TRUE, respectively. It is a list.In functions fpca.nonscore.cluster and fpca.score.cluster, it is an input matrix, which is a FPCA or FPCA-RoE object, of dimension number of non-isolated nodes x number of effective estimators. It is generated by fpca.nonscore and fpca.score.
obj is a FPCA object, the supposed value for score should be F. If users set score = T, the function will stop with warning 'This object is designed for 'score = F''. If the input object obj is a FPCA-RoE object, the supposed value for score should be T. If users set score = F, the function will still execute, but with warning 'This object is designed for 'score = T''.fpca.nonscore.cluster, fpca.score.cluster, fpca.start, fpca.nonscore, fpca.score.
### please see the examples in fpca
Run the code above in your browser using DataLab