From 3b3bd0d9da4f27d2ae7cd42432522c2f0d928a46 Mon Sep 17 00:00:00 2001 From: lenarddome Date: Mon, 15 Aug 2022 18:07:33 +0100 Subject: [PATCH] :children_crossing: output max iteration --- src/pspGlobal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pspGlobal.cpp b/src/pspGlobal.cpp index 9ea01a6..e44b886 100644 --- a/src/pspGlobal.cpp +++ b/src/pspGlobal.cpp @@ -293,7 +293,8 @@ List pspGlobal(Function model, List control, bool save = false, // compile output including ordinal patterns and their frequencies out = Rcpp::List::create( Rcpp::Named("ordinal_patterns") = storage, - Rcpp::Named("ordinal_counts") = counts); + Rcpp::Named("ordinal_counts") = counts, + Rcpp::Named("iterations") = iteration); return(out); } \ No newline at end of file