Displaying 3 results from an estimated 3 matches for "traveltimes".
Did you mean:
  traveltime
  
2010 Oct 17
1
unbalanced repeated measurements Anova with mixed effects
Dear R-list members,
I've been struggling with the proper setup for analysing my data. I've 
performed a route choice experiment, in which participants had to make a 
choice at each junction for the next road. During the experiment they 
received traffic information, but also encountered two different 
accidents. They also made trips without accidents.
What I'm interested in is to
2010 Jan 16
2
Extracing only Unique Rows based on only 1 Column
...bout the  
uniqueness of the values in the other four rows, only the uniqueness  
of the entries in the first row. The "unique" command does not seem to  
have this option available, at least based on what I've read in the  
help file.
A simplified example matrix (designated as "traveltimes"):
ID Time1 Time2
1    3     4
1    4     7
2    3     5
2    5     6
3    4     5
3    2     8
When I use a command such as
matches <- unique(traveltimes, incomparables = FALSE, fromLast = FALSE)
I will end up with a 6-row matrix, exactly what I already have. What I  
would like to do...
2009 Nov 09
3
How to transform the Matrix into the way I want it ???
Hi, R users,
I'm trying to transform a matrix A into B (see below). Anyone knows how to
do it in R? Thanks.
Matrix A (zone to zone travel time)
 zone z1 z2 z3  z1 0 2.9 4.3  z2 2.9 0 2.5  z3 4.3 2.5 0
B:
from to time z1 z1 0 z1 z2 2.9 z1 z3 4.3 z2 z1 2.9 z2 z2 0 z2 z3 2.5 z3 z1
4.3 z3 z2 2.5 z3 z3 0
The real matrix I have is much larger, with more than 2000 zones. But I
think it should