From d9a8d5d888cb443d16faff87ae4203fb39625e86 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 24 Oct 2015 12:49:22 +0200 Subject: Sort sampling times in mkinds --- R/mkinds.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') 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 -- cgit v1.2.1