Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
98 views

How to create and save subset dataframes for sequence of year-month

I would like to filter from a dataframe observations for a given year-month and then save it as a separate dataframe and name it with the respective year-month. I would be grateful if someone could ...
PaulaSpinola's user avatar
0 votes
2 answers
71 views

Subsetting from one data frame based on multiple rows of another data frame

I am working with acceleromater data from an actigraphy watch and I am trying to subset the periods in which a person is sleeping according to an algorithm. I have identified the periods in which a ...
Tobias's user avatar
  • 11
2 votes
1 answer
174 views

Create a data frame from loop

How do I create a data frame for wkend rather than not print it? wkend<-as.Date(c("2013-01-04","2013-01-05","2013-01-06"),"%Y-%m-%d") while(wkend < "2013-12-27") { wkend <- wkend + 7 ...
chee.work.stuff's user avatar