summary.ciee {CIEE}R Documentation

Summary function.

Description

Summary function for the ciee and ciee_loop functions.

Usage

## S3 method for class 'ciee'
summary(object = NULL, ...)

Arguments

object

ciee object (output of the ciee or ciee_loop function).

...

Additional arguments affecting the summary produced.

Value

Formatted data frames of the results of all computed methods.

Examples


maf <- 0.2
n <- 1000
dat <- generate_data(n = n, maf = maf)
datX <- data.frame(X = dat$X)
names(datX)[1] <- "X1"
for (i in 2:10){
  X <- stats::rbinom(n, size = 2, prob = maf)
  datX$X <- X
  names(datX)[i] <- paste("X", i, sep="")
}

results1 <- ciee(Y = dat$Y, X = datX$X1, K = dat$K, L = dat$L)
summary(results1)

results2 <- ciee_loop(Y = dat$Y, X = datX, K = dat$K, L = dat$L)
summary(results2)


[Package CIEE version 0.1.1 Index]