stack_predict: Convert one or more linear predictor to a format used for...

Description Usage Arguments Value

View source: R/expressions.R

Description

Convert one or more linear predictor to a format used for prediction

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
stack_predict(x, ...)

## S3 method for class 'elnet_numeric'
stack_predict(x, data, ...)

## S3 method for class 'lognet_class'
stack_predict(x, data, ...)

## S3 method for class 'lognet_prob'
stack_predict(x, data, ...)

## S3 method for class 'multnet_class'
stack_predict(x, data, ...)

## S3 method for class 'multnet_prob'
stack_predict(x, data, ...)

Arguments

x

A set of model expressions generated by prediction_eqn().

...

Not currently used.

type

The prediction type.

Value

The return type varies, based on the model and prediction type.


stacks documentation built on July 23, 2021, 5:08 p.m.