readSAS: Read a collection of SAS formatted Ozone experiment files...

Description Usage Arguments Value Author(s) Examples

Description

readSAS is a convienence function to read experimental data from O3 exposure experiments into R.

Usage

1

Arguments

files

character vector, a collection of the file paths to the SAS files to be read.

Value

data.frame

A data.frame with the files all together.

Author(s)

Matt Espe

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- 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 (files) 
{
    d = lapply(files, function(x) as.data.frame(haven::read_sas(x)))
    do.call(rbind, d)
  }

dsidavis/Ozone2 documentation built on June 26, 2019, 7:35 a.m.