Description Usage Arguments Value
View source: R/SAEforest_agg_wSet.R
Main function for means of MERF with aggregated data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | SAEforest_agg_wSet(
Y,
X,
dName,
survey_data,
Xcensus_agg,
initialRandomEffects = 0,
ErrorTolerance = 1e-04,
MaxIterations = 25,
m_try = 1,
survey_weigths = NULL,
OOsample_obs = 25,
wSet,
w_min = 3
)
|
Y |
metric target variable |
X |
data.frame of covariates |
dName |
name of group-identifier |
survey_data |
survey data set |
Xcensus_agg |
aggregated census level covariates. Note that the first column should include the group identifier |
initialRandomEffects |
default set to 0 |
ErrorTolerance |
default set to 1e-04 |
MaxIterations |
default to 25 |
m_try |
default set to 1 |
survey_weigths |
default set to NULL |
wSet |
insert columnNames depending on importance from RF |
w_min |
minimal amount of influence variables to still attempt to calculate a weight |
returns object with Mean Predictions, model details and the modified dataset including weights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.