Inserts <key, value> pairs to a heap. The keys are determine the ordering of the heap, while the value is the actual value to store.
1 2 | ## S4 replacement method for signature 'heap,vector,missing,list'
x[i] <- value
|
x |
a heap object, such as a |
i |
a vector of keys |
value |
a vector of values for the keys |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.