predLogit {sevenC} | R Documentation

## Predict interaction probability using logistic regression model.

### Description

Predict interaction probability using logistic regression model.

### Usage

    predLogit(data, formula, betas)

### 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`.

[Package sevenC version 1.14.0 Index]