A density is expressed with respect to two independent choices: the size
variable, which follows size_axis, and whether it is per size or per
logarithmic size, which follows per_log_size. Plotting against a length
axis therefore turns a density with respect to weight into one with respect
to length, and a density with respect to logarithmic weight into one with
respect to logarithmic length.
density_target_measure(density_wrt, size_axis, per_log_size = NULL)The density measure to express the values in, or NA_character_ if
the values are not a density.
The measure the values are a density with respect to, see density_measures.
Either "w" (weight) or "l" (length).
Whether to express the values per logarithmic size.
NULL (the default) keeps whichever the values already are.