Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Mar 20, 2024
1 parent 0865496 commit f277387
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@

An `R` package for computing the standardized mean difference between two groups for various data types.

```r
``` r
library(smd)

x <- rnorm(100)
g <- rep(1:2, each = 50)
smd(x, g)

smd(x, g, std.error = TRUE)
#> term estimate std.error
#> 1 2 0.1653336 0.2003414
```

See [using smd](https://bsaul.github.io/smd/articles/smd_usage.html) for more details.

0 comments on commit f277387

Please sign in to comment.