Description Usage Arguments Examples
imputate data
1 |
data |
A data frame |
numer |
numerator of ratio, a vector |
denom |
denominator of ratio, a vector |
newName |
new name for ratio, a vector |
1 2 3 | dat <- data.frame(a = c(1:10),b=c(2:11),c=c(11:20),d=c(1:10))
rat <- data.frame(numer=c("a","b"),denom=c("c","d"))
ratio(dat,rat$numer,rat$denom)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.