pitakakariki / simr

Power Analysis of Generalised Linear Mixed Models by Simulation
70 stars 19 forks source link

Improve Graphics #119

Open pitakakariki opened 6 years ago

pitakakariki commented 6 years ago

The powercurve graph needs more flexibility. Ideally let ... override anything like main, colours, etc.

Plot for powersim? Maybe a histogram of p-values.

TonyBicknell commented 6 years ago

Hi, I take it from your comment that there is not much flexibility in the powercurve graph at present? I've been trying to alter some of the plot settings (e.g. remove axis values and label) to create a nice multi plot output for different effect sizes but wasn't having much luck. I was also hoping to add multiple powercurves to the same graph to compare potential power variability between different years data, but assume this is not possible? Best Tony

pitakakariki commented 6 years ago

There's not much flexibility in powerCurve, but all the information it plots comes from summary(pc) so the current recommendation is to use summary to get the data and then plot it however you like from there.

TonyBicknell commented 6 years ago

Thanks Peter. Should be able create what I'm after using the summary data.