globalMetric | R Documentation |
This analysis calculates a global metric score based upon a prediction model
computed with flexmix
package.
globalMetric(
data,
k.range = c(2, 15),
nrep = 10,
criterion = c("BIC", "AIC"),
PCA = FALSE,
seed = NULL
)
data |
A |
k.range |
Concatenation of two positive integers.
The first value |
nrep |
Positive integer. Number of random initializations used in adjusting the model. |
criterion |
String. Critirion applied in order to select the best model. Possible values: "BIC" or "AIC". |
PCA |
Boolean. If true, a PCA is performed on the input dataframe before computing the predictions. |
seed |
Positive integer. A seed for internal bootstrap. |
A dataframe containing the global metric score for each metric.
# Using example data from our package
data("rnaMetrics")
globalMetric(rnaMetrics, k.range = c(2,3), nrep=10, criterion="AIC", PCA=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.