predLogit: Predict interaction probability using logistic regression...

Description Usage Arguments Value

View source: R/prediction.R

Description

Predict interaction probability using logistic regression model.

Usage

1

Arguments

data

A data.frame like object with predictor variables.

formula

A formula. All predictor variables should be available in the data frame.

betas

A vector with parameter estimates for predictor variables. They should be in the same order as variables in formula.

Value

A numeric vector with interaction probabilities for each observation in df. NAs are produced for NAs in df.


sevenC documentation built on Nov. 8, 2020, 5:35 p.m.