View source: R/7_mutual_recursion.R
is_even | R Documentation |
Mutual recursion
is_even(x)
is_odd(x)
x |
A numeric vector. |
Functions leveraging mutual recursion.
library(functionalPlayground)
x <- 1:10
is_even(x)
is_odd(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.