ropensci / GLMMcosinor

An R package for flexible cosinor modelling using the glmmTMB framework
https://docs.ropensci.org/GLMMcosinor/
GNU General Public License v3.0
1 stars 0 forks source link

[Plot legend fix] Make labels more concise and consistent #8

Closed oliverjayasinghe closed 9 months ago

oliverjayasinghe commented 9 months ago

Plots generated from autoplot() and polar_plot() have inconsistent labelling approaches. This will be addressed and the labels themselves will be more concise where possible.

RWParsons commented 9 months ago

while we are editing the labelling of the plots, could you also please prevent the "component [n]" titles displaying when the model has only one component?

data(vitamind)
object <- cglmm(
    vit_d ~ amp_acro(time,
                     group = "X",
                     period = 12
    ),
    data = vitamind
)
polar_plot(object)

image

RWParsons commented 9 months ago

Closed with https://github.com/ropensci/GLMMcosinor/pull/11#issue-2131318269