similar to: Plotting expressions

Displaying 20 results from an estimated 10000 matches similar to: "Plotting expressions"

2000 Feb 02
1
Side be side legend items?
Am I right in thinking that legend() inevitably places the successive items ine under the other, that it there is at present no provision (short of multiple calls to legend()) to place them side by side in multiple columns? John Maindonald john.maindonald at anu.edu.au -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Mar 01
2
density(), with argument of length 1 (PR#2593)
The following is from version 1.6.2 of R under Windows, or 1.6.1 under Mac OSX/X11 > density(1) Error in if (!(lo <- min(hi, IQR(x)/1.34))) (lo <- hi) || (lo <- abs(x[1])) || : missing value where logical needed I am not sure how this should be handled. I encountered it in connection with densityplot(). In that connection, it might be enough to modify density() so that it
2000 Mar 21
3
Use of Rd2txt on .Rd files from rw-1.0.0 (PR#498)
>From e980153 Tue Mar 21 18:50:55 2000 To: bates@stat.wisc.edu Subject: Use of Rd2txt on .Rd files from rw-1.0.0 Files generated using prompt.data.frame() under rw-1.0.0 get scrambled (mildly) when I process them under Rd2txt on Solaris, (using R-devel 1.1.0). Files generated under R-devel 1.1 on Solaris are processed ok. The .Rd files from the two sources look identical. The problem is
2001 May 07
2
Symbolic substitution of expressions into expressions
In the following titletxt <- substitute(paste(tx, tilde(y) == sqrt(y)), list(tx="Replace y by ")) I'd like to be able to replace e.g. sqrt(y) by a symbol or symbolic expression that has the effect of inserting sqrt(y) into the place that it occupies. This would allow me to put an arbitrary expression into that position. [One can use text() or mtext() etc. to place titletxt
2005 Oct 01
2
Multiple expressions, when using substitute()
expression() accepts multiple expressions as arguments, thus: plot(1:2, 1:2) legend("topleft", expression(y == a * x^b, "where "* paste(y=="wood; ", x=="dbh"))) Is there a way to do this when values are to be substituted for a and b? i.e., the first element of the legend argument to legend() becomes,
2011 Apr 09
1
Compression of largish expression array files in the DAAGbio/inst/doc directory?
The inst/doc directory of the DAAG package has 6 files coral551.spot, ... that are around 0.85 MB each. It would be useful to be able to zip then, but that as matters stand interferes with the use of the Sweave file that uses them to demonstrate input of expression array data that is in the "spot" format. They do not automatically get unzipped when required. I have checked that
2010 Nov 15
2
L-shaped boxes with lattice graphs?
Can anyone suggest an equivalent, for lattice graphs, of the base graphics argument bty="l"? NB that I am leaving off the box around the strip, with a strip function: stripfun <- function(which.given,which.panel, factor.levels=as.expression(levlist), ...){ panel.text(x=0, y=0.5, lab = as.expression(levlist[which.panel[which.given]]),
2011 Feb 04
1
keep.source when semicolons separate statements on the one line
The following is 'semicolon.Rnw' > \SweaveOpts{engine=R, keep.source=TRUE} > > <<xycig-A, eval=f, echo=f>>= > library(SMIR); data(bronchit); library(KernSmooth) > @ % > > Code for panel A is > <<code-xycig-A, eval=f, echo=t>>= > <<xycig-A>> > @ % Sweave("semicolon") yields the following 'semicolon.tex'
2006 Jan 23
8
In which application areas is R used?
If anyone has a list of application areas where there is extensive use of R, I'd like to hear of it. My current short list is: Bioinformatics Epidemiology Geophysics Agriculture and crop science John Maindonald Mathematical Sciences Institute, Australian National University. john.maindonald at anu.edu.au
2009 Sep 19
2
Use of R in Schools
I am looking for information on experimentation with the use of R in the teaching of statistics and science in schools. Any leads would be very welcome. I am certain that there is such experimentation. I've made this inquiry on r-sig-teaching, with no response. John. John Maindonald email: john.maindonald at anu.edu.au phone : +61 2 (6125)3473 fax : +61 2(6125)5549 Centre
2010 Nov 25
1
\Sweaveopts error
I have a file 4lmetc.Rnw, intended for inclusion in a LaTeX document, that starts: \SweaveOpts{engine=R, keep.source=TRUE} \SweaveOpts{eps=FALSE, prefix.string=snArt/4lmetc} The attempt to process the file through Sweave generates the error: > Sweave("4lmetc") Writing to file 4lmetc.tex Processing code chunks ... 1 : keep.source term verbatim Error in file(srcfile$filename, open =
2011 Jun 29
1
R-devel Digest, Vol 100, Issue 28
I get the same style of path as Hadley. This is on Windows 7 Home Premium with SP1. I start R by clicking on the R-2.31.0 icon. I'd assumed that it was a change that came with R-2.13.0! (On 32-bit Windows XP, which I have just checked, I do indeed get the 8.3 paths.) > R.home() [1] "C:/Programs/R/R-2.13.0" > sessionInfo() R version 2.13.0 (2011-04-13) Platform:
2013 Oct 03
1
Error in "Writing R Extensions"
In Section 1.4.2 of "Writing R Extensions" %\VignetteEngine{knitr::knitr} should be %\VignetteEngine{knitr::knit} > sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit) Is this sort of thing best reported here, or is a huge report in order? John Maindonald email: john.maindonald at anu.edu.au phone : +61 2 (6125)3473 fax
2014 Nov 13
1
Correction in help(factanal)
<<< Thus factor analysis is in essence a model for the correlation matrix of x, ? = ?'? + ? >>> This should surely be ? = ??' + ? Also line 3 under ?Details? says <<< for a p?element row-vector x, ? >>> x is here surely a column vector, albeit the transpose of a row vector from the data matrix. cf page 322 of ?Modern Applied Statistics with S?, 4th
2010 Dec 21
1
Bug report 14459 -- procedure for handling follow-up issues
Although the specific behaviour that was reported has been fixed, bugs remain in Sweave's processing of comment lines when keep.source=TRUE This is in some senses a follow-up from earlier bugs. Hence the query -- what is the preferred procedure, to submit a new bug report? (Another option might be to add a comment to the web page for bug 14459.) Is there now a preference to submit via
2005 Apr 23
3
Enhanced version of plot.lm()
I propose the following enhancements and changes to plot.lm(), the most important of which is the addition of a Residuals vs Leverage plot. (1) A residual versus leverage plot has been added, available by specifying which = 5, and not included as one of the default plots. Contours of Cook's distance are included, by default at values of 0.5 and 1.0. The labeled points, if any, are those
2008 Jan 26
3
REvolution
Does anyone know any more than is in the following press release about REvolution Computing and their commercialization of R? http://www.intel.com/capital/news/releases/080122.htm "Intel Capital, the global investment arm of Intel Corporation, today announced that it has invested in the Series A financing of REvolution Computing, creator of parallel computing software for computational
2012 Jan 24
1
Failure to get compactPDF to compact a pdf file
I am failing to get compactPDF to make any change to a pdf file that, a/c to the message from the CRAN upload site, can be very substantially compacted. Any ideas what may be wrong? I have also tried recreating the pdf file. I also tried R CMD build --resave-data --compact-vignettes DAAG The data files compact alright (but I get the 'significantly better compression' warning message
2007 Oct 27
1
Unwanted axis labels when rug() has POSIXlt argument (PR#10380)
rug() may add integer axis labels when called with a POSIXlt object as argument. dtimes <- c("09/29/2007 12:54", "09/30/2007 00:14", "10/01/2007 00:14", "10/02/2007 00:14", "10/03/2007 00:14", "10/04/2007 00:14", "10/05/2007 00:14", "10/06/2007 00:14", "10/07/2007
2001 May 20
1
hist() ignores 'probability=T' (PR#944)
In the following, 'probability=T' is ignored, i.e. the vertical axis is labelled in frequencies. However hist(islands, freq=F) achieves the desired effect. > data(islands) > hist(islands, probability=T) # Vertical axis gives frequencies > hist(islands, freq=F) # Expected result --please do not edit the information below-- Version: platform = i386-pc-mingw32