@@ -603,7 +603,9 @@ DescriptivesInternal <- function(jaspResults, dataset, options) {
603
603
if (columnType == " scale" || columnType == " ordinal" ) {
604
604
if (options $ minimum ) resultsCol [[" Minimum" ]] <- toMixedCol(min(na.omitted ))
605
605
if (options $ maximum ) resultsCol [[" Maximum" ]] <- toMixedCol(max(na.omitted ))
606
-
606
+ } else {
607
+ if (options $ minimum ) resultsCol [[" Minimum" ]] <- toMixedCol(" " )
608
+ if (options $ maximum ) resultsCol [[" Maximum" ]] <- toMixedCol(" " )
607
609
}
608
610
# validator for meanCi, sdCi, and varianceCi
609
611
ciOptionChecker <- function (fun , na.omitted , columnType , options , jaspResults , variableName ) {
@@ -685,9 +687,9 @@ DescriptivesInternal <- function(jaspResults, dataset, options) {
685
687
resultsCol [[" q2" ]] <- toMixedCol(q123 [2 ])
686
688
resultsCol [[" q3" ]] <- toMixedCol(q123 [3 ])
687
689
} else {
688
- resultsCol [[" q1" ]] <- " "
689
- resultsCol [[" q2" ]] <- " "
690
- resultsCol [[" q3" ]] <- " "
690
+ resultsCol [[" q1" ]] <- toMixedCol( " " )
691
+ resultsCol [[" q2" ]] <- toMixedCol( " " )
692
+ resultsCol [[" q3" ]] <- toMixedCol( " " )
691
693
}
692
694
} else {
693
695
resultsCol [[" q1" ]] <- NULL
@@ -736,14 +738,14 @@ DescriptivesInternal <- function(jaspResults, dataset, options) {
736
738
if (options $ quantilesForEqualGroups ) {
737
739
738
740
for (i in seq(equalGroupsNo - 1 ))
739
- resultsCol [[paste0(" eg" , i )]] <- " "
741
+ resultsCol [[paste0(" eg" , i )]] <- toMixedCol( " " )
740
742
741
743
}
742
744
743
745
if (options $ percentiles ) {
744
746
745
747
for (i in percentilesPercentiles )
746
- resultsCol [[paste0(" pc" , i )]] <- " "
748
+ resultsCol [[paste0(" pc" , i )]] <- toMixedCol( " " )
747
749
748
750
}
749
751
}
0 commit comments