diff options
| author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-12-19 13:51:09 +0100 | 
|---|---|---|
| committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-12-19 13:51:09 +0100 | 
| commit | f56f8e507ce1c5c29a824cb3d66074a7f409c7e9 (patch) | |
| tree | a1e65639aa23d556efb2bb842f9d137c1782173c | |
| parent | e5aea600fd957955fc3e8e41dbc93bf4f65af803 (diff) | |
Plot mixed models with more than 25 datasets
Closes #15
| -rw-r--r-- | DESCRIPTION | 2 | ||||
| -rw-r--r-- | NEWS.md | 2 | ||||
| -rw-r--r-- | R/plot.mixed.mmkin.R | 2 | 
3 files changed, 4 insertions, 2 deletions
| diff --git a/DESCRIPTION b/DESCRIPTION index 2af8a0ed..91c749c4 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: mkin  Type: Package  Title: Kinetic Evaluation of Chemical Degradation Data  Version: 1.2.9 -Date: 2024-09-06 +Date: 2024-12-19  Authors@R: c(    person("Johannes", "Ranke", role = c("aut", "cre", "cph"),      email = "johannes.ranke@jrwb.de", @@ -1,5 +1,7 @@  # mkin 1.2.9 +- 'R/plot.mixed.R': Support more than 25 datasets +  - 'R/mkinfit.R': Support passing the observed data as a 'tibble'  - 'R/parplot.R': Support multistart objects with covariate models and filter negative values of scaled parameters (with a warning) for plotting. diff --git a/R/plot.mixed.mmkin.R b/R/plot.mixed.mmkin.R index d6c3d0de..cf8d1562 100644 --- a/R/plot.mixed.mmkin.R +++ b/R/plot.mixed.mmkin.R @@ -93,7 +93,7 @@ plot.mixed.mmkin <- function(x,    nrow.legend = ceiling((length(i) + 1) / ncol.legend),    rel.height.legend = 0.02 + 0.07 * nrow.legend,    rel.height.bottom = 1.1, -  pch_ds = 1:length(i), +  pch_ds = c(1:25, 32:127)[1:length(i)],    col_ds = pch_ds + 1,    lty_ds = col_ds,    frame = TRUE, ... | 
