Skip to content

Commit bda7b04

Browse files
committed
add comment for examples
1 parent 019e2f3 commit bda7b04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

man/fcase.Rd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ fcase(
6161
)
6262
6363
# fcase can be used for recursion, unlike fifelse
64+
# Recursive function to calculate the Greatest Common Divisor
6465
gcd_dt = function(x,y) {
6566
r = x\%\%y
6667
fcase(!r, y, r, gcd_dt(x, y)) # Recursive call must be in the last when-value pair

0 commit comments

Comments
 (0)