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

coefTable

Coefficient Table


Description

Generate Table for Coefficients, Std. Errors, t-values and P-values.

Usage

coefTable( coef, stdErr, df = NULL )

Arguments

coef

vector that contains the coefficients.

stdErr

vector that contains the standard errors of the coefficients.

df

degrees of freedom of the t-test used to calculate P-values.

Value

a matrix with 4 columns: coefficients, standard errors, t-values and P-values. If argument df is not provided, the last column (P-values) is filled with NAs.

Author(s)

Arne Henningsen

Examples

coefTable( rnorm( 10 ), 0.5 * abs( rnorm( 10 ) ), 20 )

miscTools

Miscellaneous Tools and Utilities

v0.6-26
GPL (>= 2)
Authors
Arne Henningsen, Ott Toomet
Initial release
2019-12-08

We don't support your browser anymore

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