predSimBin: Predict and simulate binary value from logistic model

View source: R/Models.R

predSimBinR Documentation

Predict and simulate binary value from logistic model

Description

Predict and simulate binary value from logistic model

Usage

predSimBin(model.glm, envir = parent.frame(), set = NULL)

Arguments

model.glm

model specifying variables to evaluate and coefficients to multiple by.

envir

environment in which to evaluate model variables. if unspecified, uses caller's environment

set

logical vector indicating elements or rows to simulate, or NULL to simulate using all values in envir

Value

a vector of binary values


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.