Nothing
library(propr)
data(mail)
lr <- propr:::clrRcpp(mail[])
test_that("calculating phs from rho matches phis", {
expect_equal(
var(lr[, 1] - lr[, 2]) / var(lr[, 1] + lr[, 2]),
phis(mail)@matrix[1, 2]
)
expect_equal(
propr:::lr2phs(lr),
(1 - propr:::lr2rho(lr)) / (1 + propr:::lr2rho(lr))
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.