Displaying 20 results from an estimated 20 matches for "runway".
Did you mean:
runaway
2010 Feb 01
3
merging data frames gives all NAs
Dear kind R helpers,
I have a vector of runway names in rwy ("31R", "31L",... the number is
user selectable)
arrgnd is a data frame with data for all flights and all runways, with a
Runway column.
I am trying to subset arrgnd into a dat frame for each selected runway,
and then combine them back together using the follow...
2010 Mar 20
3
How to select a row from one dataframe that is "close" to a row in another dataframe
...[9] "ActualInLocal" "ArrivalGate"
[11] "DepartureGate" "Flight"
[13] "OnDate" "MinutesIntoDay"
[15] "OnHour" "pt"
> names(runway)
[1] "OnDateTime" "IATA" "ICAO" "Flight"
[5] "AircraftType" "Tail" "Arrived" "STA"
[9] "Runway" "From.To" "Delay&quo...
2011 Jun 07
2
ggplot2 and facet
I have a data frame (attached) that has interpolated EOT errors for
each minute before flight landing. It also has the runway and an index
for the flight:
> > times[1:4,]
time error runway flight
1 0 -0.02206235 04R 1
2 1 -0.07961631 04R 1
3 2 -0.13795380 04R 1
4 3 -0.20726073 04R 1
> > sapply(times, class)
time error runway flight
"nume...
2011 Jun 08
3
How to suppress factor labels
I am using ggplot2 to make a boxplot that overlays a scatterplot:
pp = qplot(time, error, data=times, size=I(1), geom="jitter", main=title,
ylab="Error (min)", xlab="Time before ON (min)", alpha=I(1/10),
color=times$runway,
ylim=c(-30,40))
pp2 = pp + with(times, facet_wrap(~ runway, ncol=2))
print(pp2 + geom_boxplot(alpha=.5, color="blue",
outlier.colour="green", outlier.size=1))
The x variable is a factor for every minute from 0:60. My problem is
that ggplot2 labels every factor v...
2011 May 25
2
Importing fixed-width data
...e field before and after the NON:
2011-05-13 00:00:05 EONBHS229 mia13001621NON
I read them into R using
df = read.fwf(file, widths=c(19,-4,7,3,8,2,1,3,1),
col.names=c("DateTime","Flight","Dest","ArrTime","MsgType","Conf","Runway","Source"),
colClasses=c("POSIXct",NA,"factor","factor","character","factor","factor","factor"))
The documentation for read.fwf says that the data are read into a
dataframe. Yet, I get a list, and the conv...
2010 Apr 16
6
bwplot puts the bars in the wrong place
Dear R-Help,
With the attached data set, I am still getting incorrect bwplots
> xyplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf) # Is correct
> bwplot(gdf$tt~gdf$OnHour |gdf$Runway, data=gdf, horizontal=FALSE) #
Puts the boxes on the wrong x-axis values
# look especially at 0 and 3. How do I fix this?
What is happening?
Thanks,
Jim Rome
2011 Aug 27
2
Am having trouble calling a function
In my main R program, I have
source("retaanalysis/Functions/doAirport.R")
.... stuff to read data and calculate ads
sapply(ads, function(x) {doAirport(x, base)} )
And doAirport has
# analyze the flights for a given airport
doAirport = function(df, base) {
# Get rid of unused runway factor levels (from other airports)
df$lrw <- drop.levels(df$lrw) # In gdata package
# Drop messages from after the landing time
df = df[df$PredTime >= 0.0,]
airport = as.character(df[1,"Dest"])
#print it out
airport
date = strptime(df[1,"on"],...
2010 Apr 09
2
How to use tapply for quantile
I am trying to calculate quantiles of a data frame column split up by
two factors:
# Calculate the quantiles
quarts = tapply(gdf$tt, list(gdf$Runway, gdf$OnHour), FUN=quantile,
na.rm = TRUE)
This does not work:
> quarts
04L 04R 15R 22L 22R 27 32
33L 33R
0 NULL Numeric,5 NULL Numeric,5 NULL Numeric,5 NULL
Numeric,5 NULL
1 NULL Numeric,5 NULL Numeric,5 NULL NULL...
2011 Jun 10
1
Double x grid in ggplot2
...ows:
pp = qplot(factor(time, levels=0:60, ordered=TRUE),
error, data=dfsub, size=I(1), main =" title", ylab="Error
(min)",
xlab="Time before ON (min)", alpha=I(1/10),
ylim=c(-30,40), geom="jitter") +
facet_wrap(~ runway, ncol=2) +
geom_boxplot(alpha=.5, color="blue", outlier.colour="green",
outlier.size=1) +
scale_x_discrete(breaks = seq(from=0, to=60, by=10))
print(pp)
But I think ggplot2 is getting confused about factors versus numbers
> sapply(dfsub,class)...
2010 Apr 20
0
Fwd: Re: bwplot puts the bars in the wrong place
Peter, that finally worked.
hrs = seq(1, 24, 1)
g = bwplot(tt~OnHFact |Runway, data=gdf, ylab="Taxi time (min)",
main=title, xlab="Hour of day", par.strip.text=list(cex=0.7),
rot=90, xlim=c(0, 25),
drop.unused.levels=FALSE, scales=list(x = list(rot=90, cex=.6
,at=hrs, labels=hrlabs
)),
panel = function(x, ...) {...
2006 May 19
2
system of tab
Hello, I would like to create a system of tab by means of Ajax (like
in netvibes). Somebody would have a track(runway). A library to be
used....
Thank you in advance.
2010 Apr 01
2
pdf files in loops
...or( gate in gatelist) {
outfile = paste("../", airport, "/", airport, "taxiHistogram", gate,
".pdf", sep="")
pdf(file = outfile, width = 10, height=8, par(lwd=1))
title=paste("Taxi time for Arrival Gate", gate, "by Runway at", airport)
gdf = mdf[mdf$ArrivalGate == gate, ]
gdf$tt= gdf$TaxiTime/60
histogram(~(gdf$tt) | gdf$Runway, data=gdf, type="count",
ylab="Count", breaks=20, main=title,
xlab="taxi time (min)",
par.strip.text=lis...
2011 Jul 17
1
How to speed up interpolation
...terpolateTimes = function(df) {
x = as.numeric(seq(from=0,to=60)) # The times to interpolate to
dti = approx(as.numeric(df$PredTime), as.numeric(df$dt), x,
method="linear",rule=1:1)
# Make a new data frame of interpolated values
idf = data.frame(time=dti$x, error=dti$y,
runway=rep(df$lrw[1],length(dti$x)),
flight=rep(df$flightfact[1], length(dti$x)))
return(idf)
}
2010 Jan 16
3
Comparing dates in dataframes
..." "weekday" "hour" "month" "minute"
[6] "quarter" "ICAO" "Flight" "AircraftType"
"Tail"
[11] "Arrived" "STA" "Runway" "FromTo"
"Delay"
[16] "Operator" "gw"
I added the gw column to arr and initialized it to all FALSE
>names(gw)
[1] "Date" "minute" "hour" "quarter"
[5...
2014 Sep 25
1
Forwarding in switch mode
Dear all,
I like tinc and am using it widely in the company I work for.
Currently I'm experimenting with 'switch' mode & have a problem with
packets being forwarded.
I've tried possible combinations with next parameters:
a) Broadcast = direct
b) Forwarding = kernel
c) DirectOnly = yes
From the documentation, it looks like (a) should be enough to stop
packet forwarding
2006 Jan 25
0
Seeking Rails Developers in Bay Area (Marin County)
...Ken
------
Marin County-based Startup Seeks Talented Software Engineers
(multiple levels -
web/Java/Ruby)
So maybe you''re reading this because you''re feeling like you could
accomplish 10 times as much with even more joy if only...
"...I were given the mandate and runway."
"...I were part of a small team again."
"...I could make the leap to an agile framework like Ruby on Rails."
WE ARE a well-funded, early-stage consumer Internet startup located
in beautiful Marin County. While we can''t talk publicly about what we
do yet...
2006 Mar 09
5
Newbie - Help Please
I am just getting off the ground with RoR. (actually just walking out to
the runway)
I want to setup a development / test environment as close to the
production environment as possible except for OS (Win XP for Dev, Linux
for Prod).
I have Apache, MySQL, PhP installed and operating close enough to the
production environment that all the PhP stuff I''ve done in the past...
2003 Dec 16
16
mailing list for basic questions - preliminary sum up
Dear R-user,
I already received quite a lot of replies to this mail and like to do a
preliminary sum up.
A few were sceptical about the use of such a beginner mailing list.
The arguments were that people starting with R will only stay subscribed for
a short time
until they reached the R-help "level" and therefore only beginner will teach
beginner how to
use R.
But as far
2009 Feb 24
44
Motherboard for home zfs/solaris file server
Hello,
I am building a home file server and am looking for an ATX mother board
that will be supported well with OpenSolaris (onboard SATA controller,
network, graphics if any, audio, etc). I decided to go for Intel based
boards (socket LGA 775) since it seems like power management is better
supported with Intel processors and power efficiency is an important
factor. After reading several
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,
Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.
One function that has me stumped is "sink." Can anyone tell me if this stands for something?
Thanks,
Paul
__________________________________________________
[[alternative HTML