IDEMSInternational / R-Instat

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

Improvements in the calculator logical and symbols keyboard #8918

Closed rdstern closed 1 month ago

rdstern commented 3 months ago

@Fidel365 these should also be easy, for you now. And now ready!

a) Replace the [[ ]] key by ~ The tooltip is This is called tilde and links the left side and right side of a formula. b) The tooltip for the when key is odd, because the ~ doesn't show. The example should be case_when(1:5 > 3 ~ 20, 1:5>1~10) gives (NA,10,10,20,20) But without the ~ symbol showing it becomes meaningless. If it is not easy to get the ~, then just omit the example. c) There are some keys misssing on the calculator as a whole. So add a new bottom row with seq, rep, numeric, c( ). Copy the code and the tooltips for seq, rep and c( ) from the Prepare > Column: Numeric > Enter dialog. d) The numeric key should give the as.numeric command. The tooltip can be Define a variable as numeric. For example as numeric(c(TRUE,TRUE,FALSE,TRUE)) gives (1, 1,0, 1)