Please note that I have already asked this question on stackoverflow.com but
did not get a satisfactory answer. I have a data set containing velocities of
2169 vehicles recorded at
intervals of 0.1 seconds. So, there are many rows for an individual
vehicle. Here I am reproducing the data only f
t so not all vehicles had svel==0. The vehicles which
did stop didn't do it at the same time. Also, the number of rows in which
svel==0 is different vehicle to vehicle.
Thanks,
Umair Durrani
Master's candidate
Civil and Environmental Engineering
University of Windsor
I have tried many things and also used some suggestions from stackoverflow but
still am unable to get output like this with input data. Please help.
Umair Durrani
email: umai
al data I found 22 as min and 9233 as max frame number.
> This makes 30 time slots as 22-322, 322-622, ..., 9022-9233. I need following
> output:
TimeSlot Total-Cars Total-Trucks Total-Motorcycles MeanVelocity-Cars
MeanVelocity-Trucks MeanVelocity-Motorcycles22-322322-622...9022-9233
Hello everyone,Here is the version using dput. I am sorry for the junk I posted
before. I have a large vehicle trajectory data of which following is a small
part:
structure(list(vehicle = c(1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L,2L, 2L), frame =
c(221L, 222L, 223L, 224L, 115L, 116L, 117L, 118L, 11
I have a data frame of vehicle trajectories. Here's a snapshot:
>dput(head(df))structure(list(vehicle = c(2L, 2L, 2L, 2L, 2L, 2L), frame =
>43:48, globalx = c(6451214.156, 6451216.824, 6451219.616, 6451222.548,
>6451225.462, 6451228.376), class = c(2L, 2L, 2L, 2L, 2L, 2L), velocity =
The problem is resolved already. Please don't include this question in future
mailing list
Umair Durrani
email: umairdurr...@outlook.com
> Subject: Re: [R] Detecting Vehicle locations using R
> From: jdnew...@dcn.davis.ca.us
> Date: Thu, 20 Feb 2014 20:06:28 -0800
&
t;,
fixedBreaks = 4.5) :
variable range greater than fixedBreaksEven after intervals are created, I
need to group spacing and find the avg. for every interval. How can I do this?
I have tried what I could, please help
Umair Durrani
email: umairdurr...@outlook.com
edY'? This is
actually a data smoothing problem but default smoothing algorithms in R are not
suitable for my data and I have to use this custom formula.
Thanks in advance.
Umair Durrani
[[alternative HTML version deleted]]
__
This might be of some use :
http://nsaunders.wordpress.com/2010/08/20/a-brief-introduction-to-apply-in-r/
Umair Durrani
email: umairdurr...@outlook.com
> Date: Sat, 16 Nov 2013 07:30:29 -0800
> From: ron...@gmx.net
> To: r-help@r-project.org
> Subject: [R] Apply function to
/stats1
Hope this helps,
Umair Durrani
email: umairdurr...@outlook.com
> Date: Sat, 16 Nov 2013 18:19:16 -0800
> From: spencer.gra...@prodsyse.com
> To: R-help@r-project.org
> Subject: [R] R for a stats intro for undergrads in the US?
>
> Hello, All:
>
>
>Woul
ind 'FUN'. Please help me in finding the
proportions of each model within all classes of vehicles.
Umair Durrani
email: umairdurr...@outlook.com
[[alternative HTML version deleted]]
__
R-help@r
ycles
VehicleLength VehicleWidth Proportion
10.0 3.0 1.0
Umair Durrani
email: umairdurr...@outlook.com
> Date: Sat, 30 Nov 2013 23:41:28 -0800
> From: smartpink...@yahoo.com
> Subject: Re: [R] How to get the proportions of data with respect to two
> variables in R?
> To: r-help@r-project
13 matches
Mail list logo