Nothing
test_that("Invalid arguments produce errors", {
data("Arterial", package = "CrossCarry")
cc <- createCarry(Arterial, "Treatment", "Period", "Subject", TRUE)
# Invalid Mv
expect_error(CrossGEE("Pressure", "Treatment", "Period", "Subject",
carry = cc$carryover, data = cc$data,
correlation = "AR-M", Mv = 0))
# Nonexistent id variable
expect_error(CrossGEE("Pressure", "Treatment", "Period", "WrongID",
carry = cc$carryover, data = cc$data))
# Nonexistent time variable in Kron
expect_error(CrossGEEKron("Pressure", "Treatment", "Period", "Subject",
time = "WrongTime",
carry = cc$carryover, data = cc$data,
correlation = "AR-M", Mv = 1))
# Invalid nodes argument
expect_error(CrossGEESP("Pressure", "Treatment", "Period", "Subject",
time = "Time",
carry = cc$carryover, data = cc$data,
correlation = "AR-M", Mv = 1,
nodes = -2))
})
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.