Skip to content

Instantly share code, notes, and snippets.

#Logistic Regression in R(logistf package) results..
> str(iris_qua)
'data.frame': 100 obs. of 5 variables:
$ Sepal.Length: num 5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
$ Sepal.Width : num 3.5 3 3.2 3.1 3.6 3.9 3.4 3.4 2.9 3.1 ...
$ Petal.Length: num 1.4 1.4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
$ Petal.Width : num 1.4 1.5 0.4 1.3 1.5 0.6 1.6 1 1.3 1.4 ...
$ Species : Factor w/ 2 levels "0","1": 1 1 1 1 1 1 1 1 1 1 ...