Displaying 20 results from an estimated 7000 matches similar to: "how to represent error bar in a plot legend?"
2010 Aug 07
4
basic question about t-test with adjusted p value
I have read the R manual and help archives, sorry but I'm still stuck.
How would I do a t-test with an adjusted p-value?
Suppose that I use t.test ( ) , with the function argument alternative =
"two.sided", and data such that degrees of freedom = 20. The function
calculates a t-statistic of 2.086, and p-value =0.05
How do I then adjust the p-value? My thought is to do
2010 Jun 14
2
how to make a barplot similar to Excel’s “clustered column chart”.
I have a matrix with 12 rows (one for each month), 2 columns (baseflow,
runoff). I would like to make a barplot similar to Excel’s “clustered
column chart”.
Here is my matrix ‘x’
8.258754 13.300710
10.180953 10.760465
11.012184 13.954887
10.910870 13.839839
9.023519 11.511129
7.189241 12.519830
5.925576 17.101491
5.211613 13.585175
2009 May 29
1
Problem loading rJava
I am running R on Windows XP
I first tried to install rJava and got this message
utils:::menuInstallLocal()
package 'rJava' successfully unpacked and MD5 sums checked
updating HTML package descriptions
then i tried this
require(rJava)
Loading required package: rJava
Error in if (!nchar(javahome)) stop("JAVA_HOME is not set and could not be
determined from the registry") :
2010 Apr 29
1
any feedback on XL Solutions Courses for R?
About a week ago, XL Solutions Corporation posted to this list with a
solicitation for course offerings in R. I looked at their site, and many
courses do look interesting. Can anyone provide feedback on the quality
of their courses?
[[alternative HTML version deleted]]
2009 May 28
1
plotting time series with data gap using type line- but do not want to connect gap with line
I have a time series of about 1500 measurements. There are sporadic data
gaps. I would like to plot the time series with type "line". I only want
a line to connect the periods with data; I don't want a line to connect
the points across a data gap. Is there a function or recommended method
to deal with this?
For example
there are 2000 days
days 1:1000 each have one
2010 Apr 19
1
How to make a boxplot with exclusion of certain groups
This seems like a simple thing, but I have been stuck for some time. My
data has 2 columns. Column 1 is the value, and column 2 is the Site where
data was collected. Column 2 contains 7 different Sites (i.e. groups). I
am only interested in showing 3 groups on a single boxplot.
I have tried various methods of subsetting the data, in order to only have
the 3 groups in my subset. However
2009 Jun 17
1
problem with axis alignment when plotting 2 time series on same graph
I am trying to plot 2 time series on the same graph.
For example, X1 is the vector of dates and times, its class is POSIXt. Y1
is an environmental parameter, e.g. salinity. X2 is a second vector of
dates and times, also of class POSIXt. X2 has a different length than
X1, but they have the exact same range. Y2 is another environmental
parameter, e.g. stream flow rate.
My approach is
2010 Jan 12
1
Multiple symbols per single line in a legend
Hello everybody,
Is it possible to coax legend() into displaying more than one simbol per
line in legend? I have a graph like the one attached to this mail; I would
like to reorganize the legend in such a way that the duplicate text would be
omitted, i.e., the first line would read <square> <triangledown> "increasing
frequency" and the second one would read <circle>
2010 Dec 16
2
moving average with gaps in time series
I have a time series with interval of 2.5 minutes, or 24 observations per
hour. I am trying to find a 1 hr moving average, looking backward, so
that moving average at n = mean(n-23 : n)
The time series has about 1.5 million rows, with occasional gaps due to
poor data quality. I only want to take a 1 hour moving average for those
periods that are complete, i.e. have 24 observations in the
2010 Jul 18
5
package "plotrix"
I installed package plotrix because reading its vignette it looks like it can help me solve a "legend" problem.
The package instaleed correctly on my Mac OS/X 10.5.8
But I cannot reproduce the examples centered on function "lgendg".
> library(plotrix)
> plot(0.5,0.5,xlim=c(0,1),ylim=c(0,1),type="n",
+ main="Test of grouped legend function")
>
2010 Apr 26
5
How to make legend with line+ character
Dear all,
I have a multiline plot with each line labeled with a different letter.
But I'm not able to make the legend display the same kind of pattern
'-a-', instead the letter is overwritten by the line. A simpler legend
with only the letter is not very visible and the pt.bg does nothing with
letters. Any idea?
plot(1:10,10:1,lty=1,type='b', lwd=2,pch='a')
2011 Dec 01
2
legend, "lheight", and alignment
Hello,
A bit of fairly simple code, yet I don't seem to be able to manipulate it
quite as much as I would like:
1) It would be nice if the objects appearing in the legend were aligned,
and by aligned I mean the boxes are centered over the lines. Do I need to
adjust the use of "NA" in the code below to accomplish this? Here's how it
appears on my machine:
2009 Dec 01
1
Aligning Diagonally Oriented Labels Under Bar Chart
I searched the forms (i.e., R Search)?and come up with the following suggested link:
?http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-create-rotated-axis-labels_003f
I tried to implement what I believe was being implied by that URL and came up with the below:
barplot(WorldPhones[1,],
??????? ylim=c(0, 50000),
??????? axes=FALSE, ann=FALSE,
???????
2007 May 22
4
Legend outside plotting area
Hi,
I have been trying many of the suggested options
to place a legend outside plotting area, including
something like this:
par(xpd=T,
oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0)
But the aspect of the four plots gets compromised
when I change the margin settings. I cannot use mtext
because I need to use colors for the text. I tried
layout, but wouldn't let me include
2009 Dec 15
2
Diagonal Labels on "Beside" Bars in Barplot
My question is based on an example provided in the following:
Referencing:
Statistics with R
Vincent Zoonekynd
<zoonek at math.jussieu.fr>
6th January 2007
URL:
http://zoonek2.free.fr/UNIX/48_R/all.html
data(HairEyeColor)
a <- as.table( apply(HairEyeColor, c(1,2), sum) )
# Provided Example
barplot(a, beside = TRUE,
legend.text = attr(a, "dimnames")$Hair)
# I
2003 Jul 03
3
Using switch =>
hello,
I have a test setup with 2 asterisk servers, each having a one snom 100
via sip using it. I`m experimenting on how trunking between them would
work. I have them setup for RSA authentication which I plan to use in
the future.
So I`ve setup the keys and servers seem authenticate to each other. One
is named phila and other hurricane.
Here is what I see on phila:
-- Registered
2011 Mar 26
2
Multiple plots with one legend
Hi,
I've created 3 plots one under the other, and want to include a legend on
the right that spans the height of all 3 plots.
How can I do this?
Thanks!
--
View this message in context: http://r.789695.n4.nabble.com/Multiple-plots-with-one-legend-tp3408537p3408537.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 23
4
Upgrade Dovecot 1.2.7 to 1.2.8 on OS X (10.6.2)
Hi there, I've tried to update Dovecot to the latest version and have
come upon an error during make. Previous upgrades have all been very easy
(thank you!) and it appears that the updated make script includes a wget
command and unfortunately OS X does not come with wget by default (curl is
the default). Not being completely up to speed with the whole autoconf and
make process, I'm a
2012 Feb 02
1
"shifted" bar chart / battleship curve
What I want to do is create a horizontal bar chart matrix for a set of data that have a common set of variables (e.g., % of As, % of Bs, etc.) listed on the Y-axis and groups (e.g., Classes) on the X-axis. The key here is that the bars for each individual class plot are "centered" rather than left or right-justified. In archaeology plots similar to this are called battleship curves or
2003 Nov 28
4
call waiting disable in sip
Hello,
is there a way to disable call waiting in sip? I`m using grandstream 101
and even when the phone is in use I hear ringing in the headset. It is
pretty annoying , is there some way to disable this? I cant find
anything like it in the grandstream docs.
Thanks
--
Anton Yurchenko<phila@dg.net.ua>
Digital Generation