R/PROBA_INTERVAL.R

PROBA_INTERVAL <-
function(Z0,threshold){
F1<- kde(type_kernel="e", vec_data=Z0[1,],
		y=threshold)$Estimated_values
F2<- kde(type_kernel="e", vec_data=Z0[2,],
		y=threshold)$Estimated_values
return(list(Plow=min(F1,F2),Pupp=max(F1,F2)))
}

Try the HYRISK package in your browser

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

HYRISK documentation built on May 2, 2019, 12:54 p.m.