Generate seminr PLS-SEM syntax
Arguments
- model
An
sframe_model_spec()object of type"pls_sem".- data_name
Name of the data object in generated R code.
- nboot
Number of bootstrap samples.
- seed
Random seed for bootstrap syntax.
See also
Other Models and syntax functions:
sframe_add_model(),
sframe_construct(),
sframe_covariance(),
sframe_indirect_effect(),
sframe_model_json(),
sframe_model_outline(),
sframe_model_spec(),
sframe_path(),
sframe_syntax_cfa(),
sframe_syntax_efa(),
sframe_syntax_result(),
sframe_syntax_sem(),
sframe_validate_model()
Examples
m <- sframe_model_spec(
"pls1", type = "pls_sem",
constructs = list(
sframe_construct("sq", items = c("sq_1", "sq_2", "sq_3")),
sframe_construct("sat", items = c("sat_1", "sat_2"))
),
paths = list(sframe_path("sq", "sat"))
)
cat(sframe_syntax_pls(m))