logreg_data: Data sample for the logistic regression example

logreg_dataR Documentation

Data sample for the logistic regression example

Description

Data sample for the logistic regression example

Usage

data(logreg_data)

Format

A data frame with 1000 rows, and 3 columns. Suitable for a logistic regression model.

y

is the dependent binary 0/1 variable

gr

is the allocated arm of each subject, where 1 corresponds to treatment, and 0 to control

x_var

is the independent continuous variable

Author(s)

V. Vancak

Examples

data(logreg_data)

vancak/NNTcalculator documentation built on April 7, 2022, 3:48 a.m.