Description Usage Arguments Value Examples
View source: R/demonanalysis.R
Plot first incomplete moment from frequency data
1 | plot_first_inc_moment(sizes, counts, max_size = 1, condense = NA, ...)
|
sizes |
for example, midpoints of a histogram |
counts |
counts corresponding to the sizes |
max_size |
maximum size (default 1) |
condense |
either "discrete" or "continuous" |
... |
other parameters passed to plot |
plot displyed on screen
1 2 | df_test <- data.frame(size = 1:20, count = exp(-(1:20)))
plot_first_inc_moment(df_test$size, df_test$count, max_size = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.