inst/examples/ex_dist_set_item.R

d <- Dist(5)
d <- set_item(d, 1, 5)
d <- set_item(d, 3, 2)
d <- set_item(d, 5, 8)
d

Try the rinform package in your browser

Any scripts or data that you put into this service are public.

rinform documentation built on April 1, 2018, 12:12 p.m.