Nothing
test_that("customParams works", {
# Standard parameters for random forest
methParam <- customParams() # or
### An error will be generated when there is a mismatch between method and rfMethod
expect_error(methParam <- customParams(method='PLS',
rfMethod = "ranger"))
### An error will be generated when the method is not specified correctly as RF
expect_error(methParam <- customParams(method='ranger',
rfMethod = "ranger"))
### An error will be generated when the method and rfMethod are misplaced
expect_error(methParam <- customParams(method='randomForest',
rfMethod = "RF"))
})
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.