-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wviechtb/master
Update to current wviechtb version
- Loading branch information
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} |