Closed Ranlod closed 5 years ago
I will look into that... In the meantime, is using with()
a viable option for you?
Could you pls try again with the dev-current version and let me know if everything is okay? (Data frame name & label if present, variable names accurate in the headings section)
To install:
devtools::install_github("dcomtois/summarytools", ref = "dev-current")
Thx
When i used the command
devtools::install_github("dcomtois/summarytools", ref = "dev-current")
The code tobacco %$% ctable(smoker, diseased)
was successfully executed. Thanks!
When I use the
ctable
function with the pipe operator%$%
from the packagemagrittr
an error occurs: Error: $ operator is invalid for atomic vectorsTraceback
_function_list
)_fseq
(_lhs
)_fseq
(_lhs
)), env, env)_fseq
(_lhs
)), env, env)_fseq
(_lhs
)), env, env))Error appears in na.omit function in line 194, ctable.R file.
Many thanks.