Learn R Programming

seeds (version 0.9.1)

setSd: Set the standard deviation of the measurements

Description

With multiple measurements a standard deviation can be calculated for every point of measurement. The standard deviation is used to weigh the estimated data points in the cost function.

Usage

setSd(odeModel, sd)

# S4 method for odeModel setSd(odeModel, sd)

Arguments

odeModel

an object of the class odeModel

sd

a matrix with the standard deviations of the measurements

Value

an object of odeModel

Examples

Run this code
# NOT RUN {
data(uvbData)
data(uvbModel)

sd_uvb <- uvbData[,7:11]

newModel <- setSd(odeModel = uvbModel, sd = sd_uvb)

# }

Run the code above in your browser using DataLab