From 49fb804b73ac8dec980df89d13cebde03ae30219 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 12:35:02 +0300 Subject: [PATCH 01/26] Adding tooltips for Logical and Symbols keyboard --- instat/ucrCalculator.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 2b90ccc2d64..002b6973b39 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -66,6 +66,8 @@ Public Class ucrCalculator bControlsInitialised = True ttCalculator.SetToolTip(cmdRound, "round(x) to round to whole numbers, round(x,2) to round to 2 decimal places, round(x,-2) to round to the nearest 100") ttCalculator.SetToolTip(cmdSiginf, "signif(x,3) to round to 3 significant figures") + ttCalculator.SetToolTip(cmdPower, "power(^)or exponent and can also be given as **. For example 2^3 = 8") + End Sub Public Sub Reset() From 48ae3615f0c28e0e4fecf6f9bee2484b03e58387 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 12:38:08 +0300 Subject: [PATCH 02/26] adding tooltips --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 002b6973b39..f6a80f0ec6e 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -67,7 +67,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdRound, "round(x) to round to whole numbers, round(x,2) to round to 2 decimal places, round(x,-2) to round to the nearest 100") ttCalculator.SetToolTip(cmdSiginf, "signif(x,3) to round to 3 significant figures") ttCalculator.SetToolTip(cmdPower, "power(^)or exponent and can also be given as **. For example 2^3 = 8") - + ttCalculator.SetToolTip(cmdLesser, "less than(<) For example (2 < 3) is TRUE. (2 < 2) is FALSE, (2 < 1) is FALSE") End Sub Public Sub Reset() From c83d83d6ffb4bf46d1891098fe4293a68941e97b Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 12:41:48 +0300 Subject: [PATCH 03/26] adding tooltips --- instat/ucrCalculator.vb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index f6a80f0ec6e..6c89e01634b 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -67,7 +67,8 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdRound, "round(x) to round to whole numbers, round(x,2) to round to 2 decimal places, round(x,-2) to round to the nearest 100") ttCalculator.SetToolTip(cmdSiginf, "signif(x,3) to round to 3 significant figures") ttCalculator.SetToolTip(cmdPower, "power(^)or exponent and can also be given as **. For example 2^3 = 8") - ttCalculator.SetToolTip(cmdLesser, "less than(<) For example (2 < 3) is TRUE. (2 < 2) is FALSE, (2 < 1) is FALSE") + ttCalculator.SetToolTip(cmdLesser, "less than(<). For example (2 < 3) is TRUE. (2 < 2) is FALSE, (2 < 1) is FALSE") + ttCalculator.SetToolTip(cmdLesserOrEqualsTo, "less than or equals(<=). For example (2 <= 3) is TRUE, (2 <=2) is TRUE, (2 <= 1) is FALSE") End Sub Public Sub Reset() From d83d0f4351de18cb9610e8ad5533479a75091e78 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 12:46:43 +0300 Subject: [PATCH 04/26] adding tooltips --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 6c89e01634b..8a2419df165 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -69,6 +69,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdPower, "power(^)or exponent and can also be given as **. For example 2^3 = 8") ttCalculator.SetToolTip(cmdLesser, "less than(<). For example (2 < 3) is TRUE. (2 < 2) is FALSE, (2 < 1) is FALSE") ttCalculator.SetToolTip(cmdLesserOrEqualsTo, "less than or equals(<=). For example (2 <= 3) is TRUE, (2 <=2) is TRUE, (2 <= 1) is FALSE") + ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") End Sub Public Sub Reset() From 8a3b010ad2e0955500ec22cef2169aa332c7c6b6 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 14:57:20 +0300 Subject: [PATCH 05/26] Tool tips added added --- instat/ucrCalculator.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 8a2419df165..d7b9652a25b 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -70,6 +70,8 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdLesser, "less than(<). For example (2 < 3) is TRUE. (2 < 2) is FALSE, (2 < 1) is FALSE") ttCalculator.SetToolTip(cmdLesserOrEqualsTo, "less than or equals(<=). For example (2 <= 3) is TRUE, (2 <=2) is TRUE, (2 <= 1) is FALSE") ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") + ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") + End Sub Public Sub Reset() From 9c77fe974ac9db4ee17f079e99222ed02088a21d Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:03:24 +0300 Subject: [PATCH 06/26] More addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index d7b9652a25b..b852d61f5ff 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -71,6 +71,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdLesserOrEqualsTo, "less than or equals(<=). For example (2 <= 3) is TRUE, (2 <=2) is TRUE, (2 <= 1) is FALSE") ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") + ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") End Sub From 0e4e83484bdf063fbd9c3015ca2cc3f8f4c0d557 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:05:31 +0300 Subject: [PATCH 07/26] tooltips addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index b852d61f5ff..08894c933eb 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -73,6 +73,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") + End Sub Public Sub Reset() From ef4c0745bdab54fdb939ea8bb6e08c803b9a9912 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:08:51 +0300 Subject: [PATCH 08/26] More addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 08894c933eb..539271b3b93 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -72,6 +72,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") + ttCalculator.SetToolTip(cmdNotEqualsTo, "( (opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") End Sub From d32fc6ac6e7e4a44f2940d5257c597c0bfcd9100 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:13:20 +0300 Subject: [PATCH 09/26] more addition --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 539271b3b93..b7a7a458a99 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -72,7 +72,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") - ttCalculator.SetToolTip(cmdNotEqualsTo, "( (opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") + ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") End Sub From 5566ae733851390fcb9aeab19f885624ee755cce Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:17:12 +0300 Subject: [PATCH 10/26] more addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index b7a7a458a99..762e6a76b91 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -75,6 +75,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") + End Sub Public Sub Reset() From 17278c6475788018a3cc0ff2dc45d68f03090670 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:23:53 +0300 Subject: [PATCH 11/26] More addition --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 762e6a76b91..be7e1bb584b 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -73,7 +73,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") - + ttCalculator.SetToolTip(cmdOr, "logical OR(|). For example (2 < 3) | (2 < 1) is the same as (TRUE | FALSE) which is TRUE") End Sub From 3edeb038cbb825542ca071b7ac34119465049859 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:27:27 +0300 Subject: [PATCH 12/26] more addition --- instat/ucrCalculator.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index be7e1bb584b..df6dda7f637 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -74,6 +74,8 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") ttCalculator.SetToolTip(cmdOr, "logical OR(|). For example (2 < 3) | (2 < 1) is the same as (TRUE | FALSE) which is TRUE") + ttCalculator.SetToolTip(cmdAnd, " logical AND(&). For example (2 < 3) & (2 < 1) is the same as (TRUE & FALSE) which is FALSE") + End Sub From d906e6392bdfa2d7b0a807944785515720b7f01e Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:38:23 +0300 Subject: [PATCH 13/26] More addition --- instat/ucrCalculator.vb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index df6dda7f637..c41bfa479e3 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -72,9 +72,13 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdGreater, "greater than(>). For example (2 > 3) is FALSE, (2 > 2) is FALSE, (2 > 1) is TRUE") ttCalculator.SetToolTip(cmdGreaterOrEqualsTo, "greater or equals to(>=). For example (2 >= 3) is FALSE, (2 >=2) is TRUE, (2 >= 1) is TRUE") ttCalculator.SetToolTip(cmdEquivalent, "logical equals(==). For example (2 == 3) is FALSE, (2 == 2) is TRUE, (2 == 1) is FALSE") - ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 ! 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") + ttCalculator.SetToolTip(cmdNotEqualsTo, "not equals(!= )(opposite of ==). For example (2 != 3) is TRUE, (2 != 2) is FALSE and (2 != 1) is TRUE)") ttCalculator.SetToolTip(cmdOr, "logical OR(|). For example (2 < 3) | (2 < 1) is the same as (TRUE | FALSE) which is TRUE") ttCalculator.SetToolTip(cmdAnd, " logical AND(&). For example (2 < 3) & (2 < 1) is the same as (TRUE & FALSE) which is FALSE") + ttCalculator.SetToolTip(cmdNot, "logical NOT(!). For example !(2 < 3) is FALSE, !(2 < 1) is TRUE") + ttCalculator.SetToolTip(cmdColon, "colon is from:to(:) For example 3:6 is 3, 4, 5, 6. 6:3 is 6, 5, 4, 3 (It is the seq function with a step-length of 1 or -1.)") + + From 1a4dc9d59a6c2f5dc2cfc47c3d7fdb5f34fd6e77 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:44:21 +0300 Subject: [PATCH 14/26] More addition --- instat/ucrCalculator.vb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index c41bfa479e3..3162b6535fd 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -76,7 +76,9 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdOr, "logical OR(|). For example (2 < 3) | (2 < 1) is the same as (TRUE | FALSE) which is TRUE") ttCalculator.SetToolTip(cmdAnd, " logical AND(&). For example (2 < 3) & (2 < 1) is the same as (TRUE & FALSE) which is FALSE") ttCalculator.SetToolTip(cmdNot, "logical NOT(!). For example !(2 < 3) is FALSE, !(2 < 1) is TRUE") - ttCalculator.SetToolTip(cmdColon, "colon is from:to(:) For example 3:6 is 3, 4, 5, 6. 6:3 is 6, 5, 4, 3 (It is the seq function with a step-length of 1 or -1.)") + ttCalculator.SetToolTip(cmdColon, "colon is from:to(:). For example 3:6 is 3, 4, 5, 6. 6:3 is 6, 5, 4, 3 (It is the seq function with a step-length of 1 or -1.)") + ttCalculator.SetToolTip(cmdModulas, "modulus operator(%%)gives the remainder after integer division. For example 7 %% 3 is 1, 12 %% 3 is 0") + From c3c973fd0abc9a9383070dd0e4fdde51a5973987 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 15:58:05 +0300 Subject: [PATCH 15/26] more addition of tool tips --- instat/ucrCalculator.vb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 3162b6535fd..f415f462db3 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -78,6 +78,9 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdNot, "logical NOT(!). For example !(2 < 3) is FALSE, !(2 < 1) is TRUE") ttCalculator.SetToolTip(cmdColon, "colon is from:to(:). For example 3:6 is 3, 4, 5, 6. 6:3 is 6, 5, 4, 3 (It is the seq function with a step-length of 1 or -1.)") ttCalculator.SetToolTip(cmdModulas, "modulus operator(%%)gives the remainder after integer division. For example 7 %% 3 is 1, 12 %% 3 is 0") + ttCalculator.SetToolTip(cmdIn, "(%in%)is like the match function and returns a logical vector. For example (11:15 %in% c(11,13)) gives TRUE, FALSE, TRUE, FALSE, FALSE") + ttCalculator.SetToolTip(cmdmatch, "(see also %in%)gives the positions of the matching elements. For example match(11:15, c(11,13)) gives (1,NA, 2, NA, NA). match(11:15,c(11,13),nomatch=0) gives 1, 0, 2, 0, 0)") + From dbf2ec5dfea2348b4d28e229edaf7ae6e74e1802 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:01:42 +0300 Subject: [PATCH 16/26] more addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index f415f462db3..f95c44f1151 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -80,6 +80,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdModulas, "modulus operator(%%)gives the remainder after integer division. For example 7 %% 3 is 1, 12 %% 3 is 0") ttCalculator.SetToolTip(cmdIn, "(%in%)is like the match function and returns a logical vector. For example (11:15 %in% c(11,13)) gives TRUE, FALSE, TRUE, FALSE, FALSE") ttCalculator.SetToolTip(cmdmatch, "(see also %in%)gives the positions of the matching elements. For example match(11:15, c(11,13)) gives (1,NA, 2, NA, NA). match(11:15,c(11,13),nomatch=0) gives 1, 0, 2, 0, 0)") + ttCalculator.SetToolTip(cmdIntegerDivision, "div operator(%/%)is for integer division. For example (7 %/% 3) is 2, (13 %/% 3) is 4") From 35d1a3e239b6ee4bf4924e3122433025ce3e44ae Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:13:52 +0300 Subject: [PATCH 17/26] More addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index f95c44f1151..b5f99e19970 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -81,6 +81,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdIn, "(%in%)is like the match function and returns a logical vector. For example (11:15 %in% c(11,13)) gives TRUE, FALSE, TRUE, FALSE, FALSE") ttCalculator.SetToolTip(cmdmatch, "(see also %in%)gives the positions of the matching elements. For example match(11:15, c(11,13)) gives (1,NA, 2, NA, NA). match(11:15,c(11,13),nomatch=0) gives 1, 0, 2, 0, 0)") ttCalculator.SetToolTip(cmdIntegerDivision, "div operator(%/%)is for integer division. For example (7 %/% 3) is 2, (13 %/% 3) is 4") + ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") From 8e58c4be1fb60e7e0bc8b78dbfe98124ba95b879 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:16:40 +0300 Subject: [PATCH 18/26] More addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index b5f99e19970..ff03e088358 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -82,6 +82,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdmatch, "(see also %in%)gives the positions of the matching elements. For example match(11:15, c(11,13)) gives (1,NA, 2, NA, NA). match(11:15,c(11,13),nomatch=0) gives 1, 0, 2, 0, 0)") ttCalculator.SetToolTip(cmdIntegerDivision, "div operator(%/%)is for integer division. For example (7 %/% 3) is 2, (13 %/% 3) is 4") ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") + ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") From e26aca5d61e331dbb3ebc77564c821d99a7c0f44 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:22:22 +0300 Subject: [PATCH 19/26] more addition --- instat/ucrCalculator.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index ff03e088358..71b4355afd0 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -83,6 +83,8 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdIntegerDivision, "div operator(%/%)is for integer division. For example (7 %/% 3) is 2, (13 %/% 3) is 4") ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") + ttCalculator.SetToolTip(cmdBetween, "between two values, for example between(1:5, 3,4) is FALSE, FALSE, TRUE, TRUE, FALSE") + From 0474b4744c5cbdddab7d6956c3a8d3f81351a34e Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:27:25 +0300 Subject: [PATCH 20/26] more addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 71b4355afd0..db5e90ac3f9 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -84,6 +84,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdBetween, "between two values, for example between(1:5, 3,4) is FALSE, FALSE, TRUE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdMiss, "sum(is.na(x= ))detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") From f31b1da238383bc79e40102f32f967f50c338637 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:38:10 +0300 Subject: [PATCH 21/26] More addition --- instat/ucrCalculator.vb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index db5e90ac3f9..0f53feab27e 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -84,7 +84,9 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdBetween, "between two values, for example between(1:5, 3,4) is FALSE, FALSE, TRUE, TRUE, FALSE") - ttCalculator.SetToolTip(cmdMiss, "sum(is.na(x= ))detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdMiss, "sum(is.na(x))detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdNotIsNa, "!is.na detects non-missing values, for example !is.na(c(1,3,NA, 5)) gives TRUE, TRUE, FALSE, TRUE") + ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") From 695bb3d7c48a40300ddb5f42f026b5464b6daf2b Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:43:34 +0300 Subject: [PATCH 22/26] more addition --- instat/ucrCalculator.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 0f53feab27e..2055bc0ed76 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -87,6 +87,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdMiss, "sum(is.na(x))detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNotIsNa, "!is.na detects non-missing values, for example !is.na(c(1,3,NA, 5)) gives TRUE, TRUE, FALSE, TRUE") ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdNear, "near(x,y)compares 2 variables. For example sqrt(5)^2 is almost, but isn't exactly 5, however near(sqrt(5)^2,5) is TRUE") From 0c8d57eb0687d2c47a6a7b925cf5d0880095852a Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:49:19 +0300 Subject: [PATCH 23/26] More addition --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 2055bc0ed76..2141eef9cfb 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -88,7 +88,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdNotIsNa, "!is.na detects non-missing values, for example !is.na(c(1,3,NA, 5)) gives TRUE, TRUE, FALSE, TRUE") ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNear, "near(x,y)compares 2 variables. For example sqrt(5)^2 is almost, but isn't exactly 5, however near(sqrt(5)^2,5) is TRUE") - + ttCalculator.SetToolTip(cmdWhich, "which gives the indices of a logical variable. For example which(11:15>13) gives 4, 5. Note the result is usually not the same length as the original variable.") From a8434aa1226edae2b7265d6f334c88caf6190872 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 16:56:44 +0300 Subject: [PATCH 24/26] more addition --- instat/ucrCalculator.vb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 2141eef9cfb..3ca5a853ae2 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -89,13 +89,8 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNear, "near(x,y)compares 2 variables. For example sqrt(5)^2 is almost, but isn't exactly 5, however near(sqrt(5)^2,5) is TRUE") ttCalculator.SetToolTip(cmdWhich, "which gives the indices of a logical variable. For example which(11:15>13) gives 4, 5. Note the result is usually not the same length as the original variable.") - - - - - - - + ttCalculator.SetToolTip(cmdAnyDup, "any Are any values TRUE in a logical variable. For example any(1:5 >3) gives TRUE") + ttCalculator.SetToolTip(cmdAll, "all Are all values TRUE in a logical variable. For example all(1:5 >3) gives FALSE") End Sub Public Sub Reset() From 0e6a537909e77db9e0f3fc93b5a7ec429dae905a Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Thu, 3 Oct 2019 17:36:34 +0300 Subject: [PATCH 25/26] More addition --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 3ca5a853ae2..945feb90f72 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -84,7 +84,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdBetween, "between two values, for example between(1:5, 3,4) is FALSE, FALSE, TRUE, TRUE, FALSE") - ttCalculator.SetToolTip(cmdMiss, "sum(is.na(x))detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdMiss, "is.na detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNotIsNa, "!is.na detects non-missing values, for example !is.na(c(1,3,NA, 5)) gives TRUE, TRUE, FALSE, TRUE") ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNear, "near(x,y)compares 2 variables. For example sqrt(5)^2 is almost, but isn't exactly 5, however near(sqrt(5)^2,5) is TRUE") From 3c703c7a8f5dce61bcfd5bbcfc4dc0841c137522 Mon Sep 17 00:00:00 2001 From: Wycklife Bonyo Date: Fri, 11 Oct 2019 12:25:23 +0300 Subject: [PATCH 26/26] Minor edit --- instat/ucrCalculator.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instat/ucrCalculator.vb b/instat/ucrCalculator.vb index 945feb90f72..2e89929338f 100644 --- a/instat/ucrCalculator.vb +++ b/instat/ucrCalculator.vb @@ -84,7 +84,7 @@ Public Class ucrCalculator ttCalculator.SetToolTip(cmdwhen, "when is multiple ifelse, for example case_when(1:5>320,1:5>110) gives NA, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdIfelse, "is what it says, for example ifelse((1:5 > 3,20,10) gives 10, 10, 10, 20, 20") ttCalculator.SetToolTip(cmdBetween, "between two values, for example between(1:5, 3,4) is FALSE, FALSE, TRUE, TRUE, FALSE") - ttCalculator.SetToolTip(cmdMiss, "is.na detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") + ttCalculator.SetToolTip(cmdIsNa, "is.na detects missing values, for example is.na(c(1,3,NA, 5)) gives FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNotIsNa, "!is.na detects non-missing values, for example !is.na(c(1,3,NA, 5)) gives TRUE, TRUE, FALSE, TRUE") ttCalculator.SetToolTip(cmdDuplicate, "duplicate detects non-unique values, for example duplicated(c(1:3,2,7)) gives FALSE, FALSE, FALSE, TRUE, FALSE") ttCalculator.SetToolTip(cmdNear, "near(x,y)compares 2 variables. For example sqrt(5)^2 is almost, but isn't exactly 5, however near(sqrt(5)^2,5) is TRUE")