Learn R Programming

regrrr (version 0.1.3)

add.pr: Add approximate p-value based on t score or z score, when sample size is large

Description

Add approximate p-value based on t score or z score, when sample size is large

Usage

add.pr(df, z.col = 3, p.already = FALSE)

Arguments

df

a data.frame of regression result

z.col

the column number of t score or z score

p.already

whether the regression result already contains p.value