similar to: Symbol escape sequence in xlab

Displaying 20 results from an estimated 1300 matches similar to: "Symbol escape sequence in xlab"

2005 Jan 03
4
Inspecting R functions
In S-Plus, I can look at the structure of a function (for example, hist) simply by entering hist <RETURN> however, if I do this in R, I get the response function (x, ...) UseMethod("hist") <environment: namespace:graphics> How can I inspect the structure of a function in R? ------------------------------- Richard Dybowski 143 Village Way
2001 Jul 04
2
boxplot(list(m[,1],...,m[,c]))
Given a matrix m, I would like to obtain a boxplot of the columns of m; in other words, boxplot(list(m[,1],...,m[,ncol(m)])). At the moment, I am using colpart <- function(m){ L <- list(rep(0,ncol(m))) for(i in 1:ncol(m)){ L[[i]] <- m[,i] } return(L)} boxplot(colpart(m)) for this purpose. Surely there must be a more eloquent way! Richard
2008 Jun 19
2
how to write symbol (nabla) in R graph
Dear colleagues, Can anyone of you tell me how to write a "nabla" symbol in an R graph? Thanks in advance, Nuno ______________________________________________ Centro de Oceanografia - IO-FCUL, Portugal Center for Quantitative Fisheries Ecology - ODU, USA [[alternative HTML version deleted]]
2002 Mar 12
2
How to get special (Hershey) font symbols into plot axis labels?
Dear R experts- I'm running R 1.2.3 (2001-04-26) on Linux. I need to get special symbols, such as a circle with a dot in it as used to indicate Solar units in astronomy, into my plot axis labels. How can I do this? Using the R documentation on the Hershey font sets, one can plot a Solar symbol within the world coordinates of a plot like this: >plot(1:10,1:10)
2005 Jul 26
1
problem with Hershey fonts
This was reported to me by a colleague in China, so I may not be reproducing exactly what they are seeing (which I suspect is rw2011), but this is what I see: > version _ platform i386--netbsdelf arch i386 os netbsdelf system i386, netbsdelf status major 2 minor 1.1 year 2005 month 06 day 20 language R > help(Hershey) : : If the 'vfont' argument
2006 Mar 05
2
plotting partial deriviatives
Dear R Helpers: I am trying to annotate a plot. The following code snippet works, but it is kind of a kludge since it adds the partial derivative symbols after creating the plotmath frac(). Is there a more elegant way to write a partial derivative? dev.off() plot(NA, xlim=c(-3,3), ylim=c(0,1.6), xlab="", ylab="", tck=-0.015) text(1.6, 1, expression(paste("slope =
2007 Dec 14
1
Quadratic Programming
Hi all! I have a little question concerning quadprog. To make it simple I'll start by stating the problem: I want to minimize h(d,delta)=0.5d^T B d +nabla(f(x))^T d +rho*delta^2 With respect to d\in R^n and delta \in R. I obviously have constraints (depending on both d and delta). Solve.QP does give me a good result for d but I cannot obtain anything for delta. Simce dim(Dmat)=n and
2006 May 12
1
X11 and vfonts modules on AIX 5.2
I am trying to get R-2.2.1 to pass make check on an AIX 5.2 at work (I know R-2.2.1 is not the latest release, but I encountered make errors in my attempts to install either R-2.3.0 or the R-patched_2006-05-10 on the version of AIX I am on. I will post those errors in a separate posting from this.) So far, configure and make finish without error for R-2.2.1 using gnu make, gcc-4.1.0, and
2001 Jul 15
2
No subject
Hi, I am trying to change the number of the ticks on each axis, but every time I can not succeed and receive the error message shown below even I use the default values: >plot.mts(infldata1[,3:4],lty=c(1:2),plot.type="single",lab=c(5,5,7)) Error in axis(side, at, labels, tick, line, pos, outer, font, vfont, ...) : location and label lengths differ, 6 != 3 Thank you for
2001 Jul 15
2
No subject
Hi, I am trying to change the number of the ticks on each axis, but every time I can not succeed and receive the error message shown below even I use the default values: >plot.mts(infldata1[,3:4],lty=c(1:2),plot.type="single",lab=c(5,5,7)) Error in axis(side, at, labels, tick, line, pos, outer, font, vfont, ...) : location and label lengths differ, 6 != 3 Thank you for
2007 Jul 28
1
text() and vector arguments like adj
Hello, I remarked that the function ## Default S3 method: text (x, y = NULL, labels = seq(along = x), adj = NULL,pos = NULL, offset = 0.5, vfont = NULL,cex = 1, col = NULL, font = NULL, ...) accepts vectors of arguments (of the same length) except for the parameter adj. When passing a vector of information for adjusting the labels, only the first value is taken. Any special reason for this ?
2004 Sep 16
4
FW: How do I insert a newline in my title in a plot?
yes I have tries, and nothing. It just shows the strings with the slashn, just like i typed it. -----Original Message----- From: Rashid Nassar [mailto:rnassar at duke.edu] Sent: ÐÝì?ôç, 16 Óå?ôåìâñßïõ 2004 15:44 To: Christos Rodopoulos Subject: Re: [R] How do I insert a newline in my title in a plot? Have you not tried what you have already suggested: title("this is a title\nIn 2
2000 Jun 26
1
persp greek label problem (PR#583)
Full_Name: Ramin Nakisa Version: 1.1.0 OS: i386 linux Submission from: (NULL) (192.127.94.7) Labels created with expression seem to disappear, e.g. the x axis label in x <- -6:16 contour(outer(x, x), method = "edge", vfont = c("sans serif", "plain"), xlab=expression(theta[0]), ylab=expression(theta[1])) and all three labels in x <- -6:16 persp(outer(x, x),
2005 Oct 06
1
Simple question.....
Hi all user R, My simple question is...I have a vector of names of predictors, text<-c("datem","cola","eslom")...I try to plot the model with this predictor in sequence loop...., for(i in 1:3){ png(paste("fig_",i,sep="")) plot(preplot.gam(mod9)[[i]],se=T,rug=F,main="",xaxt="n",ylab="",xlab="")
2003 Nov 07
1
barplot(names.arg) versus axis(labels)
Should I be able to use axis() on a barplot? i have a data.frame, the first 3 values of which are: > c[1:3,] median mean A1 56.5 58.50000 A61 73.0 73.00000 A62 63.0 63.00000 > str(c) `data.frame': 19 obs. of 2 variables: $ median: num 56.5 73 63 161 51 55 44.5 22 54 49 ... $ mean : num 58.5 73.0 63.0 161.0 47.5 ... if I do barplot(median) and then try
2005 Jun 15
3
how to plot density distribution with a arrow pointer?
Hi all, for example: > X<- rnorm(1000) > X0 <- 0.899 I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value. any functions? Thanks very much.
2009 Nov 03
2
how to display a string containing greek chrs and variables
I'm trying something that I thought would be pretty simple, but it's proving quite frustrating... I want to display, for instance, the correlation coefficient "rho" in a graph. I can do something like: text(x, y, paste("rho =", cor)) where cor would be my previously calculated correlation coefficient, and x and y the coordinates. Obviously that displays
2003 May 21
1
axis() default values for "lty", "lwd", and "col"
Hi, I would like to recommend a minor modification in axis() which I believe can simplify the making of plots for publications. I am trying to define default values for par() in order to make labels bigger and lines thicker, so that the resulting plots look good when resized for publication purposes. I ran into the following problem... axis() does not use par() values as default for
2003 Dec 14
1
contour() should handle the asp parameter
Hi all, To my knowledge, the current version of contour.default() does not handle the 'asp' parameter. This can be embarassing when displaying eg geographical maps, etc... Submitted to the opinion of more experienced R programmers, contour.defaut() function should be changed according to the followings: line 7: add = FALSE,asp=NA,...) line 33: plot.window(xlim, ylim,
2013 Jul 01
1
Male and female signs as subscript in plot
Hello, I'd like to add labels to my plot that include a male or female symbol as subscript. I'm working in Windows Vista and R 3.0.0. I am able to add the male symbol to the plot as regular text (NOT as subscript), e.g. with: mtext("Male\u2642") This displays the word "Male" followed by the male symbol on the plot. But "\u2642" does not work when I try to