inst/tinytest/test_from_to.R

# Simulate data
library(amt)

data(deer)
expect_equivalent(from(deer), min(deer$t_))
expect_equivalent(to(deer), max(deer$t_))
expect_equivalent(from_to(deer), range(deer$t_))

Try the amt package in your browser

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

amt documentation built on March 31, 2023, 5:29 p.m.