inst/examples/ex_dist_counts.R

d <- Dist(5)
counts(d) # 0

d <- Dist(c(1, 0, 3, 2))
counts(d) # 6

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.