dot-npntest.Rd
nonparametric ANOVA test from Zhou's paper using bootstrap.
.npntest(data_g, calc0, calc1, func0 = lm, func1 = mgcv::gam, Boot = 50)
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 |
func0 | Fitting function used for null hypothesis. |
func1 | Fitting function used for alternative hypothesis. |
Boot | Number of bootstrapping. By default is 50. |
A list contain bootstrapping pvalue and fitted R.square