| load_factor | R Documentation |
Get the mean number of elements per bucket.
load_factor(x)
x |
A CppUnorderedSet, CppUnorderedMultiset, CppUnorderedMap, or CppUnorderedMultimap object. |
Returns a numeric.
bucket_count, max_bucket_count, max_load_factor.
s <- cpp_unordered_set(6:9)
load_factor(s)
# [1] 0.3076923
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.