logit | R Documentation |
logit
is the logistic likelihood function given data.
logit(start, data, Log = TRUE)
start |
vector of starting values |
data |
dataframe. The first column should be the dependent variable. |
Log |
a logical input (defaults to |
like returns the likelihood function value.
y = indicat(faithful$waiting,mean(faithful$waiting))
x = scale(cbind(faithful$eruptions,faithful$eruptions^2))
data = data.frame(y,x)
logit(rep(0,3),data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.