Estimate a process PLS model and calculate the effects of variables on blocks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | process_PLS(
data,
connection_matrix,
variables_in_block,
block_names = NULL,
global_preprocessors = list(),
local_preprocessors = list(standardize, block_scale),
parallelise = FALSE,
n_cores = NULL,
bootstrap = FALSE,
bootstrap_iter = 200,
bootstrap_ci = 0.95,
n_LVs = NULL,
max_n_LVs = NULL
)
|
data |
A dataframe or matrix containing the data belonging to the process that is being modelled. The rows contain the samples, the columns contain the variables. |
connection_matrix |
A lower triangular matrix where the non zero elements what connections exist. The rows indicate the node where the edge is going to, and the columns indicates the node where the edge is coming from. |
variables_in_block |
A list of lists indicating the variables
corresponding to each block. The ordering of the upper list should be the
same as that of the |
block_names |
An ordered list containing the names that should be
assigned to each block. The ordering of the list should be the same as that
of the |
global_preprocessors |
A list of preprocessing functions when
unique_node_preprocessing is |
local_preprocessors |
A list of preprocessing functions when
unique_node_preprocessing is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.