foldpred: Predict modal travel mode from cross-validated model

Description Usage Arguments Value

View source: R/foldpred.R

Description

Returns a factor of the length of the data with predicted travel mode

Usage

1
foldpred(data, model)

Arguments

data

The data to predict to, make sure the correct variables are selected using pred.data

model

The cross-validated model, created with cross.validator

Value

A factor variable of the same length as variables in the data, with predicted travel mode


dprocter/modeid documentation built on May 19, 2019, 8:21 a.m.