addIterations {miceRanger}R Documentation

addIterations

Description

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

Usage

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

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

[Package miceRanger version 1.5.0 Index]