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/Music.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Music
> ### Title: Improvement scores for identical twins taught music recognition
> ### by two techniques
> ### Aliases: Music
> ### Keywords: datasets
>
> ### ** Examples
>
> str(Music)
'data.frame': 12 obs. of 3 variables:
$ Method1: int 7 4 6 1 5 1 6 3 4 6 ...
$ Method2: int 2 4 3 2 3 4 2 4 4 3 ...
$ differ : int 5 0 3 -1 2 -3 4 -1 0 3 ...
> attach(Music)
> qqnorm(differ)
> qqline(differ)
> shapiro.test(differ)
Shapiro-Wilk normality test
data: differ
W = 0.96631, p-value = 0.8685
> t.test(Method1,Method2,paired=TRUE)
Paired t-test
data: Method1 and Method2
t = 1.5947, df = 11, p-value = 0.1391
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.411863 2.578530
sample estimates:
mean of the differences
1.083333
> detach(Music)
>
>
>
>
>
> dev.off()
null device
1
>