r.test {epr}R Documentation

Tests for model identity and parameter

Description

The function performs tests of parameters and models.

Usage

r.test(data, digits=6)

Arguments

data

data is a data.frame The first column should contain the x (explanatory variable) second treatments and the remaining columns the response variables.

digits

number of digits (defalt = 6)

Value

Returns coefficients of the models, t test for coefficients and tests for parameters and models.

Author(s)

Emmanuel Arnhold <emmanuelarnhold@yahoo.com.br>

See Also

lm, ea1(easyanova package), pr2, regplot

Examples

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)



[Package epr version 3.0 Index]