SL.model: A SuperLearner Function

Description Usage Arguments Examples

Description

This function allows you to fit the SuperLearner.

Usage

1
SL.model(multicore = 0, dependent, independent, id, library, cores = 4)

Arguments

multicore

A binary integer (0,1) variable to choose parallel or sequential processing. If "0", standard SuperLearner is used. If "1" mcSuperLearner is used. If "2" snowSuperLearner is used, and other arguments are required. Defaults to "0".

dependent

A numeric dependent variable, binomial or gaussian.

independent

A matrix with all independent variables.

id

A numeric individual identifier.

library

A list of SL libraries.

Examples

1

ainaimi/pgf documentation built on May 10, 2019, 8 a.m.