tests/testthat/test-phi.R

test_that("phi/pnorm/qnorm", {
  expect_equal(phi(1:3), pnorm(1:3))
  expect_equal(phi(as.double(1:3)), pnorm(as.double(1:3)))
})

Try the rxode2random package in your browser

Any scripts or data that you put into this service are public.

rxode2random documentation built on May 29, 2024, 7:30 a.m.