scrime (version 1.3.5)

summary.simSNPglm: Summarizing a simSNPglm object

Description

Summarizes an object of class simSNPglm.

Usage

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

Arguments

object

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

digits

number of digits used in the output.

Ignored.

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.

See Also

simulateSNPglm

Examples

Run this code
# NOT RUN {
# 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