Nothing
extract_conditions <- function(assg.obj, data, id.var){
condition <- rep(NA, nrow(data))
class(condition) <- "integer"
flat_assgs <- bind_rows(assg.obj$assg)
for(col_idx in 1:(ncol(assg.obj$assg[[1]]) - 1)){
wh_this_condition <- data[[id.var]] %in% flat_assgs[, col_idx]
condition[wh_this_condition] <- col_idx
}
return(condition)
}
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.