@@ -8,8 +8,7 @@ alluvialOptions <- if (requireNamespace('jmvcore')) R6::R6Class(
88 initialize = function (
99 vars = NULL ,
1010 excl = TRUE ,
11- marg = FALSE ,
12- inter = FALSE , ... ) {
11+ marg = FALSE , ... ) {
1312
1413 super $ initialize(
1514 package = ' ClinicoPath' ,
@@ -28,26 +27,19 @@ alluvialOptions <- if (requireNamespace('jmvcore')) R6::R6Class(
2827 " marg" ,
2928 marg ,
3029 default = FALSE )
31- private $ ..inter <- jmvcore :: OptionBool $ new(
32- " inter" ,
33- inter ,
34- default = FALSE )
3530
3631 self $ .addOption(private $ ..vars )
3732 self $ .addOption(private $ ..excl )
3833 self $ .addOption(private $ ..marg )
39- self $ .addOption(private $ ..inter )
4034 }),
4135 active = list (
4236 vars = function () private $ ..vars $ value ,
4337 excl = function () private $ ..excl $ value ,
44- marg = function () private $ ..marg $ value ,
45- inter = function () private $ ..inter $ value ),
38+ marg = function () private $ ..marg $ value ),
4639 private = list (
4740 ..vars = NA ,
4841 ..excl = NA ,
49- ..marg = NA ,
50- ..inter = NA )
42+ ..marg = NA )
5143)
5244
5345alluvialResults <- if (requireNamespace(' jmvcore' )) R6 :: R6Class(
@@ -63,8 +55,7 @@ alluvialResults <- if (requireNamespace('jmvcore')) R6::R6Class(
6355 name = " " ,
6456 title = " Alluvial Diagrams" ,
6557 refs = list (
66- " easyalluvial" ,
67- " parcats" ))
58+ " easyalluvial" ))
6859 self $ add(jmvcore :: Html $ new(
6960 options = options ,
7061 name = " todo" ,
@@ -116,7 +107,6 @@ alluvialBase <- if (requireNamespace('jmvcore')) R6::R6Class(
116107# ' the values used for the Alluvial Diagram.
117108# ' @param excl .
118109# ' @param marg .
119- # ' @param inter .
120110# ' @return A results object containing:
121111# ' \tabular{llllll}{
122112# ' \code{results$todo} \tab \tab \tab \tab \tab a html \cr
@@ -128,8 +118,7 @@ alluvial <- function(
128118 data ,
129119 vars ,
130120 excl = TRUE ,
131- marg = FALSE ,
132- inter = FALSE ) {
121+ marg = FALSE ) {
133122
134123 if ( ! requireNamespace(' jmvcore' ))
135124 stop(' alluvial requires jmvcore to be installed (restart may be required)' )
@@ -144,8 +133,7 @@ alluvial <- function(
144133 options <- alluvialOptions $ new(
145134 vars = vars ,
146135 excl = excl ,
147- marg = marg ,
148- inter = inter )
136+ marg = marg )
149137
150138 analysis <- alluvialClass $ new(
151139 options = options ,
0 commit comments