similar to: r-help[Q]: use of `expression' in annotation

Displaying 20 results from an estimated 700 matches similar to: "r-help[Q]: use of `expression' in annotation"

1999 Jun 23
4
does a factorial function exist
I've looked through the documentation with R-0.64.1 and have been unable to find a high-level function for evaluation of factorials (i.e., n!, not factorial designs). Is there such a function? It is trivial to code, so everyone could write their own, but it also would be worthwhile as a standard tool. I'm guessing I am just overlooking it.
1999 Feb 18
1
[Q] use of expression() in plot() vs. hist()
In plot() I can get greek symbols into text items without trouble. However, some of the same commands don't work as I would expect with hist(). See the example below. > plot(1:10, 2:11, xlab=expression(paste("scaled", rho))) ---- works as expected, ie. prints the greek rho > hist(c(0,0,0,0,4,5,6,6,6,8), xlab=expression(paste("scaled", rho))) Error: Object
1999 Jun 29
1
question regarding names() value assignment
I am having trouble assigning a name to single columns in a dataframe. The following is an example using 0.64.1 and linux. tmp is a dataframe. > names(tmp) [1] "some" "thing" > names(tmp)<-c("else","again") > names(tmp) [1] "else" "again" > names(tmp[2]) [1] "again" >
1999 Apr 21
1
source("filename") vs. input from command-line
R-helpers, When I source("tmp.r") a file from within R, the code executes without error. When I launch with 'R --no-save --no-restore < tmp.r', the code sometimes appears to cause some type of buffer overflow and nothing gets executed. tmp.r contains: myData<-c(1,0, ... long vector of numbers) followed by a new line character and then some code to operate on myData. It
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available at least at Vienna; in a couple of days on every mirrors) - rw0630b.zip: binary distribution; it should run under Win3.1/Win32, Win95, Win98 and WinNT; - rw0630h.zip: `stardard help' files (the ones you see after help(topic) or ?topic); it also includes the help examples (the one needed by
1998 Nov 20
4
R-0.63 for MsWindows
New files (at CRAN/binaries/ms-windows/win-32-devel ; available at least at Vienna; in a couple of days on every mirrors) - rw0630b.zip: binary distribution; it should run under Win3.1/Win32, Win95, Win98 and WinNT; - rw0630h.zip: `stardard help' files (the ones you see after help(topic) or ?topic); it also includes the help examples (the one needed by
2010 May 12
6
Path to R script
There is certainly a trivial solution for my question, but I can't find the answer in the documentation. I need a platform independent method to obtain the file path of the current R script. My working group uses R on several machines with different operating systems including Mac OS X, Windows and Linux, and for obvious reasons the file hierarchies are very different. Therefore, it
2011 Nov 14
1
Power analysis and sample size calculation for nonlinear regression
Is there a library that provides power calculation and sample size estimation for nonlinear regression? The task is easy for linear regression with the "pwr" package, but I can't find a method for nonlinear regression (estimated with the "nls" package). -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Dr. Johannes W. Dietrich, M.D. --
2003 Apr 29
1
configure succeeds without dlfcn.h, but fails to compile (OS X) (PR#2875)
Full_Name: Alex Buerkle Version: 1.7.0 OS: OS X Submission from: (NULL) (137.28.112.199) The configure of R-1.7.0 completed, but the build fails with error below. This failure appears to be because dlfcn.h was missing (installing it fixed the problem). The possible bug: my limited ability to read ./configure suggests that it tests for dlfcn.h, but does not fail if it doesn't find it on
2001 Mar 19
2
Samba and java
Hi, I have sent this message before does any one have any ideas? We really need to be able to run Java class files from the root of a samba share. I think that the problem may have to do with Samba file name mangeling and that this may be preventing the java virtual machine from finding the calls file through the classpath environment variable. Here is the original message. Can any one help? We
2010 Aug 13
1
Bug in t.test?
Hello all, due to unexplained differences between statistical results from collaborators and our lab that arose in the same large proteomics dataset we reevaluated the t.test() function. Here, we found a weird behaviour that is also reproducible in the following small test dataset: Suppose, we have two vectors with numbers and some missing values that refer to the same individuals and that
2006 Mar 29
0
MaxConnections in IE and Ajax.Request/Sortable
Hi all, IƤve built some functionality in a CMS where you can drag and drop small elements on the page between 2+ panes/containers/divs. Whenever a drag-drop event has occurred (onUpdate) I make a Ajax.Request to save the new layout in the CMS. The code is as follows: in an onload-function: var a = ["subcontent", "main"]; for (var i=0; id=a[i]; i++) { if ($(id)) {
2000 Jul 17
3
na.omit
Why is it that when a vector contains no NAs, na.omit returns an empty vector rather than the object/vector that was passed to it? >na.omit(c(1,2,3,4)) numeric(0) in contrast ... >na.omit(c(1,2,3,NA)) [1] 1 2 3 attr(,"na.action") [1] 4 attr(,"na.action")attr(,"class") [1] "omit" Thanks, Alex --------------------------- platform
2006 May 29
2
line over multiplot
Dear Listmembers, I do have a multiplot with 1 row and 4 columns (4 scatter plots with same x- and y-axe plotted in one row). I would like to draw a horizontal line across the whole multiplot at a certain y-value. Unfortunately the normal abline command stops between the plot. I hope my problem is clear and there is somebody who can help me Thanks in advance Thomas H.
2010 Nov 30
2
Adding text to a multiplot (via mfrow)
Hi I have created a set of 4 barplots using mfrow=c(2,2) and need to add a heading that spans the margin of the bottom 2 graphs. I have used locator(1) to find the coordinates but I dont seem to be able to add text anywhere on this multiplot. I would be really grateful if anyone could tell me if there is a simple method of achieving this. Many thanks Sam Jones -- View this message in
2000 Jul 17
0
Re: [R] na.omit (PR#610)
buerkle@hawaii.edu writes: > Why is it that when a vector contains no NAs, na.omit returns an empty > vector rather than the object/vector that was passed to it? > > >na.omit(c(1,2,3,4)) > numeric(0) Well, because there is a bug in na.omit.default. The problem is in the section of code omit <- seq(along = object)[is.na(object)] nm <-
2000 Jan 12
1
compilation problem on linuxppc
I am trying to install R-.90 on a powermac (4400) running linuxppc-1999. This is a variant of RedHat. ./configure goes OK make goes OK until it gets to dataentry.h. Then it reports that it can't find some .h files. dataentry.h 22 X11/X.h dataentry.h 22 X11/Xlib.h dataentry.h 22 X11/Xutil.h dataentry.h 22 X11/keysym.h dataentry.h 22 X11/cursorfont.h I have installed X, but this seems to
2011 Dec 07
1
Help! I couldn't put multiple qplot on the same page...
Hi all, I am stuck at ploting multiple graphs on one page. I don't why it doesn't work. All the 6 plots are either exactly the same, or they simply don't plot at all. I made sure that in each iteration the "datasub" and "factorsub" are different ... Could you please help me? Thanks a lot! I did my homework and followed the following advice:
1998 Mar 26
1
R-beta: multiplot using fig
I followed Bill Venables's suggestion and tried to make a multiplot figure with fig (using R .62). > x<-rnorm(100) > y<-rnorm(100) > x11() > par(fig=c(0,2/3,0,1)) > plot(x,y) > par(fig=c(2/3,1,0,1)) > qqnorm(x) > postscript(file="twoplot.ps") > par(fig=c(0,2/3,0,1)) > plot(x,y) > par(fig=c(2/3,1,0,1)) > qqnorm(x) However
2009 Apr 17
1
multiplot plot spacing and text strip
Hi everyone, I have a certain requirement and I'm not sure what to do.I need to reduce the spacing between plots in a multiplot. Make them really close together such that they almost touch. Also, I need to add a rectangular strip under my plot(very close to it) such that the strip contains some text describing it. Any help is appreciated -- Rajesh.J [[alternative HTML version deleted]]