similar to: using "by" and indicies

Displaying 20 results from an estimated 2000 matches similar to: "using "by" and indicies"

2001 Sep 09
1
[R] bad R.css link in "packages.html" (PR#1090)
I downloaded and installed R-1.3.1 yesterday, and had to change line 2 of the "packages.html" file in $RHOME/doc/html/ The configuration steps were "the usual", tar zxvf ... cd ... ./configure make make check make install If it's relevant, Sys.info() sysname release "Linux" "2.2.14"
2003 Nov 15
0
FW: computing a p-value ...
Thanks to Rolph Turner and Jason Turner ... I guess I was too excited about getting back on the list after an absense of several years ... I'll be a little more thoughtful about the problem before posting next time, and a little less trigger-happy with the "Send" e-mail button. Never-the-less, much appreciated. - Mohamed -----Original Message----- From: Rolf Turner
2003 Dec 10
2
OT: BibTex year-only citation in text?
Sorry for the off-topic question, but I know there are some talented LaTeX users out there. Which bibliography style gives only the year in text citations (e.g "for further details, see Anderson (1992)" )? Thanks Jason -- Indigo Industrial Controls Ltd. http://www.indigoindustrial.co.nz 64-21-343-545 jasont at indigoindustrial.co.nz
2001 Nov 06
1
incorrect xlim error message in image() (PR#1160)
Hi, I am having problem with R misinterpreting (x,y) values in image(). I downloaded the followiing binary version of R: > version _ platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 3.0 year 2001 month 06 day 22 language R > q() [janef@cc-jainlabx1 Poster.tahoe]$ gcc -v Reading specs from
2009 Jun 15
3
lack of memory for logistic regression in R?
Hi all, I am getting the following error message: > mymodel = glm(response ~ . , family=binomial, data=C); Error: cannot allocate vector of size 734.2 Mb In addition: Warning messages: 1: In array(0, c(n, n), list(levs, levs)) : Reached total allocation of 1535Mb: see help(memory.size) 2: In array(0, c(n, n), list(levs, levs)) : Reached total allocation of 1535Mb: see help(memory.size) 3:
2009 Sep 30
5
Condition to factor (easy to remember)
Dear List, creating factors in a given non-default orders is notoriously difficult to explain in a course. Students love the ifelse construct given below most, but I remember some comment from Martin M?chler (?) that ifelse should be banned from courses. Any better idea? Not necessarily short, easy to remember is important. Dieter data = c(1,7,10,50,70) levs =
2003 Oct 21
5
run R under linux
Dear all, Our department uses the linux system and we are not allowed to submit job directly. We must make a batch to submit through "qmon". so, I make a foo.sh file, which only contains one line: nohup R --vanilla < foo.txt > foo.results foo is all my codes. It is a simulation of 200 times. I set the seed at the beginning. It is to estimate the success probability, which is
2003 Nov 23
0
Stangle - dropping re-used code chunks
My question is: is there a way for Rtangle() to *not* print re-used code chunks? It'd be easy enough to brew up a perl script to do just this, but if methods exist already, I'd rather use them. My reading of the help pages and FAQs has missed something, if it's there. Background: I have course notes on R, written using Sweave. I want to provide the R code separately so the
2001 Feb 28
1
print to file question
Probably doing something wrong here. I'm getting an empty file called "Rplot.ps" when I do this: > foo<-rnorm(100) > postscript() > boxplot(foo) System info: Version: platform = i586-pc-linux-gnu arch = i586 os = linux-gnu system = i586, linux-gnu status = major = 1 minor = 2.2 year = 2001 month = 02 day = 26 language = R Search Path: .GlobalEnv,
2001 Jul 30
1
\code{x[ind,,]} -- Including spaces does not work
Putting a space between the commas makes no difference when I try it. -- Chris Wild >Putting a space between the commas works. I think it's ugly, though. >Does anyone have a better idea? > >Jason >-- >Indigo Industrial Controls Ltd. >64-21-343-545 >jasont at indigoindustrial.co.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2012 May 29
1
lattice: add a marginal histogram on top of the colorkey of a levelplot?
Lattice experts: Can you think of a way to produce a levelplot as below and then add a histogram of the z variable to the top margin of the plot that would sit on top of the color key? x <- seq(pi/4, 5 * pi, length.out = 100) y <- seq(pi/4, 5 * pi, length.out = 100) r <- as.vector(sqrt(outer(x^2, y^2, "+"))) grid <- expand.grid(x=x, y=y) grid$z <- cos(r^2) *
2007 Apr 15
1
unable to find inherited method for function "edges", for signature "ugsh", "missing"
I am new to using S4 methods and have run into this problem (on Windows XP using R 2.4.1): I am writing a package in which I use the graph package. I define my own classes of graphs as: setOldClass("graphsh") setOldClass("ugsh") setIs("ugsh", "graphsh") (I know that I "should have" used setClass instead - and I will eventually - but right now
2011 Nov 15
1
equal spacing of the polygons in levelplot key (lattice)
Given the example: R> (levs <- quantile(volcano,c(0,0.1,0.5,0.9,0.99,1))) 0% 10% 50% 90% 99% 100% 94 100 124 170 189 195 R> levelplot(volcano,at=levs) How can I make the key categorical with the size of the divisions equally spaced in the key? E.g., five equal size rectangles with labels at levs c(100,124,170,189,195)? Apologies if this is obvious. -A R> version
2002 Apr 18
1
strptime mysteriously adds a day - 0S-specific: Linux and Windows (so far) (PR#1466)
strptime() mysteriously adds a day to a date, unless the year is specified. Tested on: Linux (RedHat 6.0) - R version 1.4.1 and R-devel. Windows - R version 1.4.1 Bug isn't found on OpenBSD, R version 1.4.1. Transcript: R : Copyright 2002, The R Development Core Team Version 1.4.1 (2002-01-30) ... > ## BUG: > ## strptime seems to add a day to the request, unless the year > ##
2002 Apr 18
1
strptime mysteriously adds a day - 0S-specific: Linux and (PR#1467)
On Thu, 18 Apr 2002, Martin Maechler wrote: > >>>>> "Jason" == Jason Turner <jasont@indigoindustrial.co.nz> writes: > > Jason> strptime() mysteriously adds a day to a date, unless the year > Jason> is specified. Tested on: > Jason> Linux (RedHat 6.0) - R version 1.4.1 and R-devel. > Jason> Windows - R version 1.4.1 >
1999 May 05
1
Ordered factors , was: surrogate poisson models
For ordered factor the natural contrast coding would be to parametrize by the succsessive differences between levels, which does not assume equal spacing of factor levels as does the polynomial contrasts (implicitly at least). This requires the contr.cum, which could be: contr.cum <- function (n, contrasts = TRUE) { if (is.numeric(n) && length(n) == 1) levs <- 1:n
2002 Dec 01
1
generating contrast names
Dear R-devel list members, I'd like to suggest a more flexible procedure for generating contrast names. I apologise for a relatively long message -- I want my proposal to be clear. I've never liked the current approach. For example, the names generated by contr.treatment paste factor to level names with no separation between the two; contr.sum simply numbers contrasts (I recall an
2002 Apr 15
1
make check fails d-p-q-r-tests.R - OpenBSD 3.0 (PR#1461)
Found one that stumped me. I did a search on R-bugs for the string "d-p-q-r-tests", and found zero entries in all categories (I don't think I secretly gave it a regex). Did the usual configure, make, make check on OpenBSD 3.0, and encountered this message on d-p-q-r-tests.Rout: running code in `d-p-q-r-tests.R' ... OK comparing `d-p-q-r-tests.Rout' to
2018 Mar 24
1
Function 'factor' issues
I am trying once again. By just changing f <- match(xlevs[f], nlevs) to f <- match(xlevs, nlevs)[f] , function 'factor' in R devel could be made more consistent and back-compatible. Why not picking it? -------------------------------------------- On Sat, 25/11/17, Suharto Anggono Suharto Anggono <suharto_anggono at yahoo.com> wrote: Subject: Re: [Rd] Function
2017 Oct 15
2
Function 'factor' issues
In R devel, function 'factor' has been changed, allowing and merging duplicated 'labels'. Issue 1: Handling of specified 'labels' without duplicates is slower than before. Example: x <- rep(1:26, 40000) system.time(factor(x, levels=1:26, labels=letters)) Function 'factor' is already rather slow because of conversion to character. Please don't add slowdown.