summary.agnostic.lm: Summarizing Agnostic Linear Model Fits

Description Usage Arguments Value Examples

View source: R/summary.agnostic.lm.R

Description

Summarizing Agnostic Linear Model Fits

Usage

1
2
3
## S3 method for class 'agnostic.lm'
summary(object, alpha = 0.05, beta = 0.05, d = NULL,
  plot.power = FALSE, correlation = FALSE, symbolic.cor = FALSE, ...)

Arguments

object

an object of class "agnostic.lm", usually, a result of a call to agnostic.lm.

alpha

probability of type I error.

beta

probability of type II error.

d

a vector indicating the desired Cohen's effect size where the probability of type II error is beta for each parameter. 0 by default.

plot.power

logical ; if TRUE, draws the power function for the tests.

correlation

logical; if TRUE, the correlation matrix of the estimated parameters is returned and printed.

symbolic.cor

logical; if TRUE, print the correlations in a symbolic form (see symnum) rather than as numbers.

...

further arguments passed to or from other methods.

Value

A list countaining various metrics from a agnostic linear model fit, there is a print method availiable for this.

Examples

1
2
mod1 <- agnostic.lm(rnorm(100) ~ rexp(100))
summary(mod1)

vcoscrato/agnostic documentation built on April 4, 2020, 11:27 a.m.