addDatasets: addDatasets

Description Usage Arguments Value Examples

View source: R/addDatasets.R

Description

Add datasets to a current miceDefs object. Adds the same number of iterations as other datasets.

Usage

1
addDatasets(miceObj, datasets = 3, parallel = FALSE, verbose = TRUE, ...)

Arguments

miceObj

A miceDefs object created by miceRanger.

datasets

The number of datasets to add.

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 datasets.

Examples

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

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