-
How can I now show the final model with a different colored line? |
Beta Was this translation helpful? Give feedback.
Answered by
lindeloev
Nov 23, 2021
Replies: 2 comments
-
Could you say more about what you mean by "the final model"? Is it the model based on the mean values in 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) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lindeloev
-
This was exactly what I was looking for.
Thanks.
…On Tue, Nov 23, 2021 at 9:19 AM Jonas Kristoffer Lindeløv < ***@***.***> wrote:
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
[image: image]
<https://user-images.githubusercontent.com/1439417/142990008-9c90df2a-f436-41ba-9de7-355f5bd4bff2.png>
You can disable everything else to show just the model:
plot(fit, q_fit = 0.5, lines = 0, geom_data = FALSE)
plot(fit, q_fit = 0.5, lines = 0, geom_data = FALSE, cp_dens = FALSE)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#133 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB27ZEGGXPMG4OCN7TLXD43UNNFBRANCNFSM5IRUSUFQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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):You can disable everything else to show just the model: