update_cobradata | R Documentation |
COBRAData
object to the current version of the class
formatUpdate a COBRAData
object generated by a previous version of the
package to the latest version.
update_cobradata(object, quiet = FALSE)
object |
A |
quiet |
Set to TRUE to disable messages listing the modifications that are applied to the object |
An updated COBRAData
object
Charlotte Soneson
## Generate COBRAData object
set.seed(123)
pval <- data.frame(m1 = runif(100), m2 = runif(100),
row.names = paste0("F", 1:100))
truth <- data.frame(status = round(runif(100)),
row.names = paste0("F", 1:100))
cobradata <- COBRAData(pval = pval, truth = truth)
## Update object if needed
cobradata <- update_cobradata(cobradata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.