Displaying 1 result from an estimated 1 matches for "dist_bef_m".
2012 Mar 21
1
Forloop/ifelse program problem and list of dataframes
...es, but I will try my best to be concise. Also, I am a self taught
coder, so if my code is not to convention, your constructive criticism is
always welcome.
I need to split up a data frame by participant (gpsarc - factor), status
(testpo - factor), and by date (LocalDate), then sum the distance
(Dist_Bef_m - numeric) records for each date and average them across each
status state for each participant. Each participant has several records
for each date and for at least 1 of 3 different possible status types (max
3). In the end, I want a table with participant number and the status
state as my colum...