http://cran.r-project.org/web/packages/BSDA/index.html
Data sets for book "Basic Statistics and Data Analysis" by Larry J. Kitchens
아래의 내용은 CentOS5.5에서 작업한 것이다:
> library(BSDA)
Loading required package: e1071
Loading required package: class
Attaching package: 'BSDA'
The following object(s) are masked from 'package:datasets':
Orange
> x<-c(25, 16, 44, 82, 36, 58, 18)
> sign.test(x, md=35, alternative="greater")
Error: could not find function "sign.test"
> sign. test(x, md=35, alternative="greater")
Error: unexpected symbol in "sign. test"
> SIGN.test(x, md=35, alternative="greater") <============== 대문자로 SIGN
One-sample Sign-Test
data: x
s = 4, p-value = 0.5
alternative hypothesis: true median is greater than 35
95 percent confidence interval:
17.54286 Inf
sample estimates:
median of x
36
Conf.Level L.E.pt U.E.pt
Lower Achieved CI 0.9375 18.0000 Inf
Interpolated CI 0.9500 17.5429 Inf
Upper Achieved CI 0.9922 16.0000 Inf
'R packages' 카테고리의 다른 글
RODBC (rodbc) 패키지 설치 (0) | 2011.02.28 |
---|---|
RGL (rgl) 패키지 설치 (0) | 2011.02.28 |
R 패키지 설치 - Benchmarking (DEA, SFA) (1) | 2010.11.30 |
R 패키지 설치 - REvolution - Ubuntu 9.10의 경우 (0) | 2009.12.23 |
R Package 설치 - rgl - Fedora 12, 14의 경우 (1) | 2009.12.22 |