addIterations: addIterations

Description Usage Arguments Value Examples

View source: R/addIterations.R

Description

Add iterations to a current miceDefs object. Adds iterations for all datasets.

Usage

1
addIterations(miceObj, iters = 5, parallel = FALSE, verbose = TRUE, ...)

Arguments

miceObj

A miceDefs object created by miceRanger.

iters

The number of iterations to add to each dataset.

parallel

Should the process run in parallel? This process will take advantage of any cluster set up when miceRanger is called.

verbose

should progress be printed?

...

other parameters passed to ranger() to control model building.

Value

an updated miceDefs object with additional iterations.

Examples

1
2
3
4
5
6
7
8
data("sampleMiceDefs")
miceObj <- addIterations(
    sampleMiceDefs
  , iters=2
  , verbose=FALSE
  , num.threads = 1
  , num.trees=5
)

miceRanger documentation built on Sept. 6, 2021, 5:07 p.m.