Description Usage Arguments Details Value Author(s) Examples
It scales the vector of a quantitative response variable, such as the one for binary logistic regression model, as 0s and 1s based on a cutoff.
1 | sc01(x, scm)
|
x |
a numeric, integer or double, vector object |
scm |
the cutoff value obtainable by a case(subject) on a single variable |
The functioon is very handy for scaling the response variable in a binary logistic regression model. The argument x can be calculated using the function vsc and scm is based on researcher's judgment.
a data frame object of a binary-coded variable
Abubakar Akanbi
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.