Skip to content

Commit

Permalink
Execute code on proc_ttest()
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosak01 committed Jan 24, 2024
1 parent 7e36ae3 commit fcc1a37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/ttest_Paired.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,21 @@ The following code was used to test the comparison in Base R.
```


### Procs Package

#### Code

The following code from the **procs** package was used to perform a paired t-test.

```{r eval=FALSE, echo = TRUE}
```{r eval=TRUE, echo = TRUE, message=FALSE, warning=FALSE}
library(procs)
# Perform t-test
proc_ttest(pressure,
paired = "SBPbefore*SBPafter")
```

Output:
Viewer Output:

```{r, echo=FALSE, fig.align='center', out.width="50%"}
knitr::include_graphics("../images/ttest/paired_rtest1.png")
Expand Down

0 comments on commit fcc1a37

Please sign in to comment.