View source: R/LogisticRegression.R
print.lr | R Documentation |
Displays important output from a lr
object; the parameter estimates and the maximised log-likelihood value.
## S3 method for class 'lr'
print(x, ...)
x |
an object of class " |
... |
further arguments |
a printed, named vector of coefficients and log-likelihood value at these estimates
y = sample(0:1, 50, replace=TRUE)
d = data.frame(y = y, x = rnorm(10*y + 15))
fit = lr(y ~ x, data = d)
print(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.