Displaying 20 results from an estimated 137 matches for "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...
2005 Jun 01
3
x[x$a=="q",,drop=TRUE]
...tain that the
same code on the same data worked OK earlier today -
and it is not the first time that I'm not able to
replicate earlier results with this command (I know, I
might just be going crazy). What am I doing wrong?
I'm working on Windows Server 2003, R 2.1.0
(2005-04-18).
> str(spray)
`data.frame': 370 obs. of 7 variables:
$ PD : Factor w/ 8 levels
"Botrytis","Downy",..: 2 2 2 2 4 2 2 5 5 5 ...
$ postSpmtsQ: num 1309 1309 384 384 1044 ...
$ ante62Q : num 284 284 218 218 366 ...
$ ante08Q : num 331 331 228 228 492 ...
$ ante29Q :...
2007 Oct 15
4
boxplot() confuses x- and y-axes (PR#10345)
...onfuses it as to what 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))
# Chang...
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(Insect...
2009 Mar 29
2
re form data for aov()?
...e 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 each
category, with boolean entries? Or is there a way to do this more cleanly?
Data file (hands.dat)
============
Bacterial.Counts Method
74 Water
84 Soap
70 Antibacterial.Soap
51 Alcohol.Spray...
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 v...
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 devic...
2001 Oct 31
2
No debug?
...o get some apps working, like some game and maybe office -97 (I understand that some of you managed to do that. Did it take a lot of "tend to"??)
Thanx
Stefan
_________________________________________s_p_r_a_y_
H?r b?rjar Internet!
Skaffa gratis e-mail och gratis Internet p? http://www.spray.se
Ny chatt p? Spray! Fartyget M/S Spray har anl?nt till http://www.spray.se/ohoj
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.
However, when the dreaded daylight savings enters the picture, we get
this sort of thing:
Browse[1]> insp.j$First
[1]...
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
...und with managing windows didn't help at all, so I thought that maybe anyone 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-...
2017 Feb 09
0
Serious attack vector on pkcheck ignored by Red Hat
...stems local users cannot execute their own uploaded binaries
> (noexec mounts). This would also be true for an adversary entering a
> system with a remote "unprivileged" exploit. In that situation pcheck
> gives them a "crow bar" they did not have before.
So you?ve now sprayed the heap on this system, but you can?t upload anything else to it because noexec, so?now what? What has our nefarious attacker gained?
>> A vulnerable library is a vulnerable library. Fix the library, don?t
>> invent reasons to fix all the other programs on the system because the
&...
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
...library is a vulnerable library. Fix the library, don?t
> invent reasons to fix all the other programs on the system because the
> library is vulnerable.
I would say the modus operandi should be to eliminate all known attack
vectors, including such a powerful one as the described "heap spraying".
> 2. There?s no such thing as SUID libraries.
I never argued there are.
> So, how is this hypothetical library of yours going to gain
> privileges that the executable linked to it does not have? Point me
> at a CVE where a vulnerable library was used for privilege escal...
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 mailin...
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???