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 June 25, 2024, 1:14 a.m.