You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/jjbarstats.b.R
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ jjbarstatsClass <- if (requireNamespace('jmvcore')) R6::R6Class(
24
24
<br><br>
25
25
This tool will help you generate Bar Charts.
26
26
<br><br>
27
-
This function uses ggplot2 and ggstatsplot packages. See documentations <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/ggbarstats.html' target='_blank'>here</a> and <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/grouped_ggbarstats.html' target='_blank'>here</a>.
27
+
This function uses ggplot2 and ggstatsplot packages. See documentations <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/ggbarstats.html' target='_blank'>ggbarstats</a> and <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/grouped_ggbarstats.html' target='_blank'>grouped_ggbarstats</a>.
28
28
<br>
29
29
Please cite jamovi and the packages as given below.
Copy file name to clipboardExpand all lines: R/jjcorrmat.b.R
+86-92Lines changed: 86 additions & 92 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#' @title jjcorrmat
1
+
#' @title Correlation Matrix
2
2
#'
3
3
#'
4
4
#' @importFrom R6 R6Class
@@ -14,16 +14,16 @@ jjcorrmatClass <- if (requireNamespace('jmvcore')) R6::R6Class(
14
14
.run=function() {
15
15
16
16
# Initial Message ----
17
-
if ( is.null(self$options$dep) ) {
17
+
if ( length(self$options$dep)<=1 ) {
18
18
19
19
# TODO ----
20
20
21
21
todo<-glue::glue(
22
-
"<br>Welcome to ClinicoPath
22
+
"<br>Welcome to ClinicoPath
23
23
<br><br>
24
24
This tool will help you generate Bar Charts.
25
25
<br><br>
26
-
This function uses ggplot2 and ggstatsplot packages. See documentations <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/ggbarstats.html' target='_blank'>here</a> and <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/grouped_ggbarstats.html' target='_blank'>here</a>.
26
+
This function uses ggplot2 and ggstatsplot packages. See documentations <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/ggcorrmat.html' target='_blank'>ggcorrmat</a> and <a href = 'https://indrajeetpatil.github.io/ggstatsplot/reference/grouped_ggcorrmat.html' target='_blank'>grouped_ggcorrmat</a>.
27
27
<br>
28
28
Please cite jamovi and the packages as given below.
29
29
<br><hr>"
@@ -54,7 +54,7 @@ jjcorrmatClass <- if (requireNamespace('jmvcore')) R6::R6Class(
54
54
# the plot function ----
55
55
# Error messages ----
56
56
57
-
if ( is.null(self$options$dep) )
57
+
if ( length(self$options$dep)<=1 )
58
58
return()
59
59
60
60
if (nrow(self$data) ==0)
@@ -74,6 +74,7 @@ jjcorrmatClass <- if (requireNamespace('jmvcore')) R6::R6Class(
0 commit comments