print.rsqbetasandwich: Print Method for an Object of Class 'rsqbetasandwich'

View source: R/betaSandwich-methods-r-sq-beta-sandwich.R

print.rsqbetasandwichR Documentation

Print Method for an Object of Class rsqbetasandwich

Description

Print Method for an Object of Class rsqbetasandwich

Usage

## S3 method for class 'rsqbetasandwich'
print(x, alpha = NULL, digits = 4, ...)

Arguments

x

Object of class rsqbetasandwich.

alpha

Numeric vector. Significance level \alpha. If alpha = NULL, use the argument alpha used in x.

digits

Digits to print.

...

additional arguments.

Value

Returns a matrix of multiple correlation coefficients (R-squared and adjusted R-squared), standard errors, test statistics, degrees of freedom, p-values, and confidence intervals.

Author(s)

Ivan Jacob Agaloos Pesigan

Examples

object <- lm(QUALITY ~ NARTIC + PCTGRT + PCTSUPP, data = nas1982)
std <- BetaHC(object)
rsq <- RSqBetaSandwich(std)
print(rsq)


betaSandwich documentation built on Oct. 15, 2023, 1:07 a.m.