Learn R Programming

cartools (version 0.1.0)

logisticmodel: The function logisticmodel estimates the parameters of logistic regression model using a binomial formula and logit link function for data QUKtdayX.

Description

The function logisticmodel estimates the parameters of logistic regression model using a binomial formula and logit link function for data QUKtdayX.

Usage

logisticmodel(QUKtdayX, type)

Arguments

QUKtdayX

a matrix

type

logical

Value

If type is TRUE, plot a density-failure probability plot is created and a data frame is returned. If If type is FALSE, a data frame is returned.

Examples

Run this code
# NOT RUN {
logisticmodel(QUKtdayX, TRUE)
# }

Run the code above in your browser using DataLab