toxbootGetMySQLFields: Function to query toxboot results from MySQL

Description Usage Arguments Details Examples

View source: R/toxbootMySQLFuncs.R

Description

toxbootGetMySQLFields queries the toxboot MySQL table and returns a data.table with the requested results

Usage

1
toxbootGetMySQLFields(fields = "*", table = "toxboot", ...)

Arguments

fields

a vector specifying which columns to return. Default to '*' which will return all columns

table

the name of the table to query. By default 'toxboot'.

...

parameters to query on. Format is query_field = query_values.

Details

Use the fields parameters to specify which columns to return. The parameter 'table' defaults to 'toxboot' which is the default table for writing and reading results. All other parameters will be passed as values to select on.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
toxbootmc(dat = erl3data,
          m4ids = unique(erl3data[, m4id])[1:50],
          boot_method = "smooth",
          destination = "mysql",
          replicates = 10,
          cores = 8)
toxbootGetMySQLFields()
toxbootGetMySQLFields(m4id = 1288500)
toxbootGetMySQLFields(m4id = 1288500, fields = c("boot_method", "hill_ga"))
toxbootGetMySQLFields(m4id = 1288500, replicates = 10, fields = c("boot_method", "hill_ga"))

## End(Not run)

toxboot documentation built on May 29, 2017, 10:53 p.m.

Search within the toxboot package
Search all R packages, documentation and source code