Thank you.
On Fri, Sep 28, 2018 at 5:34 PM William Dunlap wrote:
>
> Use the 'at' argument to boxplot. E.g.,
>
> > x <- rep(c(2,4,8,16), c(5,10,20,30))
> > y <- seq_along(x)
> > par(mfrow=c(2,1))
> > boxplot(y~x, at=unique(x))
> > boxplot(y~x)
>
>
> Bill Dunlap
> TIBCO Software
> wdunlap
Use the 'at' argument to boxplot. E.g.,
> x <- rep(c(2,4,8,16), c(5,10,20,30))
> y <- seq_along(x)
> par(mfrow=c(2,1))
> boxplot(y~x, at=unique(x))
> boxplot(y~x)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Sep 28, 2018 at 3:05 AM, Luigi Marongiu
wrote:
> Dear all,
> I am using
install.packages("HH")
library(HH)
system.file("demo/bwplot.examples.r", package="HH")
demo("bwplot.examples", package="HH", ask=FALSE)
## your example
dfA <- data.frame(X, Y=c(A, B, C))
dfA$X.factor <- factor(dfA$X)
position(dfA$X.factor) <- c(1,3,5)
bwplot(Y ~ X.factor,
Hi Luigi,
An easy way is to use "points" to overplot the outliers:
grbxp<-boxplot(dfA$Y ~ dfA$X,
ylim=c(0, 200),
col="green",
ylab="Y-values",
xlab="X-values"
)
points(grbxp$group,grbxp$out,col="green")
On Fri, Sep 28, 2018 at 7:51 PM Luigi Marongiu wrote:
Dear all,
I am using boxplot to draw some data. Would be possible to have the
X-axis linear (as in a scatter plot) instead of the standard
categorical axis?
The data I have is subdivided into three groups at the numerical
values 1, 3, 5; boxplot treats these as categorical values; in fact, I
can
Dear all,
I am trying to overlap two series of boxplots on the same graph. In
order to distinguish the outliers from one series to the other, would
be possible to colour the outliers?: instead of the standard black, is
it possible to give a chosen colour?
Thank you
>>>
This is the example. I
> Here is the code I have tried.
The code has to work to be useful.
including the data read - which, because it is on your D: drive, clearly can't
be read..
But here are some comments and some base graphics code that should get you
started;
> As I mentioned below, would like to add the data
r-help-boun...@r-project.org> On Behalf Of Jayaganesh
Anbuganapathy
Sent: Tuesday, May 8, 2018 11:10 PM
To: r-help@r-project.org
Subject: [R] BoxPlot Adding Mean and Median Values
Dear Team - I would like to get your help on adding the values of mean and
median of RTF as me
May 8, 2018 11:10 PM
To: r-help@r-project.org
Subject: [R] BoxPlot Adding Mean and Median Values
Dear Team - I would like to get your help on adding the values of mean and
median of RTF as mentioned in the below snapshot.
Please guide me out. Thanks for your help in a
Dear Team - I would like to get your help on adding the values of mean and
median of RTF as mentioned in the below snapshot.
Please guide me out. Thanks for your help in advance.
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,
TX 77843-4352
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Ista Zahn
Sent: Thursday, September 28, 2017 12:27 PM
To: Ed Siefker <ebs15...@gmail.com>
Cc: r-help <r-help@r-project.org>
Subject: Re: [R] Boxplot, formula interface, and labels.
myb
mybp <- boxplot(count ~ geno * tissue, data = mydata, plot = FALSE)
mybp$names <- gsub("\\.", "\n", mybp$names)
bxp(mybp)
See ?boxplot for details.
Best,
Ista
On Thu, Sep 28, 2017 at 12:40 PM, Ed Siefker wrote:
> I have data I'd like to plot using the formula interface to
Another way to think of this problem. If I could get my hands on the
vector of names boxplot()
is creating, I could use gsub() to replace '.' with '\n'.
Is there something I could run before boxplot() that would give me
that vector of names which
I could then pass to boxplot()?
On Thu, Sep 28,
I have data I'd like to plot using the formula interface to boxplot.
I call boxplot like so:
with(mydata, boxplot(count ~ geno * tissue))
I get a boxplot with x axis labels like "wt.kidney". I would like
to change the '.' to a newline. Where is this separator configured?
Thanks,
-Ed
Hi,
I want to draw a usual boxplot. I have one outliner way up. It makes my
boxes being drawn tiny. I do not want to delete the outliner as it is also
of ecological importance.
I know there is a way of drawing a second window on top of the boxplot which
starts at a different y-axis-scales and
Hi Tagmarie,
Have a look at gap.boxplot (plotrix).
JIim
On Mon, Sep 28, 2015 at 4:50 PM, Tagmarie wrote:
> Hi,
> I want to draw a usual boxplot. I have one outliner way up. It makes my
> boxes being drawn tiny. I do not want to delete the outliner as it is also
> of
Hi everybody,
I'm new and i need help very fast.
I will make a transparent boxplot overlap a beeswarm.
I don't want to use ggplot2, i will use ggplot.
Here is my own script but it doesn't worked.
Maybe you can help me.
Thanks in advance
Julia
require(beeswarm)#rohdaten boxplots
rm(list=ls())
I see that you have used
add = TRUE
in the boxplot call. Add only makes sense if there is already a plot to
which to add the boxplot. But your boxplot is first, so there isn't
anything to add it to.
Try doing the beeswarm plot first?
Will the two plots will have the same y axis ranges?
Minor
Boris Steipe boris.steipe at utoronto.ca writes:
Your workflow in principle is:
- read the image into an object for which you can obtain values-per-pixel
in a 2D structure;
- read the shapefile and convert into a polygon;
- determine the bounding box of the polygon;
- use the inout()
Dear all,
Thanks very much for your help! I will keep your suggestions in mind
and will get back to you if I get stuck!
On Tue, Jun 16, 2015 at 1:28 PM, Roger Bivand roger.biv...@nhh.no wrote:
Boris Steipe boris.steipe at utoronto.ca writes:
Your workflow in principle is:
- read the
Dear all,
I am trying to generate boxplots by giving a shapefile and an image as
input. The shapefile takes the pixel values from the image and shows
the distribution of pixels in the form of a boxplot.
Can somebody please tell me how I can execute this in R?
Many thanks!
--
Regards,
Preethi
Your workflow in principle is:
- read the image into an object for which you can obtain values-per-pixel in a
2D structure;
- read the shapefile and convert into a polygon;
- determine the bounding box of the polygon;
- use the inout() function of the splancs package to get a list of booleans
Jun 2015 21:44:39 +
To: kris.si...@research.uwa.edu.au, r-help@r-project.org
Subject: Re: [R] Boxplot function error-help required
In addition to the other answers, I would suggest that the next time you
get the could not find function message, try like this:
help.search('Boxplot
In addition to the other answers, I would suggest that the next time you
get the could not find function message, try like this:
help.search('Boxplot')
Among the output from that you should see
graphics::boxplot Box Plots
which should lead you to boxplot instead of
: Thu, 11 Jun 2015 19:20:46 +0800
To: r-help@r-project.org
Subject: [R] Boxplot function error-help required
Dear Sirm/Madam,
Just wondering if someone could help me. I've tried running a code on R
and the code includes the following:
Boxplot(~Acc_S$Acc, label=Acc_S$Subj)
But I receive
: kris.si...@research.uwa.edu.au
Sent: Thu, 11 Jun 2015 19:20:46 +0800
To: r-help@r-project.org
Subject: [R] Boxplot function error-help required
Dear Sirm/Madam,
Just wondering if someone could help me. I've tried running a code on R
and the code includes the following:
Boxplot(~Acc_S
On Jun 11, 2015, at 2:44 PM, MacQueen, Don wrote:
In addition to the other answers, I would suggest that the next time you
get the could not find function message, try like this:
help.search('Boxplot')
Spencer Graves uses RSiteSearch() as the underlying function for sos::findFn
--
-
From: macque...@llnl.gov
Sent: Thu, 11 Jun 2015 21:44:39 +
To: kris.si...@research.uwa.edu.au, r-help@r-project.org
Subject: Re: [R] Boxplot function error-help required
In addition to the other answers, I would suggest that the next time you
get the could not find function message, try
Dear Sirm/Madam,
Just wondering if someone could help me. I've tried running a code on R
and the code includes the following:
Boxplot(~Acc_S$Acc, label=Acc_S$Subj)
But I receive the following error message:
*Error: could not find function Boxplot*
I have tried installing all the packages
R is case sensitive.
try boxplot not Boxplot
On Thu, Jun 11, 2015 at 7:20 AM, Kris Singh
kris.si...@research.uwa.edu.au wrote:
Dear Sirm/Madam,
Just wondering if someone could help me. I've tried running a code on R
and the code includes the following:
Boxplot(~Acc_S$Acc,
Hi,
I wanted to have a different font for my x-axis and y-axis. How can I use
the par function to specify different font sizes for x and y axis? For
example:
x - matrix(rnorm(2000),200,10)
colnames(x) - letters[1:10]
par(cex.axis=0.5)
boxplot(x,cex=0.2)
But this sets the font size to 0.5 for
On 25/05/14 23:57, Brian Smith wrote:
Hi,
I wanted to have a different font for my x-axis and y-axis. How can I use
the par function to specify different font sizes for x and y axis? For
example:
x - matrix(rnorm(2000),200,10)
colnames(x) - letters[1:10]
par(cex.axis=0.5)
boxplot(x,cex=0.2)
Hi
Im producing boxplots based on factors and rearranging them by median (This
is for a Geochemistry element). Im giving each boxplot a unique color based
on its level (factor) name.
Im trying to produce a look up list to produce these colors as the order of
the boxplots will change from element
## Shane,
## This uses your color_list. Your other variables weren't included
in the email
## so I invented some data.
## I recommend bwplot() using panel=panel.bwplot.superpose
## and I also show how to use boxplot()
## install.packages(HH) ## if necessary.
library(HH)
##
Thanks very much, that worked superb!
On Thu, May 22, 2014 at 3:41 PM, Richard M. Heiberger r...@temple.eduwrote:
## Shane,
## This uses your color_list. Your other variables weren't included
in the email
## so I invented some data.
## I recommend bwplot() using
Something like:
tmp - boxplot(V ~ date, data=pippo, plot=FALSE)
bxp(tmp, at=sort(unique(pippo$date))
You may need to adjust the x-axis limits and the box widths.
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On
Dear R-users,
I want to plot boxplots of a single variable collected a few times during
almost one year and I would like the x-axis to recognize the date-class of the
variable.
I found some topics in the archive but:
- some questions were poorly posed
Hi,
May be this helps:
dat - read.table(text=Designation Basic
ASA .25
ASA .28
ASA .32
TASA .45
TASA .33
TASA .43,sep=,header=TRUE,stringsAsFactors=FALSE)
boxplot(Basic~Designation,data=dat,col=2:3)
#or
library(ggplot2)
You asked for basic training guides...
1. An Introduction to R ships with R. Did you miss it?
2. Google is your friend. There are a ton on the web. Search!
-- Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
Data is not information. Information is not knowledge. And
Hi, I have a data set that contains a set of universities and a number of
statistics about the performance of students on an exam. A sample of the table
follows:
Institutions_Name
Mean
Median
Minimum
Maximum
1Quartile
3Quartile
CENTRO UNIVERSITÁRIO LUTERANO DE MANAUS
58,5
57,5
0
98
The boxplot function calls other functions, the boxplot.stats function
calculates the stats, then the bxp function does the actual plotting. So
just look at the structure of the object that is passed to bxp, reformat
your data to that structure, and call bxp directly.
On Thu, Sep 26, 2013 at
On 09/27/2013 12:10 AM, Rodrigo César da Silva wrote:
Hi, I have a data set that contains a set of universities and a number of
statistics about the performance of students on an exam. A sample of the table
follows:
Institutions_Name
Mean
Median
Minimum
Maximum
1Quartile
3Quartile
my dataset looked like this in the beginning:
Daten
V1 V2 V3
1 Dosis Gewicht Geschlecht
2 06.62 m
3 06.65 m
4 05.78 m
5 05.63 m
I need box plots for V2 with all combination of V1 and V3, so I deleted the
(x=combin,y=value))+geom_boxplot()+facet_wrap(~V3,scales=free_x,ncol=2)
A.K.
- Original Message -
From: maggy yan kiot...@gmail.com
To: R-help@r-project.org
Cc:
Sent: Saturday, May 11, 2013 11:40 AM
Subject: [R] boxplot with grouped variables
my dataset looked like
It will not work because the presence of the first row means that all
the variables are read in as factors, not numeric. You must convert
numeric variables to numeric **after** eliminating the first row, or
read the data in using read.table(..., head=TRUE). See ?read.table for
details.
**After**
boxplot(V2~V1+V3, data=Daten)
S Ellison
From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of
maggy yan [kiot...@gmail.com]
Sent: 11 May 2013 16:40
To: R-help@r-project.org
Subject: [R] boxplot with grouped variables
my dataset looked
Help 2
Subject: [R] Boxplot Labels OK
Dear all,
I have just sent an enquiry but probably I hadn’t expressed myself properly.
Could anyone help me with the following?
When I run the code on my data I get a boxplot with outliers identified by
numbers 200 201.
However, what I would like
-
From: Jose Iparraguirre
Sent: Wednesday, April 10, 2013 10:19 AM
To: Beatriz González Domínguez ; r-help-ow...@r-project.org ; R Help 1 ; R
Help 2
Subject: RE: [R] Boxplot Labels OK
Beatriz,
In this case, use the car package and run the following:
bp - Boxplot(DATA$ave, data= DATA, main
#Dear all,
#Could anyone help me with the following?
#DATA
num - as.numeric(seq(100:125))
ave - c(0.5, 1, 1.6, 2, 2, 2.3, 2.5, 2.4, 3, 3.2, 3.3, 4, 4.8, 3.5, 2.7, 3.1,
2.8, 3.5, 4.1, 2.0, 2.5, 2.1, 3.4, 2.5, 2.6, 7)
DATA - data.frame(cbind(num, ave))
rm(num, ave)
#BOXPLOT
x11()
bp -
#Dear all,
#Could anyone help me with the following?
#DATA
num - as.numeric(seq(100:125))
ave - c(0.5, 1, 1.6, 2, 2, 2.3, 2.5, 2.4, 3, 3.2, 3.3, 4, 4.8, 3.5, 2.7, 3.1,
2.8, 3.5, 4.1, 2.0, 2.5, 2.1, 3.4, 2.5, 2.6, 7)
DATA - data.frame(cbind(num, ave))
rm(num, ave)
#BOXPLOT
x11()
bp -
-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Beatriz González Domínguez
Sent: 09 April 2013 16:17
To: R Help; r-help@r-project.org
Subject: [R] Boxplot Labels
#Dear all,
#Could anyone help me with the following?
#DATA
num - as.numeric(seq(100:125))
ave - c
-Original Message-
From: aguitatie...@hotmail.com
Sent: Tue, 9 Apr 2013 16:17:01 +0100
To: r-help-boun...@r-project.org, r-help@r-project.org
Subject: [R] Boxplot Labels
#Dear all,
#Could anyone help me with the following?
#DATA
num - as.numeric(seq(100:125))
ave - c(0.5, 1, 1.6, 2, 2
Dear all,
I have just sent an enquiry but probably I hadnât expressed myself properly.
Could anyone help me with the following?
When I run the code on my data I get a boxplot with outliers identified by
numbers 200 201.
However, what I would like is to label these outliers with their
-
From: aguitatie...@hotmail.com
Sent: Tue, 9 Apr 2013 16:17:01 +0100
To: r-help-boun...@r-project.org, r-help@r-project.org
Subject: [R] Boxplot Labels
#Dear all,
#Could anyone help me with the following?
#DATA
num - as.numeric(seq(100:125))
ave - c(0.5, 1, 1.6, 2, 2, 2.3, 2.5, 2.4, 3, 3.2, 3.3, 4
@r-
project.org] On Behalf Of John Kane
Sent: Tuesday, April 09, 2013 10:45 AM
To: Beatriz González Domínguez; R Help; r-help@r-project.org
Subject: Re: [R] Boxplot Labels
p - boxplot(dat1$ave, data= dat1, main= Average Size, yaxt = n)
text(1.1, , y = max(datDAT1$ave), label = 26, cex
Hello,
The answers you had in another thread could lead you to
bp - boxplot(DATA$ave, data= DATA, main= Average Size)
idx - which(DATA$ave %in% bp$out)
text(x= bp$group, y= bp$out, labels= DATA$num[idx], cex = 0.7, pos = 4)
Hope this helps,
Rui Barradas
Em 09-04-2013 17:31, Beatriz González
Domínguez
Cc: r-help-ow...@r-project.org ; R Help 1 ; R Help 2
Subject: Re: [R] Boxplot Labels OK
Hello,
The answers you had in another thread could lead you to
bp - boxplot(DATA$ave, data= DATA, main= Average Size)
idx - which(DATA$ave %in% bp$out)
text(x= bp$group, y= bp$out, labels= DATA$num
ON Canada
-Original Message-
From: annij...@gmail.com
Sent: Sat, 23 Mar 2013 10:22:02 -0400
To: jrkrid...@inbox.com
Subject: Re: [R] boxplot
Hello John,
I apologize for the delayed response. Yes I am referring to the same type
of data in the data sets. For example
...@inbox.com
*Subject:* Re: [R] boxplot
Hello John,
I apologize for the delayed response. Yes I am referring to the same type
of data in the data sets. For example, the arsenic concentrations in
individual groundwater monitoring wells at a groundwater contaminated site,
where one well may
Sent: Fri, 22 Mar 2013 10:46:21 -0400
To: dcarl...@tamu.edu
Subject: Re: [R] boxplot
Hello All,
On the subject of boxplots, I have multiple data sets of unequal sample
sizes and was wondering what would be the most efficient way to read in
the
data and plot side-by-side boxplots
[mailto:r-help-bounces@r-
project.org] On Behalf Of Jim Lemon
Sent: Thursday, March 21, 2013 4:05 AM
To: carol white
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [R] boxplot
On 03/21/2013 07:40 PM, carol white wrote:
Hi,
It must be an easy question but how to boxplot a subset of data
scales?
Or are you talking about essentilly independent data sets that it makes sense
to graph in a grid ?
John Kane
Kingston ON Canada
-Original Message-
From: annij...@gmail.com
Sent: Fri, 22 Mar 2013 10:46:21 -0400
To: dcarl...@tamu.edu
Subject: Re: [R] boxplot
Hello All
On the subject of boxplots, I have multiple data sets of unequal sample
sizes and was wondering what would be the most efficient way to read in
the data and plot side-by-side boxplots, with options for controlling
the orientation of the plots (i.e. vertical or horizontal) and the
spacing? Your
Hi,
It must be an easy question but how to boxplot a subset of data:
data = read.table(my_data.txt, header = T)
boxplot(data$var1[data$loc == nice]~data$loc_type[data$loc == nice])
#in this case, i want to display only the boxplot loc == nice
#doesn't display the boxplot of only loc == nice. It
On 03/21/2013 07:40 PM, carol white wrote:
Hi,
It must be an easy question but how to boxplot a subset of data:
data = read.table(my_data.txt, header = T)
boxplot(data$var1[data$loc == nice]~data$loc_type[data$loc == nice])
#in this case, i want to display only the boxplot loc == nice
#doesn't
University
College Station, TX 77843-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Jim Lemon
Sent: Thursday, March 21, 2013 4:05 AM
To: carol white
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [R] boxplot
On 03/21/2013 07:40
Hi,
I try to boxplot following data on the subset of (V1,V3,V5,V7) and
(V2,V4,V6,V8)
V1 V2 V3 V4 V5 V6 V7 V8
24 6 712 33 43 53
how can I use boxplot function to plot it?
thanks,
William
__
R-help@r-project.org mailing
v - c(V1=2, V2=4 ,V3=6 ,V4=7 ,V5=12 ,V6=33 ,V7=43 ,V8=53)
boxplot(v[seq(from=1, to=8, by=2)], v[seq(from=2, to=8, by=2)])
Sincerely
Marc
Le 13/03/13 23:14, wei wu a écrit :
Hi,
I try to boxplot following data on the subset of (V1,V3,V5,V7) and
(V2,V4,V6,V8)
V1 V2 V3 V4 V5 V6 V7 V8
2
On 03/06/2013 12:45 AM, km wrote:
Dear All,
I have a table as following
position type count
1 2 100
1 3 51
1 5 64
1 8 81
1 6 32
2 2 41
2 3 85
and so on
Normally if would have a vector of
Dear All,
I have a table as following
position type count
1 2 100
1 3 51
1 5 64
1 8 81
1 6 32
2 2 41
2 3 85
and so on
Normally if would have a vector of 2,3,4,5... by position position and
Nice boxplot but you forgot to tell us the issues :)
John Kane
Kingston ON Canada
-Original Message-
From: asir...@gmail.com
Sent: Sat, 9 Feb 2013 08:09:13 -0800
To: r-help@r-project.org
Subject: [R] Boxplot Issues
__
R-help@r
How to calculate the boxplots R? This question arises because we are building
manually boxplots, we consulted various literature sources for calculations
of the boxplot but our results differ from those generated by R, especially
when calculating the whiskers.
What is the procedure used by R to
On Nov 16, 2012, at 2:04 PM, Elli ellilti_...@hotmail.com wrote:
How to calculate the boxplots R? This question arises because we are building
manually boxplots, we consulted various literature sources for calculations
of the boxplot but our results differ from those generated by R, especially
On 17/11/12 09:04, Elli wrote:
How to calculate the boxplots R? This question arises because we are building
manually boxplots, we consulted various literature sources for calculations
of the boxplot but our results differ from those generated by R, especially
when calculating the whiskers.
What
= Diet_B )) +
geom_boxplot() +
xlab(Migration) + ylab(Distance)
p
John Kane
Kingston ON Canada
-Original Message-
From: r...@temple.edu
Sent: Mon, 24 Sep 2012 19:00:09 -0400
To: elaine.kuo...@gmail.com
Subject: Re: [R] boxplot of different colors
## I would do
Hello
I have two boxplots and want the names to be in italic, which works fine,
except that the second name (Sinapis) is raised, compared to the first name:
bicran-c(0.55,0.25,0.6,0.83,0.11,0,0.67,1.36,0.9,1.09)
bicsin-c(0.09,0.53,0.45,0.38,1.18,0.45,0.78,1.17,1.22,1.4)
On 09/25/2012 06:08 PM, Wolf Sarah wrote:
Hello
I have two boxplots and want the names to be in italic, which works fine,
except that the second name (Sinapis) is raised, compared to the first name:
bicran-c(0.55,0.25,0.6,0.83,0.11,0,0.67,1.36,0.9,1.09)
hello Richard,
Thank a lot.
The plot is breathtaking.
I would like to make three modifications.
Please kindly help and thanks.
1. making outliers from dash to empty circle (pch=2)
I tried plot.symbol as the code below but failed.
2. making font size of axis (levels) larger to 1.2
unsure where
Hello,
I am making a boxplot of 13 boxes.
I tried to color the box using 13 colors but failed.
Only red and brown were displayed.
Green, blue, and grey disappeared.
Please kindly advise modification after checking the code below.
Thank you in advance.
Elaine
R code
# data input
dataN
Hi Elaine,
Without a reproducible example it's impossible to say, but I'd take a
hard look at:
table(obs.group)
If that doesn't give you some insight, a small reproducible example
included in your email using dput() would allow us to answer you more
effectively.
Sarah
On Mon, Sep 24, 2012 at
## I would do this in lattice using the panel.bwplot.intermediate.hh
## function from the HH package.
## install.packages(HH) ## if necessary
library(HH)
dataN - data.frame(GE_distance=rnorm(260),
Diet_B=factor(rep(1:13, each=20)))
Diet.colors - c(forestgreen,
Hello Richard,
Your answer is a great help to my problem.
The boxplot of 13 colors is very beautiful :)
By the way, I have three subsequent questions of your code
1. the meaning of pch=rep(|,13)
I read the R manual but could not interpret the part.
pch means the point type in plot, but here
Hello Sarah,
Thanks for the suggestion of
table(obs.group).
I checked it and found no problems of the obs.group.
As for using dput(),
please kindly share some examples to display the colored graph in r-help.
In fact, some colors were assigned to all types of diets, like
A=red1
B=red2
C=green1
Hello,
I want to draw a boxplot using 13 colors for 13 boxes.
Each box represents a type of diet of birds.
Y axis is the breeding range of the birds.
I checked the previous r-help and found a possible solution.
However, it did not work by showing error in ncol(Diet_B), Diet_B not
found.
Please
See ?panel.bwplot for pch=|.
That explains that pch=| puts horizontal lines instead of dots at the
median(and also at the
outliers).
The rep makes it into a vector to be indexed by panel.bwplot.intermediate.hh
in each of its calls to panel.bwplot
The names under each plot are the levels of the
ok, I see now!
here it is the reproducible example along with the final code (aslo with
the median line instead of a point)
thank you all for the great help
max
# start code
library(lattice)
test-structure(list(site = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
thank you for the help, bert
unfortunately, for reasons I can not understand (yet) I can not put to
wortk it all
(I'm always in trouble with the panel functions);
max
Il 14/09/2012 18:38, Bert Gunter ha scritto:
Thanks for the example. Makes it easy to see what you mean.
Yes, if I
here it is, I think (I hope) I'm getting a little closer with this, but
still there is something to sort out...
error using packet 1
unused argument(s) (coef =1.5, do.out=TRUE)
by reading the help for panel.bwplot at the argument stats it says: the
function must accept arguments coef and
On Sep 17, 2012, at 4:18 AM, maxbre wrote:
here it is, I think (I hope) I'm getting a little closer with this, but
still there is something to sort out...
error using packet 1
unused argument(s) (coef =1.5, do.out=TRUE)
by reading the help for panel.bwplot at the argument stats it
Hello,
Em 17-09-2012 18:50, David Winsemius escreveu:
On Sep 17, 2012, at 4:18 AM, maxbre wrote:
here it is, I think (I hope) I'm getting a little closer with this, but
still there is something to sort out...
error using packet 1
unused argument(s) (coef =1.5, do.out=TRUE)
by reading the
Thanks for the example. Makes it easy to see what you mean.
Yes, if I understand you correctly, you are right:
boxplot() (base) transforms the axes, so ?boxplot.stats, which is the
function that essentially computes the boxplot, does so on the
original data.
bwplot(lattice) transforms the data
Given my reproducible example
test-structure(list(site = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L,
2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L,
3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 5L), .Label = c(A,
These are warnings and I think that you can safely ignore them.
It looks like the code should replace the line
if (x$datamean)
with something like
if (!is.null(x$datamean))
Yes, I think so too - thanks for reporting this.
David
__
Hello everybody,
I would like to make boxplots for my hierachical cluster, but only i found
a package that not works with the current version.
http://acccn.net/cr569/Rstuff/Minka/mining/html/boxplot.hclust.html
I hope you can help me. Thank you. Best regards, Dominic
library(cluster)
Hello everybody,
I have a problem with the commando of boxplot -bclust.
http://127.0.0.1:13155/library/e1071/html/boxplot.bclust.html
data(iris)
bc1 - bclust(iris[,1:4], 3, base.centers=5)
Committee Member: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1) 9(1) 10(1)
Computing Hierarchical Clustering
On 2012-09-03 08:34, Dominic Roye wrote:
Hello everybody,
I have a problem with the commando of boxplot -bclust.
http://127.0.0.1:13155/library/e1071/html/boxplot.bclust.html
data(iris)
bc1 - bclust(iris[,1:4], 3, base.centers=5)
Committee Member: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1)
Hi, im a newbie with very wobbly coding abilities.
Tearing my hair out over getting the boxplot i want...
I have a dataset called 'eagle' which consists of year (2011 or 2012), month
(jan - dec), roof (TT6, TT13 or BARE) and temp (the continuous variable that
i want to plot).
So i want boxplots
-Original Message-
From: freakyspe...@hotmail.com
Sent: Wed, 15 Aug 2012 05:34:55 -0700 (PDT)
To: r-help@r-project.org
Subject: [R] boxplot help
Hi, im a newbie with very wobbly coding abilities.
Tearing my hair out over getting the boxplot i want...
I have a dataset called 'eagle
Hi,
I recommend the use of panel.bwplot.intermediate.hh in the HH package.
This is a lattice function. Lattice usually gives you more control than
base graphics.
I build your example in several steps here.
Critical items to notice:
You must declare the months to be ordered; by default they are
hi thanks
the dput output is...
structure(list(Year = c(2011L, 2011L, 2011L, 2011L, 2011L, 2011L,
2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L,
2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L,
2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L, 2011L,
1 - 100 of 360 matches
Mail list logo