This function evaluates root mean squared error of a model

objective(theta, model, temp, obs)

Arguments

theta

values for each of the parameters

model

mathematical function to be used to model data

temp

temperature values

obs

DTG mass values

Value

root mean square error of model output