ff.hap <- function(k){
if (k==1) {
x <- 6 + c(1, 2)
} else {
x <- 6 + c((2*k - 1), (2*k))
}
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.