The package lassopmm
1 2 3 4 |
source, target |
dataframes with the period 0 and period 1 data respectively. These dataframes have to contain same columns with the identical names and variable types. If this is violated, errors may appear in the process of running the function. |
dep_var |
character vector with one name of the dependent variable. |
indep_var |
character vector with the names of independent variables. |
weight_var |
character vector with one name of the weight variable. Default is 'NULL', when 'NULL' equall weights of 1 for each obesrcation are assumed. |
extra_var |
character vectors. Could be |
strata_vars, cluster_vars |
character vectors. Could be |
n_near |
number of the nearest observations to derive a random match. If 'n_near' is greater than 'length(match_vector)', minimum out of two is used to create a sample for selecting a random match value. |
n_boot |
number of bootstrap permulations (resamplings).
If |
force_boot |
bootstrapping permutation vector externally defined. Default
is |
force_lambda |
allows to specify one lamda value. Shoul be 0, when we want to switch to the linear regression. |
n_folds |
number of folds for cross-validation |
reduced |
if TRUE terurns reduced outpur without specific regression details. |
updateProgress |
function that updates the progress bars in the shiny app. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.