plot_dat | R Documentation |
Plot data with measurement uncertainty (in y and x variables)
plot_dat(dat, BP_scale = FALSE, add_truth = FALSE)
dat |
Input data with columns x,x_err,y,y_err |
BP_scale |
Present the data as Before Present (BP). Defaults to FALSE. |
add_truth |
Logical argument to add the "True" data generating process to the plot. This should only be set to True when using simulated data from sim_slr, sim_cp or sim_gp. |
Plot of data with measurement errors
dat <- sim_slr(n_sim = 30) plot_dat(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.