#' readEvalFiles
#'
#' @return list with the rated images
#' @export
readEvalFiles <- function(path="."){
evalFilePattern <- "^[[:digit:]]+-[[:digit:]]+_.*\\.rds$"
pathToRDSfiles <- path#paste0(system.file(package = "evalImg"), "\\..")
filesToLoad <- list.files(path = pathToRDSfiles,pattern=evalFilePattern)
dat <- lapply(filesToLoad, readRDS)
names(dat) <- tools::file_path_sans_ext(filesToLoad)
out <- do.call(rbind, dat)
rownames(out) <- seq_along(rownames(out))
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.