unkount | R Documentation |
Similar to uncount
but using base R only
unkount(x, weight)
x |
a data frame |
weight |
column in x with number of replicates, no need to "quote" |
x <- data.frame(a = c(1, 2), b = c(3, 4))
unkount(x, b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.