Nothing
##############################################################
##
## Another test for function "bucketize"
##
##############################################################
library(backtest)
load("bucketize.test2.RData")
## save(tmp.2, tmp.2.x, tmp.2.y, truth.2, file = "bucketize.test2.RData")
## Find result from a bucketize test
result.2 <- backtest:::bucketize(tmp.2, tmp.2.x, tmp.2.y, compute = mean)
## Did the test case work?
stopifnot(
isTRUE(all.equal(result.2, truth.2))
)
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.