Skip to contents

Print method for an object of class "missRanger".

Usage

# S3 method for class 'missRanger'
print(x, ...)

Arguments

x

An object of class "missRanger".

...

Further arguments passed from other methods.

Value

Invisibly, the input is returned.

Examples

CO2_ <- generateNA(CO2, seed = 1)
imp <- missRanger(CO2_, pmm.k = 5, data_only = FALSE, num.threads = 1)
#> Missing value imputation by random forests
#> 
#> Variables to impute:		Plant, Type, Treatment, conc, uptake
#> Variables used to impute:	Plant, Type, Treatment, conc, uptake
#> 
#> iter 1 
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==============                                                        |  20%
  |                                                                            
  |============================                                          |  40%
  |                                                                            
  |==========================================                            |  60%
  |                                                                            
  |========================================================              |  80%
  |                                                                            
  |======================================================================| 100%
#> iter 2 
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==============                                                        |  20%
  |                                                                            
  |============================                                          |  40%
  |                                                                            
  |==========================================                            |  60%
  |                                                                            
  |========================================================              |  80%
  |                                                                            
  |======================================================================| 100%
#> iter 3 
#> 
  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |==============                                                        |  20%
  |                                                                            
  |============================                                          |  40%
  |                                                                            
  |==========================================                            |  60%
  |                                                                            
  |========================================================              |  80%
  |                                                                            
  |======================================================================| 100%
imp
#> missRanger object. Extract imputed data via $data
#> - best iteration: 2 
#> - best average OOB imputation error: 0.303332