Introduction to the R Package
MultiGroupSequential
library(MultiGroupSequential)
We can use the following function “gplus” to calculate the sum of two
random numbers
gplus=function(x,y){
x+y
}
For example, the sum of x = 3 and y = 5.5 can be calculated as
‘gplus(x,y)’ and the result is 8.5.