context('Convert log odds to probability')
test_that('Function returns expected values', {
v = c(-2, 0)
expect_true(all(dplyr::near(LogOddsToProb(v), c(0.1192029, 0.5), tol=.0001)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.