Displaying 2 results from an estimated 2 matches for "distance_2".
Did you mean:
distance_b
2010 Jun 28
2
sampling one random frame from each unique trial?
...ne random frame from each trial.
here is an example. i have 4 unique trials (file), and various frames within
each (time_pred). I would like to randomly sample 4 rows, but 1 from each
trial (file).
this sample data is called "h"
file time_pred distance_1 distance_2
distance_3
1 12.03.08_ins_odo_01 210 19.003 18.023 14.666
2 12.03.08_ins_odo_01 240 23.905 20.087 17.266
3 12.03.08_ins_odo_01 270 15.694 9.285 4.135
4 12.03.08_ins_odo_02 0 22.142 16.061 14.776
5 12.03.08_ins_odo_02...
2009 Nov 27
2
using reshape to do ANOVA mixed models
...odels.
I want to use the reshape function. I have 2 between subject variables and
one within.
I was able to change the data structure but still - the result of the aov
functions are calculating everything as a within subject.
the table looks like this:
SerialNo breed treatment distance_1 distance_2
1 c57 dfp 235 3253
etc.
I changed it to look like this:
SerialNo breed treatment exposure distance
1 c57 dfp 1 235
1 c57 dfp 2 3253
etc.
Then I do:
dt<-...