bl {epr} | R Documentation |
Analysis of bronken line regression
Description
The function performs analysis of broken line regression.
Usage
bl(data, xlab="Explanatory Variable", ylab="Response Variable", position=1)
Arguments
data |
data is a data.frame The first column should contain the treatments (explanatory variable) and the second column the response variable |
xlab |
name of explanatory variable |
ylab |
name of response variable |
position |
position of equation in the graph top=1 bottomright=2 bottom=3 bottomleft=4 left=5 topleft=6 (default) topright=7 right=8 center=9 |
Value
Returns coefficients of the models, t test for coefficients, R squared, adjusted R squared, AIC and BIC, normality test and residuals.
Author(s)
Emmanuel Arnhold <emmanuelarnhold@yahoo.com.br>
See Also
lm, ea1(easyanova package), pr2, regplot
Examples
x=c(0.01, 0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08,0.09,0.10)
y=c(5.5,4,3.2,2.1,1,0.1,1.6,2.2,3,5)
y=y/100
data=data.frame(x,y)
### bl(data)
[Package epr version 3.0 Index]