Hello all,
I wrote a small function to add labels for outliers in a boxplot.
This function will only work on a simple boxplot/formula command (e.g:
something like boxplot(y~x)).
Code + example follows in this e-mail.
I'd be happy for any suggestions on how to improve this code, for example:
: [R] boxplot - code for labeling outliers - any suggestions for
improvements?
Hello all,
I wrote a small function to add labels for outliers in a boxplot.
This function will only work on a simple boxplot/formula command (e.g:
something like boxplot(y~x)).
Code + example follows in this e
A simple alternative is to use at to contrl plot locations:
boxplot( ..., at=rev(1:nlevels(depthM)))
which just rearranges where they are plotted.
Example:
set.seed(1023)
x - gl(5, 5)
y-rnorm(25)
boxplot(y~x, horizontal=TRUE)
boxplot(y~x, at=rev(1:nlevels(x)), , horizontal=TRUE)
Steve E
Hello,
Searching this forum has enabled me to get pretty far in what I'm trying to
do. However, there is one more manipulation I would like to make and I
haven't found a solution. Using the data and code below, I generate the
plot produced by the last command. If possible I would like to
On 21.11.2010 20:30, emorway wrote:
Hello,
Searching this forum has enabled me to get pretty far in what I'm trying to
do. However, there is one more manipulation I would like to make and I
haven't found a solution. Using the data and code below, I generate the
plot produced by the last
Hello List,
I have a time serie of observations representing the activity of some users in
different time periods, like:
table(obs1)
user1 user2 user3 user31 user33 user4 user5 user6 user7 user8 user82
user83 user85 user9
1 1 3 1 1 1
Dear R users,
x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect
stages)
y-valus = antpop
within the boxplot function x-values are ordered alphabetically
Idea: x-values ranked by list order (insect stage: Egg stage 1 is
followed by Larvae 1 and not by Egg stage 2 as it
Sibylle -
Since you didn't give a reproducible example, I'll try
to make one that will illustrate what you need to know to
answer your question.
Suppose we have a variable with levels four,five,
and six.
ff = factor(rep(c('four','five','six'),c(5,7,2)))
Since the table() function will
On 10/16/2010 12:50 AM, Jonas Josefsson wrote:
Hi!
I am trying to produce a graph which shows overlap in latitude for a
number of species.
I have a dataframe which looks as follows
species1,species2,species3,species4.
minlat 6147947,612352,627241,6112791
maxlat
Hi!
I am trying to produce a graph which shows overlap in latitude for a
number of species.
I have a dataframe which looks as follows
species1,species2,species3,species4.
minlat 6147947,612352,627241,6112791
maxlat 7542842,723423,745329,7634921
I
A) you hijacked another thread.
On Oct 15, 2010, at 9:50 AM, Jonas Josefsson wrote:
Hi!
I am trying to produce a graph which shows overlap in latitude for a
number of species.
I have a dataframe which looks as follows
species1,species2,species3,species4.
minlat
You should provide raw data to boxplot(), not summary stats.
If you want to input summary stats, there was a post some time ago on that:
http://finzi.psych.upenn.edu/Rhelp10/2010-September/251674.html
\quoate
Overwriting $stats did the job for me. I wanted to show the effect of using
Hello!
I am using box plot and one of my boxes has only one whisker. How can I
change this?
Code:
bp-c(2.7, 3.1, 3.5, 8.95)
Methode1 - quantile(bp,type = 7)
Methode2 - quantile(bp,type = 2)
d-data.frame(Methode1,Methode2)
boxplot(d,ylab = Beispiel 1,range = 1.5)
Try with more data points?!
You have only five points, the last one being considered as outlier.
Note that boxplot() requires a numeric vector for specifying data from
which the boxplots are to be produced!
HTH
Ivan
Le 10/13/2010 09:50, tom a écrit :
Hello!
I am using box plot and one of
Ivan Calandra wrote:
Try with more data points?!
You have only five points, the last one being considered as outlier.
Note that boxplot() requires a numeric vector for specifying data from
which the boxplots are to be produced!
But why is only one of the boxplots missing his whisker?
Well, you don't use the same data for both.
Type 2 and 7 give different values for the 25 and 75%, which correspond
more or less to the box hinges.
If you take a look at how the whiskers are defined (look at ?boxplot.stats):
|coef| this determines how far the plot ‘whiskers’ extend out from
On Oct 13, 2010, at 5:06 AM, Ivan Calandra wrote:
Well, you don't use the same data for both.
Type 2 and 7 give different values for the 25 and 75%, which
correspond more or less to the box hinges.
If you take a look at how the whiskers are defined (look at ?
boxplot.stats):
|coef| this
Dear Felipe,
Assuming you are not interested in the exact formulae that are used to
calculate each of these, from top to bottom it is:
minimum, lower quartile, median, upper quartile, maximum
If there are dots, these usually indicate outliers.
Please read ?boxplot for more details on what R
http://www.netmba.com/statistics/plot/box/
...found via Google search.
HTH,
Dennis
On Tue, Sep 28, 2010 at 10:06 PM, Luis Felipe Parra
felipe.pa...@quantil.com.co wrote:
Hello, does somebody know in a boxplot, what does each element in the
boxplot represent?
1. lines at the extremes of
Hello, does somebody know in a boxplot, what does each element in the
boxplot represent?
1. lines at the extremes of the dotted lines?
2. Extremes of the boxes
3. Black line in the middle of the box?
4. notches?
Thank you
Felipe Parra
[[alternative HTML version deleted]]
x=1:16
S=summary(x)
S
Min. 1st Qu. MedianMean 3rd Qu.Max.
1.004.758.508.50 12.25 16.00
S[-4]
Min. 1st Qu. Median 3rd Qu.Max.
1.004.758.50 12.25 16.00
par(mfrow=c(1,2))
boxplot(S[-4]) # based on the summarized stats
boxplot(x)
-
project.org] On Behalf Of Brian Diggs
Sent: Thursday, September 09, 2010 1:41 PM
To: David A.
Cc: R-help
Subject: Re: [R] boxplot knowing Q1, Q3, median, upper and lower
whisker value
On 9/6/2010 8:46 AM, David A. wrote:
Dear list,
I am using a external program that outputs Q1, Q3, median
is.nan(bd.coerce(as.bdVector(c(1.0, N -Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Brian Diggs
Sent: Thursday, September 09, 2010 12:41 PM
To: David A.
Cc: R-help
Subject: Re: [R] boxplot knowing Q1, Q3, median,upper
On 9/6/2010 8:46 AM, David A. wrote:
Dear list,
I am using a external program that outputs Q1, Q3, median, upper and
lower whisker values for various datasets simultaneously in a tab
delimited format. After importing this text file into R, I would like
to plot a boxplot using these given
Dear list,
I am using a external program that outputs Q1, Q3, median, upper and lower
whisker values for various datasets simultaneously in a tab delimited format.
After importing this text file into R, I would like to plot a boxplot using
these given values and not the original series of
Hi Dave,
You can look at the function ?bxp it might work for you. Alternately,
create a meaningless boxplot object, and then just edit that data, in
which case I know it will work with bxp().
# Create a boxplot, the data does not matter
x - boxplot(1:10)
x # view the data for the boxplot
On 2010-07-13 12:11, Robert Peter wrote:
Hello!
I am trying to scale the outliers in a boxplot. I am passing pars =
list(boxwex=0.1, staplewex=0.1, outwex=0.1) to the boxplot command. The
boxes are scaled correctly, but the circles (outliers) are not scaled at
all, and thus pretty big compared
Hello!
I am trying to scale the outliers in a boxplot. I am passing pars =
list(boxwex=0.1, staplewex=0.1, outwex=0.1) to the boxplot command. The
boxes are scaled correctly, but the circles (outliers) are not scaled at
all, and thus pretty big compared to the boxes scaled with 0.1.
Am I
how to use boxplot on all the columns from he date frame instead of manually
entering the columns like below
bhtest1 - read.table(bhtest1.txt, header=TRUE)
boxplot (bhtest1[,2], bhtest1[,3], bhtest1[, 4], bhtest1[,5], bhtest1[,6],
bhtest1[,7])
please help, Thanks,
--
View this
Actually,
boxplot (bhtest1)
Should do what you want...
Tal
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com
On Sun, Jul 11, 2010 at 11:17 PM, Tal Galili tal.gal...@gmail.com wrote:
Actually,
boxplot (bhtest1)
Should do what you want...
Just a quick follow up, if you wanted a separate plot for each column
(I'm imagining the data resulting from your cbind() of 30 files in
your other thread for
Hi everyone,
I made this set of boxplots that would show me the widths of some sites
broken up by some chromosome, but I don't know how to make it indicate the
number of data points that created the boxplot.
How do I do that?
boxplot(data$site~data$chr,varwidth='TRUE')
--
View this message
Does:
boxplot(data$site~data$chr, varwidth=TRUE)
(notice I removed the ' ' from the 'TRUE')
Work ?
Contact
Details:---
Contact me: tal.gal...@gmail.com | 972-52-7275845
Read me: www.talgalili.com (Hebrew) |
it works with the 'TRUE' as well but this only shows me the boxplots width;
it doesn't show me the number of data points used though.. This is what I
can't figure out
--
View this message in context:
http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2266932.html
Sent from the R help mailing
On Jun 24, 2010, at 7:45 AM, nana wrote:
Hi everyone,
I made this set of boxplots that would show me the widths of some
sites
broken up by some chromosome, but I don't know how to make it
indicate the
number of data points that created the boxplot.
How do I do that?
nana,
If you save the boxplot as an R object, you can access various parameters of
the resulting plot. Since we don't have your data, I'll give you an example
with the preloaded ToothGrowth dataset:
ToothGrowth-y
b-boxplot(y$len~y$dose,xaxt=n)
Now, if you type b at the R prompt, you will see
Hi
r-help-boun...@r-project.org napsal dne 24.06.2010 15:18:39:
it works with the 'TRUE' as well but this only shows me the boxplots
width;
it doesn't show me the number of data points used though.. This is what
I
can't figure out
Save your boxplot call to same object
bbb -
Thank you. It worked.
Regards
--
View this message in context:
http://r.789695.n4.nabble.com/boxplot-width-tp2266805p2267050.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Hi R users,
This seems like a simple problem but I have searched nabble for the answer
and can't seem to find it.
All I want to do is produce a boxplot where I have two boxes for one
Individual but on the xaxis I only have one tick mark centred between the
boxes so I can add the Individuals'
Hi Ross,
You are indeed missing something simple. If there are 60 bars, the axis
runs from 1 to 60, and you want a label at every second one, rather than
at every one.
Like this (with 10 instead of 60):
testdata - matrix(runif(100), ncol=10)
boxplot(testdata, xaxt=n)
axis(1, at=seq(1.5, 9.5,
hi,
i'm using /boxplot()/ to show some data:
x - c(0.99, 0.97, 0.91, 0.72, 1.00, 0.99, 1.02, 0.90, 0.91, 0.90, 1.02,
0.90, 1.35, 1.01, 0.92)
boxplot(x)
is it correct when i say: /Boxes represent interquartile ranges (IQRs);
bold horizontal lines, medians; whiskers, lowest and highest values
On 2010-06-04 0:14, Thomas von Känel wrote:
hi,
i'm using /boxplot()/ to show some data:
x- c(0.99, 0.97, 0.91, 0.72, 1.00, 0.99, 1.02, 0.90, 0.91, 0.90, 1.02,
0.90, 1.35, 1.01, 0.92)
boxplot(x)
is it correct when i say: /Boxes represent interquartile ranges (IQRs);
bold horizontal lines,
Dear R-Experts.
I collected different datas about Nitrogen content (mg/ml) in Dung. The dung
was eighter fresh (day=0) or had different ages (15,29,47) to observe nutrient
changes over time.
Now I like to draw a boxplot.
boxplot(nmgml~day)
abline((nmgml~day)
The Problem is, that the boxplot
You can use the bwplot panel in the HH package.
You might need to install HH first, by uncommenting the line below.
girafe.txt - textConnection(
day nmgml
1 29 2.72655
2 29 2.48820
3 15 2.85945
4 15 2.58915
5 15 2.88345
6 15 2.66675
7 47 3.29125
8 15 2.44085
9 29 2.43065
One option could be:
# Using Richard's example
boxplot(nmgml ~ factor(day, levels = do.call(seq,
as.list(range(girafe$day,
data = girafe, xaxt = 'n')
axis(1, at = unique(girafe$day))
On Wed, May 12, 2010 at 10:30 AM, Mächler Marc Jaques ma...@student.ethz.ch
wrote:
Dear R-Experts.
Hi:
Here are a couple of ways to superimpose the boxplots with a line, using
lattice and latticeExtra.
Notice that the boxplots are located at the observed x values - the idea
comes straight out of the
example on p. 183 of the Lattice book.
library(lattice)
library(latticeExtra)
# Connect the
Dennis, this works for me:
xyplot(nmgml ~ day, data = girafe, horizontal = FALSE,
panel = function(...) {
panel.bwplot(...)
panel.average(..., fun = median, col.line = 'gray30')
}
)
On 13 May 2010 06:29, Dennis Murphy djmu...@gmail.com wrote:
Hi:
Here
hello,
i can't figure out how to change the vertical position of my x axis labels..
boxplot(c(1:12)~c(rep(1,6),rep(2,6)),at=c(1,2),
col=c(0,grey),las=1,xaxt=n)
### i put paragraphs in the x-labels because of limited horizontal space
axis(1,at=c(1,2),adj=1,labels=c(Salix
Scrub,Tall
Forb))
On Mar 16, 2010, at 9:37 AM, Kay Cichini wrote:
hello,
i can't figure out how to change the vertical position of my x axis
labels..
boxplot(c(1:12)~c(rep(1,6),rep(2,6)),at=c(1,2),
col=c(0,grey),las=1,xaxt=n)
### i put paragraphs in the x-labels because of limited horizontal
space
In the function boxplot: Is it possible to have the numbers on the vertical
axix written horizontally (so that tilting of the head is unneccessary)?
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
-help-boun...@r-project.org] On Behalf Of ErikRH
Sent: Thursday, 18 February 2010 9:06 a.m.
To: r-help@r-project.org
Subject: [R] boxplot - vertical axis
In the function boxplot: Is it possible to have the numbers
on the vertical axix written horizontally (so that tilting of
the head
The boxplot below is close to what I would like, but needs some clean up.
I've been unable to address the following:
1) How can I use the full extent of the plot space (there is white space on
either side of the data)?
2) How can I reduce the # of month labels (e.g. every 3rd month Jan Mar
Hello Jim,
I tried your approach on box plot, and it is useful.
Thanks.
However, I wanna add the mean value right or left to the mean point. (as
attached)
Please kindly share if it is possible and thanks again.
Elaine
On Sat, Jan 2, 2010 at 5:01 PM, Jim Lemon j...@bitwrit.com.au wrote:
On
Dear Rexperts,
I am trying to add a '+' identifying the mean in a boxplot using the
following
sizelist - split(size, grp)
centers - boxplot(sizelist, style.bxp = att, medpch = o,
ylab = Prostate Volume (cm3))
points(centers, unlist(lapply(sizelist, mean)), pch = +)
But, I
Hi:
Try this:
First put your data into a data frame (it's not necessary, but it's easier)
ol - data.frame(grp = grp, size = size)
boxplot(size ~ grp, data = ol, style = 'att', medpch = o,
ylab = Prostate Volume (cm3))
mns - with(ol, tapply(size, grp, mean))
points(1:5, mns, pch = '+')
elaine kuo wrote:
Now I am learning to draw boxplot using graphics(). I want to change the
vertical line penetrating the box from dashed line to solid line
Check the documentation on bxp; there is an example mimic S-Plus that
shows how to customize boxplot.
Dieter
--
View this
Dear Dieter,
Thanks for the info.
However, I did not know which document you refer to.
Please kindly indicate the website or the source.
Thank you
Elaine
On Mon, Jan 4, 2010 at 4:24 PM, Dieter Menne
dieter.me...@menne-biomed.dewrote:
elaine kuo wrote:
Now I am learning to draw boxplot
On 01/02/2010 12:53 PM, elaine kuo wrote:
Dear,
I am a newbie to R.
Now I am learning to draw boxplot using graphics().
I want to highlight the median position
with a round point and the value left (or on the top of)to the point.
Hi Elaine,
For your boxplot questions, I'll use the
Hello,
I am a newbie to R.
Now I am learning to draw boxplot using graphics().
I want to change the default setting of y asix.
from 0, 0.1, 0.2,0.8
to 0, 0.4, 0.8.
Please kindly share the command and thank you.
Elaine
[[alternative HTML version deleted]]
Dear,
I am a newbie to R.
Now I am learning to draw boxplot using graphics().
I want to change the vertical line penetrating the box
from dashed line
to solid line
Please kindly share the command and thank you.
Elaine
[[alternative HTML version deleted]]
Dear,
I am a newbie to R.
Now I am learning to draw boxplot using graphics().
I want to highlight the median position
with a round point and the value left (or on the top of)to the point.
Please kindly share the command and thank you.
Elaine
[[alternative HTML version deleted]]
Dear Elaine,
The posting guide is
http://www.R-project.org/posting-guide.htmlhttp://www.r-project.org/posting-guide.html
bests
milton
On Fri, Jan 1, 2010 at 8:53 PM, elaine kuo elaine.kuo...@gmail.com wrote:
Dear,
I am a newbie to R.
Now I am learning to draw boxplot using graphics().
Peter Ehlers wrote:
If there's been an answer to this, I've missed it.
Here's my take.
Antje wrote:
Hi there,
I was wondering if anybody can explain to me why the boxplot ends up
with different results in the following case:
I have some integer data as a vector and I compare the stats of
Antje wrote:
Peter Ehlers wrote:
If there's been an answer to this, I've missed it.
Here's my take.
Antje wrote:
Hi there,
I was wondering if anybody can explain to me why the boxplot ends up
with different results in the following case:
I have some integer data as a vector and I compare
Hi there,
I was wondering if anybody can explain to me why the boxplot ends up
with different results in the following case:
I have some integer data as a vector and I compare the stats of boxplot
with the same data divided by a factor.
I've attached a csv file with both data present (d1,
If there's been an answer to this, I've missed it.
Here's my take.
Antje wrote:
Hi there,
I was wondering if anybody can explain to me why the boxplot ends up
with different results in the following case:
I have some integer data as a vector and I compare the stats of boxplot
with the same
Hi,
I have simple query
In which package drawBoxplot function is available?
Regards,
Sukhbir Singh Rattan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
I believe
drawBoxplot doesn't exist.
Are you looking for
?boxplot
?
Tal
--
My contact information:
Tal Galili
E-mail: tal.gal...@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general,
-help@r-project.org
Cc: Silvano silv...@uel.br
Sent: Wednesday, October 28, 2009 10:08 AM
Subject: Re: [R] boxplot, data frame and html
Hello Silvano,
'hwrite' appends HTML elements in a web page. The web page
has to be opened before adding elements in it.
The following code should work
Hi,
I'm trying put in same page:
- a data frame with 3 columns and 45 lines;
- a box plot;
the code is:
require(hwriter)
hwrite(t1000[,c(1,5,6)], 'T1000.html', bgcolor='#ffdc98',
row.bgcolor='#ffdc98', br=TRUE)
p = openPage('T1000.html')
hwriteImage('caixa.jpg', p, br=TRUE)
Hello Silvano,
'hwrite' appends HTML elements in a web page. The web page has to be
opened before adding elements in it.
The following code should work:
require(hwriter)
p = openPage('T1000.html')
hwrite(t1000[,c(1,5,6)], p, bgcolor='#ffdc98',
row.bgcolor='#ffdc98', br=TRUE)
--- *** Disclaimer *** ---
This e-mail and its contents are subject to the SA Reserve Bank's
Disclaimer and Confidentiality Clause, which can be viewed at:
http://www.reservebank.co.za/disclaimer
Should you be unable to access the link provided, please send
Dear All,
Is there some way of drawing a boxplot, with R, when one does not have
the original continuous data, but only the data grouped in classes?
The function boxplot() can only deal with original data.
Thanks in advance,
Paul
__
Paul Smith phh...@gmail.com wrote
Is there some way of drawing a boxplot, with R, when one does not have
the original continuous data, but only the data grouped in classes?
The function boxplot() can only deal with original data.
It's not clear how the data are, now. What are the classes? Are
On Thu, Oct 22, 2009 at 04:36:22PM +0100, Paul Smith wrote:
Is there some way of drawing a boxplot, with R, when one does not have
the original continuous data, but only the data grouped in classes?
The function boxplot() can only deal with original data.
Do you mean a numeric vector grouped
On Thu, Oct 22, 2009 at 5:31 PM, Jakson A. Aquino
jaksonaqu...@gmail.com wrote:
Is there some way of drawing a boxplot, with R, when one does not have
the original continuous data, but only the data grouped in classes?
The function boxplot() can only deal with original data.
Do you mean a
Hi,
I m not able to plot normalized data(normalization by rma) using boxplot. I
don't know why?
basically, object(formed of normalized data) belong to ExpressionSet class.
It is showing error
Error in x[!xna] : object of type 'S4' is not subsettable
In addition: Warning messages:
1: In is.na(x)
Hi,
I'm working with a data.frame containing values between 0 and 22000.
Most of the values are actually between 0 and 50 and the high ones are
outliers.
I want to generate a boxplot and since the outliers are extremely
high, I need to scale the y scale logarithmically. Otherwise one
much smaller.
--- On Thu, 8/20/09, Anne Skoeries h...@anne-skoeries.de wrote:
From: Anne Skoeries h...@anne-skoeries.de
Subject: [R] boxplot with log=y and values starting at 0
To: r-help@r-project.org
Received: Thursday, August 20, 2009, 9:15 AM
Hi,
I'm working with a data.frame
On 20/08/09 14:15, Anne Skoeries wrote:
Hi,
I'm working with a data.frame containing values between 0 and 22000.
Most of the values are actually between 0 and 50 and the high ones are
outliers.
I want to generate a boxplot and since the outliers are extremely
high, I need to scale the y scale
Johnson, Roger W. wrote:
Any suggestions on how I can produce the same title using the boxplot
command?
If you use LaTeX you could try the tikzDevice package (
https://r-forge.r-project.org/projects/tikzdevice/ ). In that case you
would use:
main = paste('\\mu =',mu,', \\lambda
Try this:
boxplot(1:5, main = bquote(mu == .(mu) * , ~ lambda == .(lambda) *
, ~ trunction == .(truncation) * , ~ N[T] == .(n)))
On Sun, Aug 2, 2009 at 8:37 PM, Johnson, Roger
W.roger.john...@sdsmt.edu wrote:
Hi -
I've been using the option
main=bquote(paste(mu==.(mu),,
Thank you! (This works.)
Roger
From: Gabor Grothendieck [ggrothendi...@gmail.com]
Sent: Monday, August 03, 2009 12:29 PM
To: Johnson, Roger W.
Cc: r-help@R-Project.org
Subject: Re: [R] boxplot( ) headers with Greek letters, values, and text
Try
Hi -
I've been using the option
main=bquote(paste(mu==.(mu),, ,lambda==.(lambda),,
,truncation==.(truncation),, ,N[T]==.(n)))
to produce a title when using the plot command - a title which includes
variable names (two Greek)
along with their values.
The above option, however, does not work
Dear R users,
I am having problems making a boxplot across time. I wish to plot the
Values (y-axis) against Date (x-axis) but would like the Date to be
sequential from 2007-11-15 until 2008-01-31 (therefore there will be lots of
NA's e.g. from 2007-11-16 to 2007-11-26 nothing will show in the
Yes, I have tried to change plot dimensions using the height and width
functions for layout, but this only seems to change the matrix
dimensions the plots stay the same size. I am probably doing something
wrong, but I don't know what.
David Winsemius wrote:
Have you actually looked at the
Hey everybody,
I am trying to generate multiple boxplots on one page by using the layout ()
function. This works really well but the plots are always badly proportioned
(3 times wider than high) and much too small to be easily readable. I have
tried reducing margins to allow for bigger plots,
Have you actually looked at the help page for layout()?
--
David Winsemius
On Jun 14, 2009, at 7:35 AM, luscinia wrote:
Hey everybody,
I am trying to generate multiple boxplots on one page by using the
layout ()
function. This works really well but the plots are always badly
amor Gandhi wrote:
Hi gues,
This should read: Hi, guess what I want
amor Gandhi wrote:
Is there any function in R for boxplot with different time points?
t1 - c(rep(1,20),rep(2,20))
t2 - c(rep(1,10),rep(2,10),rep(1,10),rep(2,10))
x - rnorm(40,5,1)
dat - data.frame(t1,t2,x)
Hi gues,
Is there any function in R for boxplot with different time points?
t1 - c(rep(1,20),rep(2,20))
t2 - c(rep(1,10),rep(2,10),rep(1,10),rep(2,10))
x - rnorm(40,5,1)
dat - data.frame(t1,t2,x)
boxplot(x~t1,t2)
Many thanks,
Amor
[[alternative HTML version deleted]]
I don't understand what you want.
On Wed, May 27, 2009 at 6:52 PM, amorigan...@yahoo.de wrote:
Hi gues,
Is there any function in R for boxplot with different time points?
t1 - c(rep(1,20),rep(2,20))
t2 - c(rep(1,10),rep(2,10),rep(1,10),rep(2,10))
x - rnorm(40,5,1)
dat -
Hi there,
I'm trying to solve a boxplot problem (should be simple, but I cannot find the
solution...):
data - list(long_name1_xxx = rnorm(100),
long_name2_yy = rnorm(200))
boxplot(data , las = 2, mar = c(20,4,4,4))
Why does the margin not change
boxplot() isn't passing extra parameters in the way you'd expect. If
you set par() first, it works fine.
mar.orig - par()$mar # save the original values
par(mar = c(20,4,4,4)) # set your new values
boxplot(data, las = 2)
par(mar = mar.orig) # put the original values back
Sarah
On Wed, Apr 29,
I knew the solution would be kind of simple...
Thanks a lot, Sarah!
Sarah Goslee schrieb:
boxplot() isn't passing extra parameters in the way you'd expect. If
you set par() first, it works fine.
mar.orig - par()$mar # save the original values
par(mar = c(20,4,4,4)) # set your new values
Hello !
I have a dataframe with 6 variables (A1,A2,B1,B2,C1,C2) and 1 factor (F).
I would like to produce a graph consisting of 3 boxplots sets, one for every
two variables (i.e A1 A2) by the factor (F).
I was looking around and I cannot figure it out, any suggestions?
Best Regards,
Check out ggplot2:
http://had.co.nz/ggplot2
especially:
http://had.co.nz/ggplot2/geom_boxplot.html
But you are strongly advised to read the book:
http://had.co.nz/ggplot2/book/
On Thu, Apr 23, 2009 at 12:13 PM, Gabriel R. Rodriguez
garo...@cnia.inta.gov.ar wrote:
Hello !
I have a
Hei,
the error message below just tells you that you have specified nine places along the axis where you want to have labels (i.e. at=1:9) but
obviously you have only specified three labels (i.e. labels = c(C,M,S)). Thus, R is complaining that there are not enough labels for
all positions.
Thank you very much Annette,
With your help I can do exactly what I wanted to.
Best wishes,
-Pooja
On 26 Mar 2009, at 06:59, Annette Heisswolf wrote:
Hei,
the error message below just tells you that you have specified nine
places along the axis where you want to have labels (i.e. at=1:9)
Hi,
I have data that looks like this:
ASA1ASA2C1_C2
C M 9.0225
S S 2.4315
M C 3.4894
M S 4.5282
C M 1.3183
C S 1.3735
S C 1.0488
S M 7.948
M C 4.5827
I need to plot Boxplots for
Thank you very much for you help...
Carlos J. Gil Bellosta wrote:
Hello,
The following code may help you:
my.matrix - matrix( rnorm(16), ncol = 4 )
boxplot( my.matrix ~ col( my.matrix ) )
Best regards,
Carlos J. Gil Bellosta
http://www.datanalytics.com
On Sun,
201 - 300 of 360 matches
Mail list logo