Displaying 20 results from an estimated 300 matches similar to: "barchart with 3 Arguments"
2012 Nov 08
2
Stacked Barchart as relative share
Hi @ all,
I'm looking for a solution to plot a dataframe as a stacked bar chart like
on this picture:
http://4.bp.blogspot.com/_79SognVSu7A/S6OtzgksPSI/AAAAAAAABrw/-IuFNewdZFE/s400/Stacked%2BBar%2BChart.png
My dataframe
example2.csv <http://r.789695.n4.nabble.com/file/n4648854/example2.csv>
My questions:
Is there a standard function to convert the values to 100 percent relate to
2012 Nov 12
8
no y-axis
HI @ all,
I'm looking for a simple solution to supress the y-axis - but only the drawn
scale - not the values.
Only the numbers should be displayed.
I tried yaxt="n" but there everything of the y-axis is supressed.
Thanks
GeO
--
View this message in context: http://r.789695.n4.nabble.com/no-y-axis-tp4649298.html
Sent from the R help mailing list archive at Nabble.com.
2011 Nov 29
3
Matrix for correlation
hi @ all,
I have problem with creating a matrix for a cor() function.
I try to use the cor() function on a matrix to test the correlation between
each value in a column.
Maybe like corr(x, method = xyz).
My x has two columns maybe like this:
MEDIA VALUE
Car 23
Train 26
Plane 25
Cab 22
Bike 15
.... and so on.
Now I want to calculate the correlation between Car and Train, Car
2012 Jan 10
1
colored outliers
Hi @ all,
I have question how to mark significant outliers in R.
This is my very simple script to plot a regression:
TOC_NI<-read.csv2("C:/Users/XYZ/Desktop/Master/Daten/Statistik/TOC-NI.csv",
sep=";", dec=",", encoding="UTF-8")
plot(NI~TOC,data=TOC_NI,col="blue", pch=16, xlim=c(0,4500000))
abline(lm(NI~TOC,data=TOC_NI),col =
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello!
I have a problem which I have tried to solve for several days now..
I have plottet a lineplot.CI in the library "sciplot", and I am trying to
plot it with a logaritmic y-axis (with exponential base).
The problem is that; when I type "log "y"", the axis transforms into the
logaritmic of base 10.
I wonder if someeone could tell me how to specify that I would
2005 Sep 12
2
barplot with multiple columns
I have a large dataset looking like this (as an example):
doy<-c(178,179,180,181,182,183,184,185,186,187,188)
s1<-c(0 , 0, 2.4 , 0 , 3.34 , 0 , 5.34 , 0 , 0 , 0 , 6.9)
s2<-c(0 , 9.72, 0, 10.56 , 2.67 , 0 , 6.45 ,0 , 0 , 9, 3.6)
dat<-cbind(doy,s1,s2)
dat
I need to make a barplot where the two time series s1 and s2 are plottet
beside each other for each doy. How can I do that?
2011 Jul 20
3
Grouping columns
*Hi @ all,
I have a question concerning the possibilty of grouping the columns of a
matrix.
R groups the columns alphabetically.
What can I do to group the columns in my specifications?
The script is the following:*
> #R-Skript: Anzahl xyz
>
> #Quelldatei einlesen
> b<-read.csv2("Z:/int/xyz.csv", header=TRUE)
>
> #Teilmengen f?r die Einzeljahre generieren
>
2013 Feb 09
3
help on plotting series with different x-axis values on a graph with one x-axis
Hi,
I have run into this problem a couple of times now and hope you can help!
If I want to plot mulitiple series with differing x-axis values (however, all in the same range) in 1 plot with one common axis R obstruses the plots.
E.g. if I plot water content against time and I start with the sampler at 5 cm depth, it plots that one right.
But the next depth, 15 cm, is measured at slightly
2012 Nov 08
3
Regrouping dataframe
Hi @ all,
I hope for some help of you.
I have a dataframe and I want to regroup it.
examp4.csv <http://r.789695.n4.nabble.com/file/n4648927/examp4.csv>
I need the arguments of "VAL" as table heads and the "TYPE " only in
individual expression.
The result should look like in the example pic.
exp4.png <http://r.789695.n4.nabble.com/file/n4648927/exp4.png>
I
2012 Jun 08
3
Rose plot (like a windrose)
Dear R Gurus,
I spent some time in looking for help but didn't find a way to do what I
want.
I do have a vector (in Degrees) containing of 360 elements, one element per
degree on a circle.
The data is dimensionless and in the range of -0.2 to 0.5.
An Example:
Wind Dir [degrees], Value
1, 0.1
2 , 0.3
3 , 0.01
.,.
.,.
180,-0.01
181,-0.2
.,.
.,.
.,.
359,.0.3
360,.0.5
Now I want to have
2001 Sep 27
2
ugly in plotmath: frac(1, sqrt(...)) (PR#1101)
Sometimes (dependent on device and settings of 'cex' and 'lwd') the line
of a square root symbol plottet in the denominator of a fraction appears
to be in or above the line of the fraction.
Examples:
### Choose one of these:
# pdf("test.pdf", height=6, width=8)
# bmp("test.bmp", width=1100, height=800, pointsize=12)
# bitmap("test.tif",
2012 Nov 15
3
merge dataframes with condition
Hi @ all,
I wamnt to combine two dataframes including a condition.
I have two dataframes like the following:
animal<-c("bear","bear","lion","monkey","fish","monkey","bear","zebra","zebra")
val<-c(2,42,67,5,12,9,87,1,12)
2009 Feb 24
1
biplot.princomp - changing score labels
Dear R helpers,
When producing a PCA biplot, vectors of environmental variables (as red
arrows with labels) and scores of the observations (black labels
(observation names)) are plotted by default. How can I change the
graphical output? Let's say I would like that the scores are plottet
only as symbols and not text. The only solution I found was this post in
the help archive
2005 Jun 22
2
Subsetting across a frame for plotting
I have a huge frame holding holding model results for a number of
locations and time series:
> str(tonedata)
`data.frame': 434 obs. of 339 variables:
$ VALUE : int 101 104 105 106 111 118 119 121 122 123 ...
$ COUNT : int 2443 184 1539 1016 132 1208 1580 654 864 560 ...
$ AREA : num 6.11e+08 4.60e+07 3.85e+08 2.54e+08 3.30e+07 ...
$ D1_1958 : num 470 446 452 457 407 ...
2009 Nov 26
1
Arrhenius Plot 2 with lattice
Hello,
sorry for incomplete code...
with this I read the file and calculate my stuff. I have a plenty of
them 80-300K every 5 Kelvin. I start with 79K, 80K...300K
test<-read.table("T300_both.txt",header=FALSE,sep="")
RH2<-c(RH2,2.5e7*.32e-4/100e-6/5100*(test$V3[c(2)]-test$V3[c(1)]+test
$V3[c(4)]-test$V3[c(3)]))
n2<-c(n2,-1/(RH2[c(46)]*1.60217e-19))
2012 Sep 11
1
plot dataframe with inconsistently relations
Hi @ all,
I work with a dataframe like the attached one.
I want to plot it, so that "value" is listed on the y-axis, "year" on the
x-axis and "states" as lines in the coordinate system.
I tried the following code:
require(ggplot)
plot1<-ggplot(TEST, aes(year, value)) + geom_line(aes(colour = state))
The result could be very nice but the the lines are stacked.
2002 Dec 13
2
A beginner's problems with plotting
Hi,
How would I go about plotting all 8 columns of a data.frame on a simple line
graph. i.e. eight lines and sets of points, differentiated by line pattern or
colour)?
An what further arguments would I need to invoke a log scale on the y-axis of
that same plot (normal x-axis)?
Cheers, Jeremy
2010 May 10
2
[Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
Hello!
Thank you for answering!
What I am trying to do is to plot my raw values (biomass of different
species) on a logaritmic y-axis with the base of e. When I type "log="y"",
the axis transforms into a logaritmic axis with the base of 10.
Best regards,
Elisabeth
> Dear Elisabeth,
>
> I'm not sure if I have understood your question -- are you trying
> to
2010 May 09
1
Plotting log-axis with the exponential base to a plot wi
Hello Ted!
Thank you a lot for your reply!!!
I will try to explain again; what I want is a logarithmic scaled y-axis
with the base of e (not 10). And the values I would like to use in the
plot are the raw values (not transformed in any way). Do you still think
that the base of log does not matter in this case (wheather it is e or 10
as a base)?
Elisabeth
> On 09-May-10 18:10:27, Elisabeth
2009 Dec 09
1
Greek symbols on "ylab=" using barchart() {Lattice}
Hi All,
I'm trying to write "ug/m3" as y-label, with greek letter "mu" replacing "u"
AND "3" going as a power.
These commands works in general:
plot.new()
text(0.5, 0.5, expression(symbol("m")))
But, I'm sure about how to do it using barchart() from "Lattice". Can anyone
help please?
Thanks,
Peng Cai
[[alternative HTML