boot_paths_df: Return all path bootstraps as a long dataframe. Columns of...

View source: R/boot_utils.R

boot_paths_dfR Documentation

Return all path bootstraps as a long dataframe. Columns of the dataframes are specified paths and rows are the estimated coefficients for the paths at each bootstrap iteration.

Description

Return all path bootstraps as a long dataframe. Columns of the dataframes are specified paths and rows are the estimated coefficients for the paths at each bootstrap iteration.

Usage

boot_paths_df(pls_boot)

Arguments

pls_boot

bootstrapped PLS model

Examples

data(mobi)

mobi_mm <- constructs(
  composite("Image",        multi_items("IMAG", 1:5)),
  composite("Expectation",  multi_items("CUEX", 1:3)),
  composite("Satisfaction", multi_items("CUSA", 1:3))
)

mobi_sm <- relationships(
  paths(from = c("Image", "Expectation"), to = "Satisfaction")
)

pls_model <- estimate_pls(data = mobi,
                          measurement_model = mobi_mm,
                          structural_model = mobi_sm)

pls_boot <- bootstrap_model(seminr_model = pls_model,
                            nboot = 50, cores = 2, seed = NULL)

boot_paths_df(pls_boot)


seminr documentation built on Oct. 13, 2022, 1:05 a.m.