# NOT RUN {
# Create a sample data frame
heap <- data.frame(keys=c(0), vals=c(7))
# Build the heap from the data frame.
heap <- build_heap(heap)
# Insert a new node in the heap.
heap <- insert_node(heap, c(1,2))
# }
Run the code above in your browser using DataLab