similar to: "as.numeric" / "As.numeric" [was "R-beta: bugs and problems"]

Displaying 20 results from an estimated 6000 matches similar to: ""as.numeric" / "As.numeric" [was "R-beta: bugs and problems"]"

1997 Apr 29
0
R-beta: Re: S Compatibility
Ross Ihaka <ihaka at stat.auckland.ac.nz> wrote: [ in response to discussions about S compatibility ] > Some things we almost certainly won't be changing. Scoping is one of > these (although I have to confess that I have made the pitch to Robert > that we should drop our scoping in favour of the S version - he > sensibly said "no"). I have a question/comment on
1998 Jun 03
1
R-beta: Re: "as.numeric" `mode' and `cast' should be kept separate.
Bill Venables <wvenable at attunga.stats.adelaide.edu.au> wrote: [ snip ] > I don't say this will appeal to everyone straight away, but I > would even favour using a binary operator syntax for the > assignment function form of the above replacement function, for > example > > "%cast.as%" <- function(x, form) { > storage.mode(x) <-
2001 May 14
0
followup: lookup function for density(...) objects
Thanks to Ross Ihaka and Bob Wheeler for responding to my earlier question. I looked into the Johnson system functions in SuppDists package. For now, I want to stick with the density(...) estimator, and so still need the variate lookup function. As per Ross' suggestion, I just did a numerical integration on the density object and used approxfun/splinefun to "lookup" the variate
1998 Jan 29
0
Funding freeeware (was: R-beta: help in sept) (fwd)
There needs to be more recognition in the academic community of the importance of contributions to widely used software. While many organizations are encouraging software development if it generates revenue, it is harder to measure the value of software that you give away. It is often hard to measure the number of users, so unless they mention you in citations, there is little hard evidence to
1999 Mar 05
0
lm-residuals and NA {was Can't understand error message :-{}
Martin Maechler <maechler at stat.math.ethz.ch> wrote: > Werner Stahel (in our stat group) has been using hacked versions of lm > and some hacked lm methods which exactly address this, > i.e. they follow the "b)" approach; however I think that it's still a > hack that only works in some (most used) cases. > One would have to change quite a few lm/glm/...
1998 Jan 29
0
Funding freeeware (was: R-beta: help in sept)
John Logsdon <j.logsdon at lancaster.ac.uk> wrote: > This is a problem that has been bothering me for some time. At the > moment, I use RedHat Linux, Octave, occasionally R and other FSF/GPL > products. They are generally better, at least in their fundamental > design, than the commercial versions but there is no clear mechanism to > ensure their continued development.
2001 May 10
3
lookup function for density(...) objects
Hi folks: Is there a lookup function that returns the variate given the cumulative probability for an object returned by the density(...) function? > mydata _ as.vector(mymatrix) > mydata.density _ density(mydata) > mydata.p80 _ lookup(mydata.density, p=0.8) # is there any function to accomplish this task? Thanks. Rajiv. -------- Rajiv Prasad, Postdoctoral Research Associate,
2008 Nov 12
1
rimage doesn't install on Mac OS X 10.4
Hi, I'm trying to install rimage on a Mac OS X 10.4 machine. I followed the advice in previous R-help threads and got over the hurdles of having the header files in the right places, among other things. But I can't figure out what to do with this error. ice.pnl.gov:/home/waichler<949>system_profiler -detailLevel mini SPSoftwareDataType Software: System Software Overview:
2001 May 11
1
Managing R objects with 'make'
I frequently use Makefiles to manage routine data manipulations and repeated analyses where the "raw" data tend to change with time. With S/Splus, this has worked quite naturally, as long as I'm careful to use S object names that map directly to Unix/Linux filenames. For example, say I'm building a particular graphic (chart.ps) from a data.frame in S (mydata) that comes from an
1999 Jun 23
2
coercing factors to matrix() --> num/char ? --
Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> wrote: > Martin Maechler <maechler at stat.math.ethz.ch> writes: [ snip... ] > > >From this logic, coercing to a matrix should coerce to character rather > > than integer/numeric codes. > > Hm. I'm not sure there really is much logic in this... Factors are > sometimes character-like, sometimes
2004 May 02
0
parallel REML computation
Sorry for the off-topic (non-R) post. Has anyone seen/tried this (from this week's NA-digest)? Andy ------------------------------------------------------- From: Joel Malard <JM.Malard at pnl.gov> Date: Sat, 01 May 2004 15:31:15 -0700 Subject: ACRE, Parallel Covariance Component Estimation Code A couple of people have asked recently for a copy of the parallel (restricted/residual)
2002 Jan 31
1
Example scripts for trellis graphs
How can I access examples of trellis graphs in R? I'm especially interested in getting code for xyplot() examples. Failing a collection of examples in R, I see that under Splus there are numerous example.*() functions. I can access Splus with a command line but can't open a graphics window, so I can't to execute the example.*() functions. Is there a way I could get the associated
1998 Jan 05
0
as.numeric changes?
[another spill over from R-core concering the new behavior of as.numeric(.) for factors. - MM] >>>>> "Ross" == Ross Ihaka <ihaka@stat.auckland.ac.nz> writes: Ross> Thomas Lumley writes: > On 27 Dec 1997, Peter Dalgaard BSA wrote: > > Thomas Lumley <thomas@biostat.washington.edu> writes: > > > > > Now as.numeric() operates
2002 Mar 27
0
Re: RE Vertical bars with barchart()
Hi, [I'mm cc-ing r-help on this, since some others might be interested (Tony Rossini is, at least)] Yes, I saw your mail and was wondering about what would be the best approach to do it. It's definitely not trivial, mainly because Trellis is not designed to handle factors on the x-axis (chiefly for convenience, as factors typically have long names which are difficult to write on the
2003 Dec 19
1
Different scales for keys in lattice levelplots
Can anyone tell me how to obtain a custom scale for the colorkey in each levelplot of a lattice? I am using lattice and levelplot to plot z = f(x, y) for multiple z variables. x and y values are the same across plots, but units for z are different and therefore I need to create a custom scale for each plot's key. It follows that I need to place each plot's key inside that plot's
2004 Dec 16
2
Unsightly lines from x*y grid in levelplot with Postscript
When I generate levelplot figures with Postscript, the lines from the underlying grid (i.e., the x and y in z ~ x* y) show up as faint white lines in the output. If I have a dense grid, the lines wash out the contour colors. I can avoid the problem if I use png instead, but that brings up other problems. Any ideas for how I can get Postscript to not show those lines around the cells? Scott
2009 Mar 10
0
Alternative to interp.surface() offered
I wanted a simple function for bilinear interpolation on a 2-D grid, and interp.surface() in the fields package didn't quite suit my needs. In particular, it requires uniform spacing between grid points. It also didn't have the "visual" reference frame I was looking for. Here is an alternative function, followed by an example. # A function for bilinear interpolation on a 2-d
2005 Jan 14
0
Code contributed for a gant (Gantt) chart
I searched CRAN for material on gant (or Gantt) charts, those schedule plots that look like horizontal barplots where the x-axis is time. Finding none, I wrote the following and am submitting it to the archive so that it may help someone in the future. plotfile <- "gant.eps" regular.color <- "lightgray" important.color <- "yellow" tasks <- list() #
2003 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of Sweave files. I have followed Friedrich's suggestion for code to insert into my .emacs file. The complete section from my .emacs file is given below. When I load a *.Snw file, font is white until I press M-x, then the first code and document chunks get highlighted, but not the rest of the file. Latex and Noweb menus are
2007 Mar 08
1
sink with R-code
I have the same question that Eusebio had: Is there a function similar to "sink" that redirect also R code to a file that is: sink("R001") x <- c(2,-6,-4,8,5,4,1,3,4,-9,0,1) A <- matrix(x, ncol=3) A A.prima <- t(A) A.prima dim(A) dim(A.prima) sink() create a file "R001" with contents: ------------------------------------------ [,1] [,2] [,3] [1,]