growth1: growth1

Description Usage Format Examples

Description

자료 growth1는 어느 식물의 성장 속도에 관한 실험 결과이다.

Usage

1

Format

이 데이터프레임은 다음과 같은 열로 구성되어 있다.

y

성장치

x

시간

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fit <- nls(y ~ beta1 * x/ (beta2 + x), data=growth1, start=list(beta1=22, beta2=9), trace=TRUE)
summary(fit)

plot(y ~ x, growth1)
lines(fitted(fit) ~ x, growth1)

plot(resid(fit) ~ fitted(fit))
abline(h=0)

plot(resid(fit) ~ x, growth1)
abline(h=0)

regbook/regbook documentation built on June 27, 2020, 10:15 p.m.