Nothing
switching_equation <- function(pos_mat, assignment_vec) {
Y <- pos_mat[cbind(
1:nrow(pos_mat),
match(assignment_vec, colnames(pos_mat))
)]
return(Y)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.