dot-nested_test.RdNested test.
.nested_test(data_g, calc0, calc1, func = lm, method = "F")
| data_g | Matrix or data frame for model fitting. |
|---|---|
| calc0 | A string of formula for null hypothesis |
| calc1 | A string of formula for alternative hypothesis |
| func | Fitting function used for test. Can be chosen from lm and gam. By default is lm. |
| method | Testing method. Can be chosen from "F", "globaltest", "Tmax", "Chisq", "Cp". By default is "F" |
A list contain bootstrapping pvalue and fitted R.square