powered by
The function performs tests of parameters and models.
r.test(data, digits=6)
data is a data.frame The first column should contain the x (explanatory variable) second treatments and the remaining columns the response variables.
number of digits (defalt = 6)
Returns coefficients of the models, t test for coefficients and tests for parameters and models.
lm, ea1(easyanova package), pr2, regplot
# NOT RUN { x=c(1,1,1,2,2,2,3,3,3,4,4,4) y=c(5,5.3,6,8,8.9,12,14,18,25,25,29,32) t=c("a1","a2","a3","a1","a2","a3","a1","a2","a3","a1","a2","a3") data=data.frame(x,t,y) r.test(data) # }
Run the code above in your browser using DataLab