Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.ciee

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)

CIEE

Estimating and Testing Direct Effects in Directed Acyclic Graphs using Estimating Equations

v0.1.1
GPL-2
Authors
Stefan Konigorski [aut, cre], Yildiz E. Yilmaz [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.