predLogit: Predict interaction probability using logistic regression...

Description Usage Arguments Value

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.


ibn-salem/chromloop documentation built on May 18, 2019, 1:29 a.m.