View source: R/summary_SAEforest.R
summary.SAEforest | R Documentation |
Shows additional information about the data, the SAE model and its components.
Information is extracted from a SAEforest
object. The returned object
is suitable for printing with print
.
## S3 method for class 'SAEforest' summary(object, ...)
object |
An object of class |
... |
Optional additional inputs that are ignored for this method. |
An object of class summary.SAEforest
including information about the sample
and population data, the model fit and random forest specific metrics.
SAEforestObject
# Loading data data("eusilcA_pop") data("eusilcA_smp") income <- eusilcA_smp$eqIncome X_covar <- eusilcA_smp[, -c(1, 16, 17, 18)] # Example 1: # Calculating point estimates and discussing basic generic functions model1 <- SAEforest_model(Y = income, X = X_covar, dName = "district", smp_data = eusilcA_smp, pop_data = eusilcA_pop, num.trees=50, mtry=3) # SAEforest generics: summary(model1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.