# NOT RUN {
library(eyedata)
eyes(amd2)
# Examples for the usage of eyestr
eyestr(amd2)
set.seed(1)
ls_dat <-
lapply(c(1, 12, 13),
function(x) data.frame(id = as.character(1:x),
eye = sample(c("r", "l"), x, replace = TRUE)))
lapply(ls_dat, eyestr, english = "small")
lapply(ls_dat, eyestr, english = "all")
lapply(ls_dat, eyestr, english = "all", caps = TRUE)
lapply(ls_dat, eyestr, english = "none")
lapply(ls_dat, eyestr, english = "none")
# }
Run the code above in your browser using DataLab