Displaying 20 results from an estimated 1000 matches similar to: "connecting boxplots"
2009 Mar 21
5
Plot and Boxplot in the same graph
Hii,
Is it possible, to use the plot() funktion and the boxplot() funktion
together ?
I will plot a simple graph and additionally to the graph on certain places
boxplots. I have imagined to plot the graph a little bit transparency and
show in the same graph on certain places boxplots....
Is it possible to do it in this way ?
greetings,
johnh
--
View this message in context:
2009 Mar 13
4
Save the elements of an atomic vector to a text fil
Hii,
I will save the elements of the vector median<-with(x, tapply(V3, grup,
median)). The output of this vector is:
25 50 75 100 125 150 175 200 225 250 275 300 325 350 375
400 425 450 475 500
17.8 17.8 17.5 17.8 17.7 17.6 17.7 17.6 17.8 17.7 17.6 17.7 17.8 17.7 17.8
17.8 17.8 17.8 17.7 17.7
Can anybody help me how to do it. I will save it to a text file...
2009 Mar 13
1
print median and sd...
Hii,
Can anybody help me, I don't know how to print the "median". Below is my
code snipplet...
x
<-read.table(file="D:/Uni/Diplom/Diplom/Grafiken/R/BATMAN/Kabel/Batman1hop/Standardabweichung__output_30_1_Kabel(30m)_b.txt")
png(filename = "D:/Grafiken/R/Standardabweichung/Kopie.png", width = 640,
height = 480,pointsize = 12, bg = "white", res =
2009 Jan 11
1
Boxplot from matrices
Hii,
I will create boxplots from matrices. I have the following data sets:
5.0 1.78 2.99 2.019 0
10.0 1.79 3.00 1.744 0
15.0 1.78 2.98 1.936 0
20.0 1.78 2.99 1.975 0
25.0 1.73 2.91 3.591 0
30.0 1.79 3.00 1.966 0
35.0 1.79 3.00 2.451 0
40.0 1.79 3.00
2013 Oct 12
2
Order of factors with facets in ggplot2
Hello,
I'd like to produce a ggplot where the order of factors within facets is
based on the average of another variable.
Here's a reproducible example. My problem is that the factors are ordered
similarly in both facets. I would like to have, within each facet of `f1',
boxplots for 'x' within each factor `f2', where the boxplots are ordered
based on the average of x
2012 Apr 08
2
How to produce serveral plots with pairs of vectors
Dear R-Users,
I have a newbie-question about producing several plots with five variable
pairs within in one code (loop).
Problem:
I define two objects, erveryone has five vectors (columns /variables):
dimensionen <- data.frame(meinspss$attr_diff_gesamt,
meinspss$finanz_diff_gesamt, meinspss$leist_diff_gesamt,
meinspss$soz_diff_gesamt, meinspss$wert_diff_gesamt)
gruppe <-
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2010 Nov 02
5
Question about ggplot2
Dear All,
I am trying to graph a simple scatter plot where the x axis is year
and the y axis is a percentage (percentage of infant death). Instead
of plotting the raw data, I want to plot summary statistics such as
mean and median. Here is the problem: the value range of y is between
0 and 1, but since infant death is a rare event, the mean and median
is very low (something like 5%), which shows
2011 Jan 25
2
ggplot geom_boxplot and stat_smooth
Dear all
I would like to superpose some smoothing line through boxplot in ggplot
> dput(ad)
structure(list(konc.f = structure(c(1L, 1L, 1L, 1L, 2L, 2L, 2L,
2L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 4L, 6L, 6L, 6L,
7L, 7L, 7L, 7L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 3L, 3L, 3L, 3L,
4L, 4L, 4L, 4L, 4L, 4L, 4L, 6L, 6L, 6L, 7L, 7L, 7L, 1L, 1L, 1L,
1L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 4L, 4L, 4L,
2013 Feb 15
1
Why no line? (ex. from Andy Filed book)
The following script is written by the author of a book on R--Andy Field:
You can also download the small datafile, hiccups.dat, from this address:
http://www.sagepub.com/dsur/study/articles.htm
The script:
hiccupsData <- read.delim("Hiccups.dat", header = TRUE)
hiccups<-stack(hiccupsData)
names(hiccups)<-c("Hiccups","Intervention")
2011 May 27
2
help with barplot
Hi,
I'm really struggling with barplot
I have a data.frame with 3 columns. The first column represents an
"incident" type
The second column represents a "month"
The third column represents a "time"
Code for a sample data.frame
incidents <- rep(c('a','b','d','e'), each =25)
months <- rep(c(1,2), each =10)
times
2012 Jul 03
2
ggplot2: legend
Dear all,
I produced the following graph with ggplot which is almost fine, yet I don't like that the legend for "Means" and "Observations" includes a line, though no line is used in the plot for those two (the line for "Overall Mean" on the other hand is wanted):
library(ggplot2)
ddf <- data.frame(x = factor(rep(LETTERS[1:2], 5)), y = rnorm(10))
p <-
2011 Nov 09
1
ggplot stat_summary (mean_cl_boot)
Hello,
This is a pretty simple question, but after spending quite a bit of time
looking at "Hmisc" and using Google, I can't find the answer.
If I use stat_summary(fun.data="mean_cl_boot") in ggplot to generate 95%
confidence intervals, how many bootstrap iterations are preformed by
default? Can this be changed? I would at least like to be able to report
the number of
2011 Jan 24
1
ggplot2 - ribbon
Dear List,
I am having trouble setting the transparency of a ribbon in ggplot2 and was wondering if anybody had any suggestions
so far i have a plot exactly as i want it and i want to add a ribbon connecting the ymax and ymin, whci i do with the following command
m10 + stat_summary(geom="ribbon", fun.ymin="min", fun.ymax="max")
However the ribbon is a dark grey
2012 Nov 12
2
order in stacked barplot
Hello
i did a stacked barplot using ggplot and R arranged the bars of the items in
different orders. i don?t know why. but i want to have the same order in
every stacked bar.
I used the code
data1 <- read.table("N_O_W_MAI.txt", header=TRUE, dec = ",")
attach(data1)
Teich1<-factor(Teich,levels=c(5,7,9,11,"G") ,ordered=is.ordered(Teich))
2008 Feb 18
2
Custom Plot - means, SD & 5th-95th% (Plotmeans or Boxplot)?
Any help with this problem would be greatly appreciated:
I need to produce a custom plot i haven't come across in R. Basically, I
want to show means, 1st standard deviation and 5th and 95th percentiles
visually, using something resembling a boxplot. Is it possible to completely
customize a boxplot so that it shows means as the bar (instead of, not as
well as medians), standard deviations at
2006 Apr 11
2
Browsing problem
Hi,
I've got a browsing problem, I'm searching the error for a long time now
so I think betimes it's a bug ;-)
For debugging purposes, I've left away everything in the network that's
not necessary. There's now only one XP-Prof workstation (domain member)
and one samba server (3.0.22, acting as PDC) anymore.
Bind9 is the local DNS server; Forward and PTR entries are
2002 May 15
1
ploting a linear model
Hi
I have the result of a linear model "lm98" and I want to plot it to
analyse the regression but I'm getting the folowing error message
> lm98<-lm(log(U+1)~Bq+Gi+Lv+Tb+Bq:Gi+Bq:Lv+Bq:Tb+Gi:Lv+Gi:Tb+Lv:Bq)
> plot(lm98)
Error in plot.window(xlim, ylim, log, asp, ...) :
need finite ylim values
In addition: Warning message:
NaNs produced in: sqrt(1 - hii)
The
2009 Sep 14
1
ggplot, ribbon not showing up properly
Hi,
I'm trying to plot a longitudinal data set, using ggplot and adding some
summary info (eg. mean, 1 sd bounds) using geom=ribbon. The summary
info is based on a subset of the original data (eg. less an outlier).
But I'm having trouble getting the ribbons to show up correctly. It's
probably something obvious that I'm missing as a novice at ggplot2, and
any help is much
2004 Mar 03
1
Bug in plot.lm (PR#6640)
Dear all,
I noticed the following behaviour of plot.lm:
> fm1 <- lm(time~dist, data=hills, weights=c(0,0,rep(1,33)))
> par(mfrow=c(2,2))
> plot(fm1)
Warning messages:
1: longer object length
is not a multiple of shorter object length in: res/(sd * (1 - hat))
2: longer object length
is not a multiple of shorter object length in: (res/(sd * (1 - hat)))^2 * hat
which seems to be