summary.ciee: Summary function.

Description Usage Arguments Value Examples

View source: R/summary_function.R

Description

Summary function for the ciee and ciee_loop functions.

Usage

1
2
## 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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)

CIEE documentation built on May 2, 2019, 6:39 a.m.