get_reduced_classes | R Documentation |
This is the second step of the CLIMB procedure. For higher dimensions, this function is fast but requires a lot of memory.
get_reduced_classes(fits, d, filepath = "lgf.txt")
fits |
Output from get_pairwise_fits |
d |
Dimension of data |
filepath |
Path to write the LEMON graph format fit, to be used internally by CLIMB. |
split_into_two |
Logical. Defaults to TRUE. Should the problem be split into 2 sub-problems? This will not change the outcome, but setting to TRUE can save memory and time. |
M by D matrix of candidate latent classes. Each row is one candidate class.
data(sim) data(fits) #------------------------------------------------------------ # Not run: # # D <- ncol(sim$data) # reduced_classes <- get_reduced_classes(fits, D, "lgf.txt") #------------------------------------------------------------
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.