powered by
idf creates an object of class idf. An idf object stores a distribution function defined on a set of intervals.
idf
idf(left, right, p) # S3 method for idf print(x, ...)
left and right endpoints of intervals on which the distribution function is defined.
probabilities allocated to the intervals. Probability values will be normalized inside the function.
an object of class idf.
other arguments for printing.
probabilities allocated to the intervals.
When left and right endpoints are equal, the intervals are in fact points.
print.idf prints an object of class idf as a three-coumn matrix.
print.idf
icendata, Deltamatrix, npsurv.
icendata
Deltamatrix
npsurv
# NOT RUN { idf(1:5, 1:5*3-2, c(1,1,2,2,4)) npsurv(cbind(1:5, 1:5*3-2))$f # NPMLE # }
Run the code above in your browser using DataLab