Skip to content

Commit

Permalink
Added an Rproj file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaques-Leslie authored and Jaques-Leslie committed Dec 18, 2023
1 parent 48165e3 commit 0679031
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
13 changes: 13 additions & 0 deletions OES-Matching-Guide.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
6 changes: 3 additions & 3 deletions matched_designs.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Jake Bowers drafting this -->

```{r loadlibraries}
install.packages("groundhog")
# install.packages("groundhog")
library("groundhog")
pkgs <- c(
Expand Down Expand Up @@ -456,7 +456,7 @@ equivalent randomized experiments [@hansen2008cbs].
The within-set differences look different from those that would be expected
from a randomized experiment.

```{r xbhs2, echo=TRUE}
```{r, echo=TRUE}
xbfm1 <- balanceTest(trtbin ~ age + strata(fm1) + strata(pm1) + strata(fm2), data = dat)
xbfm1$results[, , ]
xbfm1$overall
Expand All @@ -467,7 +467,7 @@ xbfm1$overall
The within-set differences look different from those that would be expected
from a randomized experiment.

```{r xbhs2, echo=TRUE}
```{r, echo=TRUE}
xbfm1 <- balanceTest(trtbin ~ age + strata(fm1), data = dat)
xbfm1$results[, , ]
xbfm1$overall
Expand Down

0 comments on commit 0679031

Please sign in to comment.