Nothing
#'
#' Return the parameter estimates of a given leaf of a SEM tree
#' @param object semtree. A SEM tree node.
#' @param \dots Extra arguments. Currently unused.
#'
#' @exportS3Method coef semtree
#'
coef.semtree <- function(object, ...)
{
model <- object$model
if (inherits(model, "MxModel") || inherits(model, "MxRAMModel")) {
return(omxGetParameters(model))
} else if (inherits(model, "lavaan")) {
return(lavaan::coef(model))
} else {
warning("Model class is not supported!")
return(NULL)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.