View source: R/Profile_Likelihood_Rank_Selection.R
ProfileLikCluster | R Documentation |
Function that separates a vector into two groups using profile likelihood
ProfileLikCluster(x, variance = c("equal", "unequal"))
x |
An ordered (max to min) vector to be clustered into two groups |
variance |
Either "equal" or "unequal", i.e., whether the assumption is equal variance or unequal variance. If no input is given, equal variance is assumed. |
A list that contains the following elements:
index |
The index where separates the vector |
profileloglikvec |
A vector containing profile log-likelihood for each index |
x = c(20,9.5,9,8,6,5,4.5,3) ProfileLikCluster(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.