test_dataset: Test Data Set Availibility

View source: R/test_dataset.R

test_datasetR Documentation

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

Details

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

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!)


plspm documentation built on June 22, 2024, 11:29 a.m.