Description Usage Arguments Value Examples
View source: R/demonanalysis.R
Get the first incomplete moment from frequency data
1 | first_inc_moment(sizes, counts, threshold)
|
sizes |
for example, midpoints of a histogram |
counts |
counts corresponding to the sizes |
threshold |
lower bound of sizes to include |
the first incomplete moment
1 2 | df_test <- data.frame(size = 1:20, count = exp(-(1:20)))
first_inc_moment(df_test$size, df_test$count, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.