Displaying 11 results from an estimated 11 matches similar to: "barplot with factors problem"
2007 Jan 17
3
Row limit for read.table
I have been trying to read in a large data set using read.table, but
I've only been able to grab the first 50,871 rows of the total 122,269 rows.
> f <-
read.table("http://www.cs.odu.edu/~fmccown/R/Tchange_rates_crawled.dat",
header=TRUE, nrows=123000, comment.char="", sep="\t")
> length(f$change_rate)
[1] 50871
From searching the email archives,
2009 Jul 20
3
Histograms on a log scale
Dear All,
I would like to be able to plot histograms/densities on a semi-log or
log-log scale.
I found several suggestions online
http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html
https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html
http://www.harding.edu/fmccown/R/#histograms
Now, consider the code snippet taken from
http://www.harding.edu/fmccown/R/#histograms
# Get a random
2010 Mar 06
1
TukeyHSD model thing
Hi,
I am trying to reproduce a tukey test in R
==========================
x=c(145,40,40,120,180,
140,155,90,160,95,
195,150,205,110,160,
45,40,195,65,145,
195,230,115,235,225,
120,55,50,80,45
)
y2=c(
rep(as.character(1),5),
rep(as.character(2),5),
rep(as.character(3),5),
rep(as.character(4),5),
rep(as.character(5),5),
rep(as.character(6),5)
)
crd2=data.frame(x,y2)
2012 Nov 27
2
error of runing R in R 2.15.2 w/o graphes generated
Hi,
I have installed R 2.15.2 on windows 7.
http://cran.cnr.berkeley.edu/
I tried to run some simple graph code:
http://www.harding.edu/fmccown/r/
But, no graphs are presented or poped up.
Any help will be appreciated.
Thanks
[[alternative HTML version deleted]]
2010 Aug 30
3
Putting legend *outside* plotting area
Is there a simple way to put a legend outside the plot area for a simple
plot?
I found... (at http://www.harding.edu/fmccown/R/)
# Expand right side of clipping rect to make room for the legend
*par(xpd=T, mar=par()$mar+c(0,0,0,4))*
# Graph autos (transposing the matrix) using heat colors,
# put 10% of the space between each bar, and make labels
# smaller with horizontal y-axis labels
2010 Mar 06
0
Fisher's LSD and tukey output thing
Hi there,
=============================
x=c(145,40,40,120,180,
140,155,90,160,95,
195,150,205,110,160,
45,40,195,65,145,
195,230,115,235,225,
120,55,50,80,45
)
y2=c(
rep(as.character(1),5),
rep(as.character(2),5),
rep(as.character(3),5),
rep(as.character(4),5),
rep(as.character(5),5),
rep(as.character(6),5)
)
crd2=data.frame(x,y2)
model1=aov(x~y2,data=crd2)
TukeyHSD(model1)
2009 Apr 14
1
Lattice xyplot: Line and Rectangle in legend.
Hello fellow R users,
I have a problem. I have created a barchart overlayed by an xyplot line,
both of which read off the same Y axis. The problem comes when I try to
generate a key. It seems that I can only create either two lines, or two
rectangles. I would much prefer to have the barchat series depicted by a
rectangle, and the xyplot series by a line. Is there a way to do this?
Your help
2006 Nov 02
1
Prediction intervals for predict.gls
I am using R 2.3.0, Is there a way to get prediction intervals using
predict.gls?
Any ideas would be appreciated.
thanks,
Spencer
On 11/2/06, Frank McCown <fmccown@cs.odu.edu> wrote:
>
> I was wondering if anyone knows who should be contacted to add to the R
> user-contributed documentation at
>
> http://www.r-project.org/other-docs.html
>
> There doesn't
2006 Oct 26
1
Turn off border on barplot
I was wondering if there was any way to completely remove the borders
around each bar when using the barplot function. I understand how to
change the color of the border (border="white"), but I need the border
to be invisible so I can plot many skinny bars right next to each other
with only the bar's color visible.
Thanks,
Frank
--
Frank McCown
Old Dominion University
2012 Apr 12
4
Simple Problem: Plotting mathematical functions
Hey there,
I want to plot 5 parabola functions, which happen to be
f(x) = 0.25x? + 6,47x -32.6
g(x)=0.99x? -6x -195
j(x)= 0.77x? +14x -495
k(x)=0.001x? + 65x -785
l(x) = 0.9x? -2x -636
in the same graph. Sadly I even do not really understand how to plot just
one graph...
I found this code in the Internet, which plots a cos-function:
>x <- seq( -10, 10, length = 1000)
>plot(x,
2006 Oct 16
3
Install RMySQL with R 2.4.0
I just installed RMySQL 0.5-9 with R 2.4.0 on Windows XP and got the
following error message when trying to run a script with RMySQL:
Error in library(RMySQL) : 'RMySQL' is not a valid package -- installed
< 2.0.0?
Any ideas?
Thanks,
Frank