Skip to content

Commit

Permalink
Merge pull request #1 from wviechtb/master
Browse files Browse the repository at this point in the history
Update to current wviechtb version
  • Loading branch information
kylehamilton authored Aug 28, 2019
2 parents 524594c + 0849789 commit 05e5a9c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data-raw/dat.ho2012.r
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dat.ho2012 <- read.table("data-raw/dat.ho2012.txt", header=TRUE, stringsAsFactors=FALSE)
save(dat.ho2012, file="data/dat.ho2012.rda")
11 changes: 11 additions & 0 deletions data-raw/dat.ho2012.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"author" "yi" "sei"
"1" "Devilly et al" -0.463 0.409
"2" "Taylor et al" -0.385 0.377
"3" "Jaberghadri" 0.075 0.506
"4" "Rothbaum" 0.288 0.321
"5" "Johnson & Lubin" 0.328 0.458
"6" "Lee et al" 0.412 0.4
"7" "Power et al" 0.493 0.292
"8" "Ironson et al" 0.523 0.484
"9" "Vaughan et al" 0.532 0.397
"10" "Rogers et al" 1.178 0.712
33 changes: 33 additions & 0 deletions man/dat.ho2012.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
\name{dat.ho2012}
\docType{data}
\alias{dat.ho2012}
\title{Studies on the Efficacy Eye Movement Desensitization and reprocessing (EMDR) and Exposure Based Cognitive Behaviour Therapy (CBT) for Treating Post-Traumatic Stress Disorder (PTSD)}
\description{Results from 10 studies on the efficacy of EMDR versus CBT for treating PTSD.}
\usage{dat.ho2012}
\format{The data frame contains the following columns:
\tabular{lll}{
\bold{author} \tab \code{character} \tab study authors \cr
\bold{yi} \tab \code{numeric} \tab Hedges' \italic{g} standardized mean difference \cr
\bold{sei} \tab \code{numeric} \tab standard error of Hedges' \italic{g} standardized mean difference
}
}
\details{
The difference between EMDR and exposure-based CBT are indicated by the Hedges' \italic{g} effect sizes. These data are in Figure 1 of Ho and Lee (2012).
}
\source{
Ho M. S. K. & Lee C. W. (2012). Cognitive behaviour therapy versus eye movement desensitization and reprocessing for post-traumatic disorder-is it all in the homework then?. \emph{European Review of Applied Psychology}, \bold{62}, 253--260.
}
\author{Robbie C.M. van Aert, \email{[email protected]}}
\examples{
if (require(metafor)) {
### copy data into 'dat' and examine data
dat <- dat.ho2012
dat
### random-effects model
rma(yi = yi, sei = sei, data = dat)
}
}
\keyword{datasets}

0 comments on commit 05e5a9c

Please sign in to comment.