Skip to content

Commit

Permalink
Update kruskal_wallis.js
Browse files Browse the repository at this point in the history
The QtScript has informed of an error:

Script Error in file:///usr/share/rkward/phpfiles/common.js, line 31: TypeError: Cannot read property 'noquote' of undefined
Backtrace:
quote@file:///usr/share/rkward/phpfiles/common.js:31
makeHeaderCode@file:///usr/share/rkward/phpfiles/common.js:91
@file:///usr/share/rkward/phpfiles/common.js:113
printout@file:///home/username/R/x86_64-pc-linux-gnu-library/4.2/rkTeaching/rkward/plugins/non_parametric_tests/kruskal_wallis.js:68
do_printout@file:///usr/share/rkward/phpfiles/common.js:178
%entry@:1
  • Loading branch information
AlfCano authored Jul 14, 2022
1 parent 0cb668e commit ecb953c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/rkward/plugins/non_parametric_tests/kruskal_wallis.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function printout() {
// Header
header = new Header(i18n("Kruskal-Wallis test for comparing the distribution of %1 according to %2", variableName, factorName));
header.add(i18n("Data frame"), dataframe);
header.add(i18n("Comparison of %1 according to %2", variableName, factorName));
header.add(i18n("Comparison of"), i18n("%1 according to %2", variableName, factorName));
header.add(i18n("Null hypothesis"), i18n("There is no significant difference between the populations"));
header.add(i18n("Alternative hypothesis"), i18n("There are significant difference between at least two populations"));
if (grouped) {
Expand Down Expand Up @@ -104,4 +104,4 @@ function printout() {
echo('))\n');
}
}
}
}

1 comment on commit ecb953c

@AlfCano
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solved, no more 'noquote' of undefined Backtrace:...

Please sign in to comment.