tv: Score the TV watching model

Description Usage Arguments Examples

Description

Simple model with two predictor age (value between 20 and 80) and marital ("MARRIED", 'DIVORCED", "WIDOWED or "NEVER MARRIED").

Usage

1
tv(input)

Arguments

input

data passed on as newdata to predict

Examples

1
2
3
4
5
mydata <- data.frame(
   age=c(24, 54, 32, 75),
   marital=c("MARRIED", "DIVORCED", "WIDOWED", "NEVER MARRIED")
)
tv(mydata)

paulij/tvAppR documentation built on May 24, 2019, 8:45 p.m.