Description Usage Arguments Value
Estimate number of principal components to retain for gpcr
1 2 3 4 5 6 7 8 9 |
formula |
model formula |
data |
data frame. should only contain numeric covariates! |
max.ncomp |
maximum number of components to try |
family |
a glm family. defaults to gaussian() |
crit |
one of "bic" or "aic". defaults to "bic" as the BIC tends to be more parsimonious than AIC. |
print |
should the results be printed to the console? defaults to TRUE. |
plot |
should the results be visualized in a plot? defaults to TRUE. |
invisibly returns an integer for the number of factors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.