bl: Analysis of bronken line regression

Description Usage Arguments Value Author(s) See Also Examples

View source: R/bl.R

Description

The function performs analysis of broken line regression.

Usage

1
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 <[email protected]>

See Also

lm, ea1(easyanova package), pr2, regplot

Examples

1
2
3
4
5
6
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)

epr documentation built on Nov. 17, 2017, 6:47 a.m.