# create a S4 class for mfa
setClass("mfa",
slots = list(
data = "data.frame",
ncomps = "numeric",
sets = "list",
center = "logical",
scale = "logical",
singularValue = "numeric",
eigenvalues = "numeric",
cfs = "matrix",
pfs = "list",
loadings = "matrix",
a_weights = "numeric")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.