powered by
Dresiduals
It returns the matrix of derivatives of the residuals with respect to the coefficients.
signature(object = "linearModel")
signature(object = "nonlinearModel")
signature(object = "rsnonlinearModel")
signature(object = "sysMomentModel")
data(simData) theta <- c(beta0=1,beta1=2) model1 <- momentModel(y~x1, ~z1+z2, data=simData) Dresiduals(model1, theta)[1:3,]
Run the code above in your browser using DataLab