adapt_X_estimating_less_variables {RCTS} | R Documentation |
When running the algorithm with a different number of observable variables then the number that is available, reformat X. (Mainly used for testing)
Description
When running the algorithm with a different number of observable variables then the number that is available, reformat X. (Mainly used for testing)
Usage
adapt_X_estimating_less_variables(X, vars_est)
Arguments
X |
dataframe with the observed variables |
vars_est |
number of available observed variables for which a coefficient will be estimated |
Value
Returns a 3D-array. If vars_est is set to 0, it returns NA.
[Package RCTS version 0.2.4 Index]