logreg.fun: logistic regression

Description Usage Arguments Details Value Author(s) Examples

View source: R/logreg.fun.R

Description

The function calculates a logistic regression and prints the results to the console.

Usage

1

Arguments

formula

an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted. The details of model specification are given under 'Details'.

data

a data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model.

Details

The function prints the logistic regression results to the console; including information about the coefficients, standard errors, z- and p-values and the AIC. However, the function does not return. The printed output is similar to the one that is provided by summary() for glm() models of family 'binomial'.

Value

The function does not return a value, but prints the logistic regression results to the console.

Author(s)

Saro Gibilisco, sarogiba@bluewin.ch Rolf Badat, rolf.badat@uzh.ch

Examples

1
logreg.fun(W.Hnd ~ Sex + Clap + Fold, MASS::survey)

rodat/hw2package666 documentation built on May 29, 2019, 8:38 a.m.