View source: R/otLogisticRegression.R
otLogisticRegression is used to fit logistic models, using glm functions. An independent variable must have 0-1 value.
1 2 3 4 5 6 | otLogisticRegression(
data,
model = NULL,
is.residual = FALSE,
p.threshold = 0.5
)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.