#' Reading files into R
#'
#' This reads in a csv file from a directory
#'
#' @param csv
#'
#' @return data frame containing the data
#' @export
#'
#' @examples
#' dird="C:\\Documents\\MATH4753\\Labs\\Lab3\\DATAxls\\"; myread("SPRUCE.csv")
myread=function(csv){
fl=paste(dird,csv,sep="")
read.table(fl,header=TRUE,sep=",")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.