Time series value object
time.RdBuild a time-series value object for create_observed_data()'s time
argument. Carries the time grid x-values and their unit.
Value
A time_spec object to pass to create_observed_data().
See also
Other value-object helpers:
age(),
error(),
fraction_unbound(),
gestational_age(),
height(),
intestinal_permeability(),
lipophilicity(),
permeability(),
solubility(),
values(),
weight()
Examples
time(c(0, 1, 2, 4, 8))
#> $value
#> [1] 0 1 2 4 8
#>
#> $unit
#> [1] "h"
#>
#> attr(,"class")
#> [1] "time_spec" "osp_value_spec"