Learn R Programming

GGIR (version 2.3-0)

g.loadlog: Load and clean sleeplog information

Description

Loads sleeplog from a csv input file and applies sanity checks before storing the output in a dataframe

Usage

g.loadlog(loglocation=c(),coln1=c(),colid=c(),nnights=c(),
sleeplogidnum=TRUE)

Arguments

loglocation
coln1
colid
nnights
sleeplogidnum

Value

Data frame with sleeplog

Examples

Run this code
# NOT RUN {
sleeplog = g.loadlog(loglocation="C:/mysleeplog.csv",coln1=2,
colid=1,nnights=5,sleeplogidnum=TRUE)
# }

Run the code above in your browser using DataLab