plspm (version 0.4.9)

test_dataset: Test Data Set Availibility

Description

Internal function not to be called by the user

Usage

test_dataset(Dataset, pls_data, num_obs)

Arguments

Dataset
optional data set (with manifest variables) provided by user
pls_data
Data matrix containing the manifest variables used in the model. Only available when dataset=TRUE inside plspm()
num_obs
number of rows in PLS-PM Scores

Value

TRUE if dataset is available, otherwise FALSE

Warning

Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)

Details

Internal function. test_dataset checks whether a dataset is available for plspm.groups, rescale, it.reb, rebus.pls, rebus.test