Height value object
height.RdBuild a height value object for create_individual()'s height argument
(or the writable Individual$height / OriginData$height field). Fills
the OriginData Height characteristic (list(Value =, Unit =)).
Value
A height_spec object to pass to create_individual().
See also
Other value-object helpers:
age(),
error(),
fraction_unbound(),
gestational_age(),
intestinal_permeability(),
lipophilicity(),
permeability(),
solubility(),
time(),
values(),
weight()
Examples
height(175)
#> $value
#> [1] 175
#>
#> $unit
#> [1] "cm"
#>
#> attr(,"class")
#> [1] "height_spec" "osp_value_spec"
create_individual(name = "Subject", height = height(175))
#>
#> ── Individual: Subject ─────────────────────────────────────────────────────────
#>
#> ── Characteristics ──
#>
#> • Height: 175 cm