Displaying 20 results from an estimated 2000 matches similar to: "text in boxplots"
2007 Oct 24
3
Partial aggregate on sorted data
Hi All,
I'm looking for ways to compute aggregate statistics (with the aggregate
function) but with an option for sorting and selecting a subset of the data
frame. For example, I have would like to turn this :
aggregate(myDataframe$TargetValue,list(SomeFactor =
myDataframe$SomeFactor),mean)
into something like
aggregate(myDataframe$TargetValue,list(SomeFactor =
2007 Sep 27
1
Cairo on windows
Hi All,
I just installed Cairo on R 2.5.1 on windows XP. My hope was to get to see
the transparency output e.g. http://had.co.nz/ggplot2/stat_smooth.html
ggplot2 - stat_smooth , which I finally managed to do. However, I find the
Cairo device, which I access either through CairoWin() or Cairo(type="win"),
is pretty shaky in a number of respects :
- whatever portion of the Cairo
2013 Apr 09
4
Converting matrix to data frame without losing an assigned dimname
Hello All,
Would like to be able to convert a matrix to a dataframe without losing an assigned dimname.
Here is an example that should illustrate what I'm talking about.
tableData <- state.x77[c(7, 38, 20, 46), c(7, 1, 8)]
names(dimnames(tableData)) <- c("State", "")
tableData
State Frost Population Area
Connecticut 139 3100 4862
2007 Aug 31
2
Automatic anchors for text boxes
Hi All,
I'm struggling to add text automatically to plots. I have a series of
scatterplots that I have stored in a script because the underlying data
changes often and the plots need to be regenerated. I use the scatterplot
function (defined in Rcmd, I believe). When one of the variables is a
factor, a boxplot is drawn over the scatter of the other variable. In the
case where x is a
2006 Jan 04
5
multiple lowess line in one plot
I'm using this code to plot a smoothed line. These two columns of data
really represent 4 groups and I'd like to plot a separate line for each
group but have them all in the same plot. The R-Docs for lowess do not
seem to indicate some type of "GROUPS=var_name" option. What would be
the syntax for this?
plot(AWGT ~ lipid )
lines(lowess(lipid , AWGT, f=.8))
--
Dean
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
2010 Nov 29
1
surpressing tickmarks / labels x-as for two sets of boxplot (plotted as stacked boxplots)
Hello,
I am trying to plot two sets of boxplots together. These are estimates of two
experiments and?seven?factors.
The results of the two experiments I want to plot as boxplots stacked to each
other.
Therefore I plot first the results of the first experiment; and next with the
add option the second set of boxplots.
The boxplots are plotted at 'at = 1:7 - 0.15 for the first experiment and
2011 Mar 09
1
state.x77 dataset
I tried:
> data(state.x77)
Warning message:
In data(state.x77) : data set 'state.x77' not found
data(iris) seems to work fine, but the other state datasets (which I haven’t every tried before) don’t seem to be available
on my windows 7 running R 2.12.2 installation.
?state brings up the state help page page which suggest the dataset should still be there. In help there still seems to
2009 Jan 11
2
connecting boxplots
Hii,
I created some boxplots with this commands:
x <-read.table(file="test.txt")
x$group <- rep(1:8, each=5)
boxplot(V3~gruppe, data=x)
Now, I will connect the boxplots to each other to the min, max and median
values.
Can anybody help me how to do it ?
greetings,
J
--
View this message in context: http://www.nabble.com/connecting-boxplots-tp21405459p21405459.html
Sent from
2008 Sep 21
2
r format questions
Hi,
1) I have noticed that when I use the aggregate function it outputs numbers in the results. for example:
aggregate by product
group.1 Aggregate
1 ProductA 1000400.00
2 ProductB 23232323.00
3 Missing 232323.00
is there a way to suppress the numbers infront of aggregate outputs. I checked and they don't look like columns when I do a summary so I can't -1
2010 Feb 22
1
Boxplots with similar number of classes....
I have four boxplots, stacked on top of one another (vertically). There are
five classes that the continuous variable is set against. The problem I have
is the data for the second boxplot only contains values for four of the five
classes.
I would like to include the space in this graph so there is a continuity for
all of the boxplots, in terms of number of classes. I would include a set of
2013 May 12
2
need means on all boxplots, but only half of them got that
I tried to draw a point on all boxplots for their means, I did:
boxplot( Daten$weight~interaction(Daten$Dosis,Daten$sex, drop=TRUE))
means<-tapply( Daten$weight, Daten$Dosis, mean)
points(means, pch=5, col="red", lwd=5)
but only the boxplots for male got that point on them, its really weird
because I don't think that I separated the sex in the codes above
[[alternative HTML
2005 Sep 26
2
questions about boxplots
Hi, there.
I have two questions about using R to create boxplots.
1. The function boxplot() plots the outliers. How can I label the exact
values arount these outlier points? Does R have an option allow me to
do that?
2. How can I put two boxplots in one x-y axis?
Thanks.
Yulei
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Yulei He
276 Grove St. Apt 3
Newton, MA 02466
617-796-7834(H)
2008 Jul 07
2
indicating significant differences in boxplots
Hi all!
Writing a paper using a lot of boxplots I was asked to mark the
significant differences between plotted groups using "stars on
top".
These stars are found freqeuntly in medical papers and printed
above boxplots when there is a significant difference (usually using a
bar to indicate which groups are meant if there are more then two in a
plot).
I was able to calculate whatever
2008 Nov 13
1
Boxplots with different variables and different ranges in R
Dear all,
I am trying to make boxplots in one diagram but it is not working. Actually I have a large dataset, around 35 water quality variables with different units and of course in different ranges (some are orders of magnitude bigger than others). I want to produce one diagram with all the boxplots of the variables of my dataset.
I tried these series of commands:
>oldpar <-
2012 Aug 16
2
multiple boxplots on the same figure - reducing space in between
Hi
I have two vectors of integers and I am plotting a box plot that contains
both vectors. I have done the following:
vec1 < -scan("file1")
vec2 < -scan("file2")
boxplot(vec1, vec2, range=0, horizontal=TRUE, names=c("One","Two"),
boxwex=0.15)
I managed to get both boxplots on the same figure but there they are wide
apart. Is there a way to reduce
2012 Feb 20
2
overlay of two sets of boxplots
Hello,
I am new to R and currently have the following problem:
I have successfully loaded my data in R which consists of two numeric columns (LI_F and female) and one character column (Strain). So far I can plot two different set of boxplots for each of the numeric columns plotted by the groups of the character column and the commands look like that:
boxplot(LI_F~Strain, ylab="LI_F",
2008 Jan 12
2
Lattice equivalent of par(mfrow = )
Dear r-helpers,
Does anyone have a straightforward example of putting together three
unrelated (expect for a common y-axis) xyplot() figures in what would
be in base graphics a par(mfrow = c(1, 3)) arrangement?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102
2005 Nov 13
1
How to show numerical values on boxplots
Hi, dear all,
I want to show numerical values with decimal points on the boxplots. Here
is what I did:
For example;
x1<-rnorm(100,2,2); x2<-rexp(100); label<-rep(1:2, rep(100,2))
median<-round(c(median(x1), median(x2)),3)
boxplot(c(x1, x2)~label, medpch=paste(median), medcex=1.2)
It only shows the integers at the median position in the boxplots. How to
make it show more decimal
2011 Jul 16
1
construct boxplots from data with varying column widths
I'm an R beginner, and I would like to construct a set of boxplots
showing database function runtimes.
The data I have is currently is in the following format:
function1,12.5,13.11,35.2,11.1.....n
function2,21.5,42.22,17.3,14.2....................n
...
this is the function name followed by somewhere between 1 and 10,000
runtimes for each function. The number of runtimes is in