| fillZeros | R Documentation | 
Fill missing position with zeros
fillZeros(pos, data, fillValue = 0)
| pos | a vector integer position where any missing integers will be filled in | 
| data | a data.frame of data with missing rows to be filled with zeros | 
| fillValue | value to fill in missing data with | 
a 2 element list with a vector of positions and a data.frame of filled data
fillZeros(c(1:3,6:7,9),data.frame('count'=1:6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.