Displaying 2 results from an estimated 2 matches for "processeddata".
2008 Jun 17
1
read.spss {foreign} doesn't work over network?
...the command (in a "crib sheet"
text file) in order to avoid all the typing, so I'm pretty sure I've
done it before. I verified that the file I'm trying to read is OK.
This is what happens:
> SurveyData <-
read.spss("P:/Jobs/6015.Orange.Rapid.Survey/SurveyData/4.ProcessedData/D
elivery4/mrb_delivery.sav", use.value.labels=TRUE, max.value.labels=Inf,
to.data.frame=TRUE)
Error in
read.spss("P:/Jobs/6015.Orange.Rapid.Survey/SurveyData/4.ProcessedData/D
elivery4/mrb_delivery.sav", :
unable to open file
>
> SurveyData <- read.spss("...
2009 Dec 04
3
Use of apply rather than a loop
Colleagues,
R 2.9.0 on all platforms
I have a dataset that contains three columns of interest: ID's, serial
elapsed times, and a marker. Representative data:
Subject Time Marker
1 100.5 0
1 101 0
1 102 1
1 103 0
1 105 0
For each subject, I would like to find the time associated with MARKER
== 1, then replace Time with Time - (Time[Marker == 1])
The result for this