View source: R/dose_response.R
dose_response | R Documentation |
Converts a fitData object to a fitted fitData object (adds model, reported parameters...etc.)
dose_response(fitSettings, fitData)
fitData |
a fitData object to fit/refit |
fitSettingsJSON |
a fit settings json object (see examples) |
A fitted fitData object
#Fit all the curveids in the database:
#get fitData
data("example-ec50-fitData")
#fitSettingsJSON
file <- system.file("conf", "default-ec50-fitSettings.json", package = "racas")
fitSettingsJSON <- readChar(file, file.info(file)$size)
fitSettings <- fromJSON(fitSettingsJSON)
#fit the data
fitData <- dose_response(fitSettings, fitData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.