similar to: R-alpha: R-beta:matrix & vector multiplication.

Displaying 20 results from an estimated 10000 matches similar to: "R-alpha: R-beta:matrix & vector multiplication."

1997 Oct 01
1
R-alpha: R-beta: hat
The hat() function, returning the diagonal of the hat matrix, currently works only on matrices and doesn't work with weights. Could we make it return lm.influence(x)$hat when inherits(x,"lm")? Thomas Lumley ------------------------------------------------------+------ Biostatistics : "Never attribute to malice what : Uni of Washington : can be adequately explained by :
1997 Apr 08
1
R-alpha: rbind
rbind() does something strange to dimnames R : Copyright 1997, Robert Gentleman and Ross Ihaka Version 0.50 Beta (April 1, 1997) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type "license()" for details. > test1 <- data.frame(time= c(4, 3,1,1,2,2,3), + status=c(1,NA,1,0,1,1,0), + x= c(0,
1997 Apr 01
0
R-beta: Re: R-alpha: My two problems
On Tue, 1 Apr 1997, Jim Lindsey wrote: > Neither setting environment nor command > line change memory size as given by gc(). However, if I give too small > or too large a value on the command line, it tells me that it is > invalid and is ignoring it!?? I repeat that when I recompiled changing > the default size, gc() changed its values. Am I misunderstanding > something? I
1998 Apr 09
1
0-extent matrices?
Is there a good reason not to allow matrix extents to be zero? I have been writing a function which fits glms under certain linear constraints. I fit the model with a reduced set of variables and then transform back to the original set. This involves operating on submatrices of the covariance matrix and subsets of the coefficients. Sometimes these subsets are empty. A zero-length subset of the
1997 Aug 31
1
R-alpha: ?bug in [.data.frame
If you subscript a data frame using the names of the columns and there is more than one column with the same name only the first one is found. eg mm<-data.frame(1:10,log(1:10)) names(mm)<-c("(offset)","(offset)") mm[,"(offset)"] # only returns first column mm[,"(offset)"]<-rep(1,10) # only sets first column This *is* compatible with S, but I
1997 Aug 21
0
R-beta: problem with gee() with singletons
A bug (misfeature) has been found in the S gee library (and thus in the R gee library). The problem, which is shared by nearly all gee implementations, involves the calculation of working correlations when some clusters have only one observation. For compatibility reasons nearly everyone uses the computing formula from the first SAS macro by Karim, rather than the formula from the original GEE
1997 Oct 08
0
R-beta: calling R from FORTRAN
There was a question earlier today, on either r-help or r-devel, about calling R code from FORTRAN (I deleted it accidentally, so I don't know which list it belonged to). Anyway, there is a workaround to call R functions from FORTRAN which is used in the "integrate" library. It was invented for S by Mike Meyer. The FORTRAN code needs to be written to call a fixed C function and
1997 Aug 20
1
R-alpha: R-0.50-a3(+) Method despatching bug ?
It is very wierd... Can some of you confirm the following behavior ? It is a new bug (feature ?) which was not yet in 0.49 ... noquote <- function(obj) { ## constructor for a useful "minor" class if(!inherits(obj,"noquote")) class(obj) <- c(class(obj),"noquote") obj } "[.noquote" <- function (x, subs) structure(unclass(x)[subs], class =
1998 Jan 03
1
R-beta: NextMethod(.Generic) bug
I'm a day-old R newbie (but a war-weary S veteran), with couple of first-day questions: In R 0.61, this code fails. Ops.test <- function(e1,e2) { e1 <- NextMethod(.Generic) e1 } x <- 4 class(x) <- "test" y <- x < 3 The error message is "Error in NextMethod(.Generic) : negative length vectors are not allowed.". I assume it is a bug.
1997 Jun 20
2
R-beta: purpose of n in identify() function?
I think I am misunderstanding something about the identify() function. if we have an example such as this: > x_1:10 > y_1:10 > plot(x,y) > identify(x,y, n=1) [1] 2 3 > I clicked on two points and identify() returned both of them (2 and 3). The manual says n is the maximum number of points to be identified. If I specify n=1, should identify() return a single value?
1997 Apr 29
1
S Compatibility (Was: Re: R-beta: 'all.names' function -- failing as.list( _function_ ))
Peter Dalgaard writes: > Ross Ihaka <ihaka at stat.auckland.ac.nz> writes: > > Many of the incompatibilities result from us not being familiar with > > some of the inner mysteries of S - these are generally pretty easy to > > fix. Some incompatibilities however result from the fact that R > > started life as a kind of Lisp interpreter. These can be quite a bit
1998 Apr 17
2
R-beta: lmsreg
Does R have a function like the S(plus) function, lmsreg, Least Median of Squares Regression? I am using R-0.61. Thank you, Mike Fleming mfleming at nass.usda.gov -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
1998 Apr 17
2
R-beta: lmsreg
Does R have a function like the S(plus) function, lmsreg, Least Median of Squares Regression? I am using R-0.61. Thank you, Mike Fleming mfleming at nass.usda.gov -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi, when designing libraries for R, is it possible to call C/Fortran subroutines from other dynamically loaded code? The following example crashes R: ********* fn1.c ***************** void twice(int *i) { *i = 2 * *i; } ********************************* ********* fn2.c ***************** extern int twice(int *i); void negtwice(int *i) { *i = -1 * twice(i); }
1998 Feb 26
2
R-beta: question on dyn.loaded code
Hi, when designing libraries for R, is it possible to call C/Fortran subroutines from other dynamically loaded code? The following example crashes R: ********* fn1.c ***************** void twice(int *i) { *i = 2 * *i; } ********************************* ********* fn2.c ***************** extern int twice(int *i); void negtwice(int *i) { *i = -1 * twice(i); }
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1997 Jun 25
3
R-alpha: lbeta, ctrl-C and crashes
1. lbeta and beta do not work properly: lbeta returns its first argument and beta gives the lbeta result. In names.c lines 245-6, the codes for these should be 2 and 3 instead of 1 and 2 2. crtl-C does not work (except the first time) on Red Hat elf Linux (which has many many other problems as well) nor on the previous version of Linux for Amiga. It worked on Slackware aout Linux and now works
1997 Jul 25
2
R-beta: R 0.50 alpha
The new code seems to have broken various things. Autoloading of libraries doesn't seem to work: > library(survival4) Autoloading required library: splines Error in pos.to.env(pos) : invalid "pos" argument > search() [1] ".GlobalEnv" "library:survival4" "library:date" [4] "library:base" The coxph function the
1997 Jul 25
2
R-beta: R 0.50 alpha
The new code seems to have broken various things. Autoloading of libraries doesn't seem to work: > library(survival4) Autoloading required library: splines Error in pos.to.env(pos) : invalid "pos" argument > search() [1] ".GlobalEnv" "library:survival4" "library:date" [4] "library:base" The coxph function the
1998 Jan 05
2
R-beta: Inquiry
To Whom It May Concern, I have been informed that there is a public domain software called "R" which is available through ftp://stat.auckland.ac.nz. I've tried the address but I can't find the software itself. Can you help me on this. Thanks. Belen Razo -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read