Displaying 20 results from an estimated 137 matches for "sprays".
Did you mean:
spray
2005 Apr 10
2
Plotting the occassional second label
Dear useRs,
I'm trying to plot spray quantities against dates, and label the points
on the plot. Basically quite simple, but sometimes two chemicals have
been used and are listed in separate rows in the table as below; then
the labels are written on top of each other.
> spray
SprayDate PD Trt Qwater Qai
1 2005-03-09 Spidermites Pegasus 1300 1.04
2
2005 Jun 01
3
x[x$a=="q",,drop=TRUE]
...1044 ...
$ ante62Q : num 284 284 218 218 366 ...
$ ante08Q : num 331 331 228 228 492 ...
$ ante29Q : num 297 297 1067 1067 1034 ...
$ ante16Q : num 0 0 0.2 0.2 0 0 0 6.7 0 31.5 ...
$ Trt : Factor w/ 41 levels "Acrobat MZ WP",..:
27 5 27 5 36 27 5 24 24 24 ...
> sprayS <- spray[spray$PD == "Spidermites", , drop =
TRUE]
> str(sprayS)
`data.frame': 111 obs. of 7 variables:
$ PD : Factor w/ 8 levels
"Botrytis","Downy",..: 5 5 5 5 5 5 5 5 5 5 ...
$ postSpmtsQ: num 13395 31588 84254 136 619 ...
$ ante62Q : nu...
2007 Oct 15
4
boxplot() confuses x- and y-axes (PR#10345)
...t is an x- or y-axis.
At least, xlim= and ylim= are the wrong way round, log="x" (or "y") and xaxt=
work as expected, I haven't looked at anything else.
Some code to see if you can reproduce the bug (or discover it's in my head...):
boxplot(count ~ spray, data = InsectSprays)
# Try to change x-axis:
boxplot(count ~ spray, data = InsectSprays, xlim=c(0,50))
# Plot horizontally:
boxplot(count ~ spray, data = InsectSprays, horizontal=TRUE)
# Now try to change x-axis:
boxplot(count ~ spray, data = InsectSprays, horizontal=TRUE, xlim=c(0,50))
# Changes y-axis!
# Now try...
2011 Jun 24
2
text overlap in plot
Hey,
Here is a snippet that generated a boxplot and separates points so that
they do not overlap. I have a problem to avoir text overlapping. Any
help would be helpful.
>
attach(InsectSprays)
boxplot(count ~ spray, data = InsectSprays, outpch = NA)
stripchart(count ~ spray, data = InsectSprays,
vertical = TRUE, method = "jitter",
pch = 21, col = "maroon", bg = "bisque",
add = TRUE)
text(count ~ spray , row.names(InsectS...
2009 Mar 29
2
re form data for aov()?
I have data in a file named hands.dat, which is given at the end of this
question. (It's from a stats textbook example on anova). I'd like to do an
aov on this, which I guess would be
d <- read.table("~/hands.dat", header=TRUE)
aov(Bacterial.Counts ~ Water + Soap + Antibacterial.Soap + Alcohol.Spray,
data=d)
but this fails. Do I need to break d$Method up into columns for
2004 Apr 05
1
fligner.test (ctest) (PR#6739)
Full_Name: Karel Zvara
Version: 1.8.1
OS: MS Winows 2000
Submission from: (NULL) (195.113.30.163)
The test statistics of the fligner.test (ctest package) depends on the order of
cases:
> fligner.test(count~spray,data=InsectSprays)
Fligner-Killeen test for homogeneity of variances
data: count by spray
Fligner-Killeen:med chi-squared = 14.4828, df = 5, p-value =
0.01282
> fligner.test(count~spray,data=InsectSprays[order(InsectSprays$count),])
Fligner-Killeen test for homogeneity of variances
data: c...
2004 Dec 24
6
Sorting problem
Hi
I'm using R 2.0 in SuSE 9.2.
When I plot data as a boxplot, the boxes appear on the plot in
alphabetical order (of group) rather than the order in which they appear
in the data. So far, the only thing I can do to fix this is to prefix
the group labels with a,b,c...etc to trick R into plotting them in the
right order.
Can sorting be turned off?
How should I address this sensibly?
Thanks
2006 Apr 28
2
How to get a grid behind a boxplot
I am using R 2.2.1 on a Windows 2000 PC.
When I do a grid() after the boxplot
it overprints the boxplot:
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray")
> grid(nx=NA, ny=NULL)
>
if I try the panel.first
> boxplot(count ~ spray, data = InsectSprays, col = "lightgray",
+ panel.first=grid(nx=NA, ny=NULL))
>
I can see the grid flash and go away.
If I close the device and then try the pa...
2001 Oct 31
2
No debug?
Hi everybody!
I recently tried out Wine, and decided to write an article about it. Well, that means I need to get some interesting windows apps working, so far it's only Notepad and Solitaire (won't make anyone cheer). The problem is, when I try to start any installer.exe file, I get some rows of nonsense ("fixme pthread...blabla") and then it exits with the message that it
2008 May 22
2
Stripchart and Boxplots side-by-side
Dear all -
With the following code I get Boxplots and Stripcharts in one Plot:
with(InsectSprays, boxplot(count ~ spray, boxwex = 0.3))
with(InsectSprays, stripchart(count ~ spray, col = "red", vertical =
TRUE, add = TRUE))
But the dots from the stripchart are plotted over the Boxes.
Is there any possibility to have Stripchart and Boxplots side-by-side,
i.e. to move boxplots and/or...
2004 Feb 13
1
How to get time differences in consistent units?
I'm still having trouble getting to grips with time classes.
I wish to calculate the difference in days between events.
Browse[1]> insp.j$First
[1] "2002-02-19 13:00:00 NZDT"
Browse[1]> spray.j$Date
[1] "2001-11-29 13:00:00 NZDT"
Browse[1]> insp.jk - spray.j$Date
Time difference of 82 days
If I save insp.jk to a vector, I get a nice useful value of 82.
2006 Mar 22
3
ordering boxplots according to median
Dear R-users,
Does anyone knows how I can order my serie of boxplots from lowest to
highest median (which is much better for visualization purposes).
thanks in advance,
willem
[[alternative HTML version deleted]]
2002 Jan 15
1
another starcraft
...on the list had 2 minutes to spare and could give me a neat solution.
Regards
//Stefan
_________________________________________s_p_r_a_y_
H?r b?rjar Internet!
Skaffa gratis e-mail och gratis Internet p? http://www.spray.se
Nu kan du lagra dina filer och dokument p? n?tet. http://www.spray.se/sprayspace
2018 Feb 13
3
Suppress horizontal mean line in beanplot()
...quot; or "median" .
I have tried overallline = F, overallline="n", and overallline="", but
without success.
Strangely, I could also not find any suggestions on the internet.
Does anybody know how to do this?
Thanks,
Samuel
## Example code using the dataset InsectSprays from datasets package
library(beanplot)
beanplot(count ~ spray, data = InsectSprays)
# How to remove the dashed horizonal line?
--
Samuel Knapp
Lehrstuhl f?r Pflanzenern?hrung
Technische Universit?t M?nchen
(Chair of Plant Nutrition
Technical University of Munich)
Emil-Ramann-Strasse 2
D-8...
2017 Feb 09
0
Serious attack vector on pkcheck ignored by Red Hat
On Feb 9, 2017, at 2:39 PM, Leonard den Ottolander <leonard at den.ottolander.nl> wrote:
>
> On Thu, 2017-02-09 at 14:22 -0700, Warren Young wrote:
>> There are two serious problems with this argument:
>>
>> 1. Give me a scenario where this attacker can execute *only* pkcheck
>
> On many systems local users cannot execute their own uploaded binaries
>
2010 Aug 13
2
Dealing with data
# how would I code in R to look at the letter of the alphabet
# in the second column and create a indicator column for the
# corresponding letter?
data(InsectSprays)
InsectSprays$spray
2006 Apr 27
3
ordered boxplots
Dear List-Members,
I would like to produce a ordered boxplot in which the categories with
the smallest median are plotted at the left end and the box with the
largest median at the right.
Thanks in advance for any advices
Thomas H.
2017 Feb 09
4
Serious attack vector on pkcheck ignored by Red Hat
Hello Warren,
On Thu, 2017-02-09 at 14:22 -0700, Warren Young wrote:
> There are two serious problems with this argument:
>
> 1. Give me a scenario where this attacker can execute *only* pkcheck
> in order to exploit this hypothetical library?s flaw, but where the
> attacker cannot simply provide their own binary to do the same
> exploit. Short of something insane like
2008 Sep 23
1
plot error
HI there,
why these lines of code are correct
plot(count~spray, data = InsectSprays)
plot(InsectSprays$count)
but this return an error:
plot(count, data = InsectSprays);
"data" method is not implemented in plot?!
Thanx, Gianandrea
--
View this message in context: http://www.nabble.com/plot-error-tp19624873p19624873.html
Sent from the R help mailing list archive at Nab...
2004 Aug 26
5
Problems with par() and labels with boxplot
Quite a simple one really!
When I run boxplot(), the labels on the X axis are horizontal, and I
want them vertical. So I did:
par(las=3)
boxplot(...)
And my labels just aren't there anymore....
Any help???