Tests if an object has censored data.
Test if a data frame is censored.
Test if a fitdists object is censored.
Usage
ssd_is_censored(x, ...)
# S3 method for class 'data.frame'
ssd_is_censored(x, left = "Conc", right = left, ...)
# S3 method for class 'fitdists'
ssd_is_censored(x, ...)
Examples
ssd_is_censored(ssddata::ccme_boron)
#> [1] FALSE
ssd_is_censored(data.frame(Conc = 1, right = 2), right = "right")
#> [1] TRUE
fits <- ssd_fit_dists(ssddata::ccme_boron)
ssd_is_censored(fits)
#> [1] FALSE