readData: Read in the data from Fredrickson et al.

Description Usage Arguments Value

Description

This function reads in the data from the PNAS website or from a downloaded CSV file and tags each row with a subject ID number (SID).

Usage

1
  readData(file = "http://www.pnas.org/content/suppl/2014/08/21/1407057111.DCSupplemental/pnas.1407057111.sd02.csv")

Arguments

file

Name of the local CSV file. If left unspecified, defaults to download the data from PNAS.

Value

A dataframe, with fields as described by Brown et al.


dalejbarr/RR53 documentation built on May 14, 2019, 3:30 p.m.