aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-10-24 12:49:22 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-10-24 12:49:22 +0200
commitd9a8d5d888cb443d16faff87ae4203fb39625e86 (patch)
tree0186324cb8f742cffc78da0aa7fca6e516462d07
parentba2141c7721bfdd6453fe5df653612c269828cc0 (diff)
Sort sampling times in mkinds
-rw-r--r--R/mkinds.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mkinds.R b/R/mkinds.R
index b86751fb..cb3c712a 100644
--- a/R/mkinds.R
+++ b/R/mkinds.R
@@ -44,7 +44,7 @@ mkinds <- R6Class("mkinds",
initialize = function(title = "", data, time_unit = NA, unit = NA) {
self$title = title
- self$sampling_times = unique(data$time)
+ self$sampling_times = sort(unique(data$time))
self$time_unit = time_unit
self$observed = unique(data$name)
self$unit = unit

Contact - Imprint