[R] gamlss for censored and truncated distributions
Simon Frost
sdf22 at cam.ac.uk
Tue Jan 18 14:58:08 CET 2011
Dear R Help,
I'd like to be able to use gamlss to generate distributions that are
both truncated and have censoring. It doesn't look as though it is
possible to do this at the moment:
> gen.trun(par=c(0),family="NO",name="tr",type="left")
A truncated family of distributions from NO has been generated
and saved under the names:
dNOtr pNOtr qNOtr rNOtr NOtr
The type of truncation is left and the truncation parameter is 0
> gen.cens(family="NOtr",type="left")
Error in eval(expr, envir, enclos) : could not find function "NOtr"
Is there a simple fix for this?
Best wishes
Simon
More information about the R-help
mailing list