otLogisticRegression: Logistic Regression

Description Usage Arguments

View source: R/otLogisticRegression.R

Description

otLogisticRegression is used to fit logistic models, using glm functions. An independent variable must have 0-1 value.

Usage

1
2
3
4
5
6
otLogisticRegression(
  data,
  model = NULL,
  is.residual = FALSE,
  p.threshold = 0.5
)

Arguments

data

a data.frame object including both a dependent variables and independent variables.

model

an object of class "formula": a symbolic description of the model to be fitted.

is.residual

a logical value indicating whether return object have residual information or not.

p.threshold

a numeric value indicating p.value whether Y.HAT = 1 or Y.HAT or 0


momoldo/otmR documentation built on March 27, 2021, 3 a.m.