R/vcov.mlds.R

Defines functions `vcov.mlbs` `vcov.mlds`

`vcov.mlds`<- function(object, ...) {
	if (object$method == "glm"){
		return(vcov(object$obj))
		} else {
		warning("Fitted values were constrained which may distort standard error estimates!")
		return(solve(object$hess))	
		}
	}
	
`vcov.mlbs`<- function(object, ...) 
		return(vcov(object$obj))

Try the MLDS package in your browser

Any scripts or data that you put into this service are public.

MLDS documentation built on Aug. 20, 2023, 9:06 a.m.