View source: R/electrophoresis.R
differential.scale | R Documentation |
Given an x-variable and a y-variable, this function scales the y-values from the observed data points by the differentials of the x-values. The resulting values of y/dx can then be used to make visually accurate graphs.
differential.scale(electrophoresis, x, y)
electrophoresis |
An |
x |
The name of the x-variable in |
y |
The name of the y-variable in |
A vector of the y-values, one for each row of electrophoresis$data
, divided by the differentials of the corresponding x-values.
normalize.proportion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.