Skip to content

showing the final model (only) #134

Answered by lindeloev
ralikwen asked this question in Q&A
Discussion options

You must be logged in to vote

Could you say more about what you mean by "the final model"? Is it the model based on the mean values in summary()? One way to approximate that would be to plot the median (dashed red line):

fit = mcp_example("demo", sample = TRUE)$fit
plot(fit, q_fit = 0.5)  # 50% quantile, i.e., the median

You can disable everything else to show just the model:

plot(fit, q_fit = 0.5, lines = 0, geom_data = FALSE, cp_dens = FALSE)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lindeloev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #133 on November 23, 2021 18:37.