# Tests for calculate_median_muac function -------------------------------------
test_that("calculate_median_muac works as expected", {
expect_type(calculate_muac_median(otp_beneficiaries$muac), "double")
expect_type(
calculate_muac_median(otp_beneficiaries$muac, otp_beneficiaries$locality),
"double"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.