context("check_YeoJohn")
library(ACmisc)
### ###
test_that('YeoJohn de-skews a variable',{
expect_equivalent({
round(
psych::skew(
YeoJohn(ACmisc::dat_cochraneEtAl_2019_PLOSOne$enum)
)
,2)},
0)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.