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