FelicienLL / mapbayr

Easy Maximum A Posteriori Bayesian Estimation of PK parameters in R.
21 stars 2 forks source link

Uncertainty in the plot #219

Closed jbwoillard closed 1 month ago

jbwoillard commented 7 months ago

Hi Félicien, would it be possible to extract the information used to make the graph in order to use ggplot2, especially for adding uncertainty related to analytical error in the observations. It would also made possible the use of patchwork for graph combination. Many thanks in advance jb

FelicienLL commented 1 month ago

hello JB sorry for the super late reply here. If still of interest, plot() calls augment() to make predictions. augment() adds an $aug_tab (ie basically the table of predictions) to your mapbayest object. That you can extract.

Félicien

jbwoillard commented 1 month ago

Thats perfect many thanks Felicien