tcplLvlCount | R Documentation |
tcplLvlCount
queries the tcpl databases and returns a data frame with
count totals for the given levels and data type.
tcplLvlCount(lvls = NULL, type = "mc")
lvls |
Integer or list of Integers, The levels of data to load |
type |
Character of length 1, the data type, "sc" or "mc" |
The data type can be either 'mc' for mutliple concentration data, or 'sc' for single concentration data.
Leaving lvls
NULL will return all data.
A data.table containing data for the given fields.
tcplQuery
, data.table
## Store the current config settings, so they can be reloaded at the end
## of the examples
conf_store <- tcplConfList()
TCPLlite <- file.path(system.file(package = "tcpl"), "example")
tcplConf(db = TCPLlite, user = NA, host = NA, drvr = "tcplLite")
## Get all counts for level 1 for multiple-concentration
tcplLvlCount(lvls = 1)
## Not run:
## Get all counts for levels 4 through 7 for multiple-concentration
tcplLvlCount(lvls = 4:7)
## Get all counts for multiple-concentration data, note 'mc' is the
## default value for type
tcplLvlCount()
## End(Not run)
## Reset configuration
options(conf_store)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.