Description Usage Arguments Value Author(s) Examples

View source: R/kpodclustr-package.r

`kpod`

Function for performing k-POD, a method for k-means clustering on partially observed data

1 |

`X` |
Data matrix containing missing entries whose rows are observations and columns are features |

`k` |
Number of clusters |

`kmpp_flag` |
(Optional) Indicator for whether or not to initialize with k-means++ |

`maxiter` |
(Optional) Maximum number of iterations |

cluster: Clustering assignment obtained with k-POD

cluster_list: List containing clustering assignments obtained in each iteration

obj_vals: List containing the k-means objective function in each iteration

fit: Fit of clustering assignment obtained with k-POD (calculated as 1-(total withinss/totss))

fit_list: List containing fit of clustering assignment obtained in each iteration

Jocelyn T. Chi

1 2 3 4 5 6 7 8 9 10 11 12 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.