Learn R Programming

scrime (version 1.3.7)

summary.simSNPglm: Summarizing a simSNPglm object

Description

Summarizes an object of class simSNPglm.

Usage

# S3 method for simSNPglm
summary(object, digits = 3, ...)

Value

Shows the model used in simulateSNPglm to generate the values of the response. If the response is binary, then it additionally shows and returns a contingency table of the numbers of cases and controls and the probabilities for being a case.

Arguments

object

an object of class simSNPglm, i.e.\ the output of simulateSNPglm.

digits

number of digits used in the output.

...

Ignored.

Author

Holger Schwender, holger.schwender@udo.edu

See Also

simulateSNPglm

Examples

Run this code
if (FALSE) {
# The default simulated data set.

sim1 <- simulateSNPglm()
sim1

# A bit more information: Table of probability of being a case
# vs. number of cases and controls.

summary(sim1)

}

Run the code above in your browser using DataLab