IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 103 forks source link

Removing a datatype #8397

Open Fidel365 opened 1 year ago

Fidel365 commented 1 year ago

If we declare a datatype, we do not have a way of removing it. For example in describe<one variable frequencies, we need to set the variables for the stem and leaf to be numeric and not for the Table and Graph, If we declare the datatype and we do not remove it, the changes will also apply to Table and Graph. So we need to find a way of removing the datatype once it's set.

rdstern commented 1 year ago

@Fidel365 could you look at the code for the Describe > 2-variables > Summarise? There are currently 2 options, namely skim and 2-variables. a) In the multiple receiver for skim you can currently have any data type. b) In the multiple receiver for 2-variables, they can only be of a single type. When you fill the receiver in skim and then move to the 2-variable the multiple receiver is empty. If you then return to skim, the receiver has been cleared. This should allow the correct procedure where you empty the receiver on entry to the stem and leaf - and on returning from it. Ideally you keep the contents when moving from table to graph. It is just the stem and leaf that clears it.

N-thony commented 2 weeks ago

@Fidel365 could you look at the code for the Describe > 2-variables > Summarise? There are currently 2 options, namely skim and 2-variables. a) In the multiple receiver for skim you can currently have any data type. b) In the multiple receiver for 2-variables, they can only be of a single type. When you fill the receiver in skim and then move to the 2-variable the multiple receiver is empty. If you then return to skim, the receiver has been cleared. This should allow the correct procedure where you empty the receiver on entry to the stem and leaf - and on returning from it. Ideally you keep the contents when moving from table to graph. It is just the stem and leaf that clears it.

@Fidel365 any progress here?