View source: R/frequency_from_rle.R
frequency_from_rle | R Documentation |
RLE object to frequency count
frequency_from_rle(x)
x |
rle object |
# example code
x <- c(1,1,0,1,0,0,1,0,0,0)
x.rle <- rle(x)
frequency_from_rle(x.rle)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.