Displaying 5 results from an estimated 5 matches for "onhour".
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
2010 Apr 20
0
Fwd: Re: bwplot puts the bars in the wrong place
...ery closely
at the data and the plot to see that there is an error.
Thanks for the help,
Jim
On 4/19/2010 10:44 PM, Peter Ehlers wrote:James,
It's actually the bars for hour 3 (which don't exist) that are
missing. You still need the 'drop.unused.levels=FALSE' and if
you make 'OnHour' into a factor then you won't need the
'horizontal=FALSE'.
-Peter Ehlers
On 2010-04-19 8:27, James Rome wrote:
> You were right about the gdf$. Something else must have been giving me
> the errors.
>
> So I tried it with your scale suggestion:
> hrs = seq(...
2010 Mar 20
3
How to select a row from one dataframe that is "close" to a row in another dataframe
...alOffLocal" "ActualOnLocal"
[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] "Runw...
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 NULL
Nume...
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