regr_signif: regr_signif

Description Usage Arguments Value Examples

View source: R/regr_signif.R

Description

Regress a variable y on a variable x If the intercept value is non-significant, it computes again the regression without the intercept. It also returns if the regressed variable is significant or not

Usage

1

Arguments

y

numeric vector. Dependent variable

x

numeric vector. Independent variable

Value

table, str

Examples

1
2
3
4
## Not run: 
regr_signif(y=chicken_weight$weight,x=chicken_weight$Time)

## End(Not run)

unimi-dse/bf98dcbb documentation built on Feb. 17, 2020, 4:04 a.m.