View source: R/sndet_read_data_metadata.R View source: R/fhs_read_data_metadata.R View source: R/esqc_Read_data_metadata.R
fun_read_units | R Documentation |
fun_read_units(PATH, FILE)
PATH |
|
FILE |
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (PATH, FILE)
{
data = read.csv(paste(PATH, FILE, sep = ""), stringsAsFactors = F)
units = data[c(1, 2), ]
df = rbind(colnames(units), units)
return(df)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.