search for: percentsleepday3

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

Did you mean: percentsleepday1
2010 Jan 14
2
extracting columns with same partial name
...t; "BOUTTHRESHDAYP2" "BOUTTHRESTOTN2" [28] "BOUTTHRESHNITEN2" "BOUTTHRESHDAYN2" "ACTONSET2" [31] "PEAKACT2" "BASEDATE3" "PERCENTSLEEPTOT3" [34] "PERCENTSLEEPNIGHT3" "PERCENTSLEEPDAY3" "BOUTLENGTHTOT3" You'll notice that certain names repeat, like BOUTLENGTHTOT1, BOUTLENGTHTOT2, etc. These represent each day of data recording, and they go up to 17. I want to extract, for example, BOUTLENGTHTOT1 - 17. I'm new to R, and the only ways that I know how...