Description Usage Arguments Details Source References See Also Examples
To superimpose multiple logistic models fitted using nplr
.
1 |
modelList |
: list. A list of objects of class |
showLegend |
: logical. Whether the legend has to be displayed. |
Cols |
: character. A vector of colors to use. If |
... |
: Other graphical parameters. See |
None
None
None
1 2 3 4 5 6 7 8 9 10 11 12 | path <- system.file("extdata", "multicell.tsv", package="nplr")
multicell <- read.delim(path)
# Computing models (to store in a list)
cellsList <- split(multicell, multicell$cell)
Models <- lapply(cellsList, function(tmp){
nplr(tmp$conc, tmp$resp, silent = TRUE)
})
# Visualizing
overlay(Models, xlab = expression(Log[10](Conc.)), ylab = "Resp.",
main="Superimposing multiple curves", cex.main=1.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.