Learn R Programming

LEGIT (version 1.4.1)

summary.LEGIT: Summarizing LEGIT fits

Description

Shows the summary for all parts (main, genetic, environmental) of the LEGIT model.

Usage

# S3 method for LEGIT
summary(object, ...)

Value

Returns a list of objects of class "summary.glm" containing the summary of each parts (main, genetic, environmental) of the model.

Arguments

object

An object of class "LEGIT", usually, a result of a call to LEGIT.

...

Further arguments passed to or from other methods.

Examples

Run this code
	train = example_2way(250, 1, seed=777)
fit_default = LEGIT(train$data, train$G, train$E, y ~ G*E)
summary(fit_default)

Run the code above in your browser using DataLab