ggPMXdevelopment / ggPMX

ggPMX R package
37 stars 11 forks source link

Review Irina: Spline in plots with BLOQ data #68

Open biethbr1 opened 4 years ago

biethbr1 commented 4 years ago

Suggest to have an option to exclude the BLQ points from the spline while still showing them.

In ggplot2, it can be done by specifying a subsetted dataset for the smoother, e.g.

ggplot(db, aes(time, npde)) +
   geom_point() +
   geom_smooth(data = db[db$cens==0,])

The option naming could be: smooth_with_bloq = T/F.

(Old Ticket #240)

baltcir1 commented 1 year ago

I didn't find this option, but now I start doubting I have the right version to test on... if my version is correct (1.2.9), it's not fixed.