| rehash | R Documentation |
Set a container's minimum bucket count and rehash by reference.
rehash(x, n = 0)
x |
A CppUnorderedSet, CppUnorderedMultiset, CppUnorderedMap, or CppUnorderedMultimap object. |
n |
The minimum number of buckets. A value of |
Invisibly returns NULL.
bucket_count, load_factor, max_bucket_count, max_load_factor, reserve.
s <- cpp_unordered_set(4:6)
rehash(s)
rehash(s, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.