Nothing
add_EVID <- function(d1) {
# trying to implement EVID if not presented
rowsWithObs <- !is.na(d1$ObsName)
if ("EVID" %in% colnames(d1)) {
d1$EVID[rowsWithObs] <- 0
# prevent any NAs in EVID
d1$EVID[is.na(d1$EVID)] <- 2
} else {
# create EVID column
d1$EVID <- 2
d1$EVID[rowsWithObs] <- 0
}
d1
}
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.