Nothing
SaveRatios = function(rawValues, outFile) {
nRaw = length(rawValues)
stopifnot(nRaw>=1)
meanVal = mean(rawValues, na.rm=TRUE)
stopifnot(meanVal!=0)
ratios = rawValues/meanVal
appendFlag = FALSE
for (ndx in 1:nRaw) {
if (is.na(ratios[ndx])) ratios[ndx] = 0
cat(c(ndx - 1, ", ", ratios[ndx], "\n"), file=outFile, append=appendFlag)
appendFlag = TRUE
}
return(ratios)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.