search for: weekprofile

Displaying 1 result from an estimated 1 matches for "weekprofile".

2012 Feb 17
1
R's list data structure
Given dayOfWeekName<-c("Mon","Tue","Wed","Thu","Fri","Sat","Sun"); dayOfWeekOrdinal<-c(1,2,3,4,5,6,0); dayOfWeekWorkDay<-c(TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE); weekProfile<-list(dow=dayOfWeekName,dowI=dayOfWeekOrdinal,dowW=dayOfWeekWorkDay) 1. How can I conditionally get dow, dowI, and dowW from weekProfile? If another 'arrangement' of this list object will make this task easier, please advise. 2. What is the point of the list object? I know that when...