Open MainaJohnO opened 5 years ago
From discussion I thought it was determined that the checkbox on the subdialog was for the name of the Total column and not to include or exclude it. So I suggest next steps:
[ ] Possibly rename the checkbox on the sub dialog to make it clearer that this is the name for the total column
[ ] Check in the R function being used whether there is an option to include/exclude the total column and include it on the subdialog if so
From the Two Way Frequencies Dialog under the Climatic Menu. See attached filled dialog two way frequencies dialog
@MainaJohnO just a small correction. This should be the Describe menu and not the Climatic.
Unable to find a way to include the total column. @maxwellfundi I need guidance with this
@Ivanluv did you look at the documentation for the R function sjPlot::sjtab
?
This option may not exist at all, and then all we can do is raise it as an issue to the author of the function.
As well as that my first point should be done:
- Possibly rename the checkbox on the sub dialog to make it clearer that this is the name for the total column
@dannyparsons I did look at the Documentation but found no option .Alternatively whats the suitable name to rename the checkbox
I couldn't either, it probably doesn't exist.
@Ivanluv this looks like a small issue did you rename the checkbox? If yes we can mark the first point as done.
@shadrackkibet I didn't rename the checkbox. Could you suggest an appropriate name
Using the inbuilt R data set namely CO2 from the package datasets.
From the Two Way Frequencies Dialog under the Climatic Menu. See attached filled dialog two way frequencies dialog
Using the options button, it takes me to the subdialog, under the table options we have the Total Column check box. whether the check box is checked or not the code from the script window is the same which shouldn't be the case. see the attached code.
**# Code generated by the dialog, Two Way Frequencies (Total Column check box checked) CO2 <- data_book$get_data_frame(drop_unused_filter_levels=TRUE, data_name="CO2") sjPlot::sjtab(data=CO2, Treatment, Plant, show.col.prc=TRUE, show.summary=FALSE, digits=0, fun="xtab", title="", show.obs=FALSE) rm(CO2)
Code generated by the dialog, Two Way Frequencies (Total Column check box unchecked) CO2 <- data_book$get_data_frame(drop_unused_filter_levels=TRUE, data_name="CO2") sjPlot::sjtab(data=CO2, Treatment, Plant, show.col.prc=TRUE, show.summary=FALSE, digits=0, fun="xtab", title="", show.obs=FALSE) rm(CO2)** The results from the two options of checking or unchecking the Total Column check box are the same, in that with the Total Column check box uncheked or not i still get the Total Column in the table results see the attached results