similar to: How to set axis labels?

Displaying 20 results from an estimated 1000 matches similar to: "How to set axis labels?"

1999 Mar 02
1
Can't understand error message :-{
I'm sorry if this is a basic question, but I'm stumped. I'm just trying to plot the residuals from a linear model against another variable in the data frame. Here are the lines I'm trying to execute: size <- read.table(file="/u67/abasl70/surveys/annenberg/mega/smschl.dat", header=T) sizef <- data.frame(size, row.names=size$unit) attach(sizef) mschmod <- lm
1999 Mar 07
0
coplot has me stumped
I'm having trouble with coplot. I have two conditioning variables, and when I try to specify two sets of given.values, no matter what I do I get the message, Error: Object "b.levels" not found. Here is the section of code: c.ranges <- co.intervals(schses, number=4, overlap=0) a.ranges <- co.intervals(as.factor(aa94), number=2, overlap=0) PredAA <- as.factor(aa94)
1999 Apr 16
0
A couple of questions
I just installed the 0.64 rpm for Linux and noticed that the links to function.html and packages.html on .../doc/html/index.html don't go anywhere. In fact, those pages don't seem to exist. Do I have to do something to generate them? Also, will the rpm's for the contrib packages be updated to 0.64 level, or just R-base?
1999 Feb 02
0
Forcing variables into rpart
I would like to force a specific variable to always be the first split criterion in rpart, somewhat analagous to forcing a variable into a stepwise regression. I looked in V & R, and in the help files for the rpart package. If it's there, it's pretty well hidden. Can anyone help me with this? ______________________________________________________________________ Stuart Luppescu
1999 Jan 22
0
How to get nice trees
I would like to make pretty trees such as the one on page 383 of Chambers and Hastie, or page 346 of Venables and Ripley. I modified the post.rpart function, adding splits=T to text(), but the split criteria still don't print. Would anyone have any advice on this? Thanks. I'm running version 0.63 on Linux (intel). ______________________________________________________________________
2000 Apr 01
1
R with no gui
I have an old IBM Thinkpad 701 that has a 340MB disk and a 486 CPU that's not good for much anymore, so I thought I'd install R on it and make it a little useful. I went to *tremendous* pains to upgrade Linux on it without X so there would be some room to put R. But having done that I find that the binary is R.X11 and it's looking for (but can't find) libSM.so, which is ordinarily
2000 Mar 04
1
Need Arith.h
I just installed 1.0 (great job, everyone!) and rebuilt all my packages. I have found an error in making VR_6.1-6.tar.gz: Installing package `MASS' ... libs gcc -I/usr/lib/R/include -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g -c MASS.c -o MASS.o MASS.c:631: Arith.h: No such file or directory make: *** [MASS.o] Error 1 The file /usr/lib/R/include/Arith.h used to be there (locate
1999 Jan 28
1
NAs spoil lowess smoothing
Can anyone explain to me what this error message means, why I'm getting it, and how to fix it? lines(lowess(xdat, ydat, f=.5), col=3) Error: NAs in foreign function call (arg 1) ______________________________________________________________________ Stuart Luppescu -=-=- University of Chicago ºÍʸ ¤ÈÃÒÆàÈþ¤ÎÉã(EUC) -=-=- s-luppescu at uchicago.edu
2000 Jul 28
4
Language element manipulation
I am very confused about this. I want to convert a string to a name so I can use it to extract an element of a data frame using `$'. Here is my (non-working) code: do.graph <- function (meas) { fn <- paste("a", meas, ".dat", sep='') themeas <- read.table(fn, header=F) ameas <- as.name(paste("a", meas, sep=''))
1999 Apr 19
2
A couple problems installing 0.64 (under linux, redhat 5.2)
I'm encountering a couple problems configuring and making R 0.64 under linux, redhat 5.2 These problems didn't occur when I build 0.63.2 Any suggestions would be greatly appreciated. (1) configure generates the warning: "configure: warning: Cannot determine how to create shared libraries. Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'." I'm not
1999 Apr 15
2
regression with uncertainty in both variables
Hi, all. I'm trying to use some linear regression models in which both the dependent and independent variables are measured with some error. To make things worse, while the errors in the dependent variable are uniform, the errors in the independent (or explanatory, or "x") variables can be heteroskedastic. I've been looking at the book _Measurement Error Models_ by Fuller
2009 Dec 24
1
Multiple CHOLMOD errors when attempting poisson glmm
Hello, I have been attempting to run a poisson glmm using lme4 for some time now and have had a lot of trouble. I would say 9 times out of 10 I receive the following warning: CHOLMOD warning: %h Error in mer_finalize(ans) : Cholmod error `not positive definite' at file:../Cholesky/t_cholmod_rowfac.c, line 432 My data are counts of microbe colony forming units (CFUs) collected from
2010 May 20
1
Comparing three groups, data: present, absent
Dear R-Experts, Dear friends of dung. I have a statistical Problem, to which nobody I asked could give me an answer. Maybe you can. I was in the African-Savanna and made a Dung-Monitoring. This means I walked randomly over the field and for every Dung-Event I found I noted following parameters: Species (Waterbuck, Giraffe, Reedbuck); Age-Category (less than a week, more than a week & less
2006 Apr 28
4
par(mfror=c(1,2))
dear list, i have a problem using the par function. in one graphic device i want to have two plots so i tried to use par(mfror=c(1,2)). of course it worked out, but the height now is twice the length of the width for each single plot. what i actually wanted is something like par(mfrow=c(2,2)) where only the top (or bottom) two plots are drawn with entire length proportions of 1 to 2 ( height 1,
2007 Jan 02
3
graphical parameters: margins
Hi all, Please, while using image() which is the graphical parameter which control the space between ylab and the y axis? I do need to write a number of relatively long y labels and I am not able the control, if possible, this space. See the effect I need to avoid... http://nvx.environmentalchange.net/@rrodriguez/images/overlapping.jpg Thanks for your help, Ricardo -- Ricardo Rodr?guez Your
2001 May 10
1
Spam mail warning notification!
************* Content Filter Notification ************** The following mail was blocked since it contains sensitive content. Source mailbox: <s-luppescu at uchicago.edu> Destination mailbox(es): <r-help at stat.math.ethz.ch> Policy: Dirty Words(shit) Action: Quarantine Recipient, Content filter has detected a sensitive e-mail. ******************* End of message *******************
2011 Feb 22
2
Plotting a functional time series
Hello, I'm willing to plot a sequence of densities on a 3d graph, something like ----------------------------------------------------------------- x <- sapply(1:10, function(i)rnorm(1000)) f <- sapply(1:10, function(i)density(x[,i], from=-5,to=5)$y) grid <- density(x[,1], from=-5,to=5)$x win.graph() persp(grid1, 1:10, f,theta=-50, phi=30, d=2)
2006 May 16
3
multiple plots in a function()
Dear all, I have the following problem: I have written a function genereating to plots, eg myfunction <- (data, some.parameters) { #some calculations etc . par (mfrow=c(1,2)) plot1(......) plot2(.....) } which works fine. But for analysing several variants, I tried a slope, eg: par (mfrow=c(5,5)) for ( i in 1:10) { myfunction(data, i) } Off
2005 Jul 13
1
unexpected par('pin') behaviour
hi everybody, I noticed the following: in one of my scripts 'layout' is used to generate a (approx. square) grid of variable dimensions (depending on no. of input files). if the no. of subplots (grid cells) becomes moderately large (say > 9) I use a construct like ###layout grid computation and set up occurs here### ... opar <- par(no.readonly = T);
2006 Dec 20
3
How to use strings from a data.frame as the argument of an expression() for plot
Greetings, I would like to use a data.frame with strings to feed the expression() in the title of a plot. The way I did this is: molecules <-data.frame(name=c("o3","no","no2"),expression=c("quote(O[3])","quote(NO)","quote(NO[2])")) for (mol in c(5,7,9)) { plot(x, y, type="b",