# factorstart <- function(covmat, lambda){
# browser()
# # Number of latents:
# nLat <- ncol(lambda)
# nObs <- ncol(lambda)
#
# # Run EFA:
# fa <- factanal(covmat = covmat, factors = nLat, rotation = "promax")
#
# # Uniqueness:
# thetaStart <- diag(fa$uniquenesses^2)
#
# # loadings:
# loadings <- as.matrix(fa$loadings)
# class(loadings) <- "matrix"
#
# loadings
# lambda
#
#
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.