R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(BSDA)
Loading required package: e1071
Loading required package: lattice
Attaching package: 'BSDA'
The following object is masked from 'package:datasets':
Orange
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/BSDA/Phone.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Phone
> ### Title: Length of long-distance phone calls for a small business firm
> ### Aliases: Phone
> ### Keywords: datasets
>
> ### ** Examples
>
> str(Phone)
'data.frame': 20 obs. of 1 variable:
$ time: num 12.8 3.5 2.9 9.4 8.7 3.5 4.8 7.7 5.9 6.2 ...
> attach(Phone)
> qqnorm(time)
> qqline(time)
> shapiro.test(time)
Shapiro-Wilk normality test
data: time
W = 0.86994, p-value = 0.01172
> SIGN.test(time,md=5,alternative="greater")
One-sample Sign-Test
data: time
s = 9, p-value = 0.7483
alternative hypothesis: true median is greater than 5
95 percent confidence interval:
3.058559 Inf
sample estimates:
median of x
4.75
Conf.Level L.E.pt U.E.pt
Lower Achieved CI 0.9423 3.1000 Inf
Interpolated CI 0.9500 3.0586 Inf
Upper Achieved CI 0.9793 2.9000 Inf
> detach(Phone)
>
>
>
>
>
> dev.off()
null device
1
>