Scope for Ratio Estimates
Description
Section titled “Description”Captures a numerator and denominator expression to specify a ratio estimation intent.
ratio(num, den, den_partitions = NULL)Arguments
Section titled “Arguments”num: A scope for the numerator, e.g.,tree(VOLCFNET)den: A scope for the denominator, e.g.,cond()den_partitions: Optional denominator-only domain overrides expressed as scopes, either as a single scope (for examplecond(FORTYPCD)) or a list of scopes (for examplelist(cond(FORTYPCD), tree(SPCD))).
An object of class fiaplyr_ratio_intent.
Examples
Section titled “Examples” handler |> estimate(ratio(tree(VOLCFNET), cond())) handler |> estimate(ratio(tree(VOLCFNET), cond(), den_partitions = list(cond(FORTYPCD))))