Displaying 10 results from an estimated 10 matches for "buchsbaum".
2009 Mar 06
1
array subsetting of S4 object that inherits from "array"
...ountered it before. I tested it on R.2.7.0 and confirmed that
class(x[1]) returned "numeric".
In my case, the desired behavior is for array subsetting in all cases
to return primitive data structures, so if there is a way to override
the new behavior I would opt for that.
Regards,
Brad Buchsbaum
R version 2.8.1 (2008-12-22)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets meth...
2001 Nov 28
3
trellis plot
...panel.loess(x,y,span=.15)
}
)
However, this gives me only a single loess curve (collapsed across
groups) whereas I would like one curve for each group (just as I get one
color for each set of points from the panel.superpose).
Is there a way to accomplish this?
thanks,
Brad Buchsbaum
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat...
2007 Jan 26
3
"[" operator and indexing ambiguity
...rit from the
"array" class directly? (See below for a snippet from the EBImage
package which suggests that it cannot).
My guess is that native array indexing is making use of the
information provided by the commas, and this is unavailable to user
implemented class methods?
thanks,
Brad Buchsbaum
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
setMethod("[", signature(x = "Image", i = "numeric", j = "missing"),
function(x, i, j, k, ..., drop) {
if (missing(k)) {
warning("using index [int],...
2003 Jul 30
6
reverse array indexing
...array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
2002 Jan 24
1
Re: coding factor replicates
...store the cumulative count in the index vector and the current count in
the result vector
> for( i in 1:length(tmp) )
+ retval[i] <- index[tmp[i]] <- index[tmp[i]] + 1
>
# show the results
> retval
[1] 1 1 1 2 2 2 3 3 3 4 4
-Greg
> -----Original Message-----
> From: Brad Buchsbaum [mailto:brad at aris.ss.uci.edu]
> Sent: Wednesday, January 23, 2002 4:52 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Re: coding factor replicates
>
>
>
> Hi All,
>
> If I have a factor f:
>
> A B C B C A C B A A B ....
>
> and I would like to ge...
2002 Jan 24
0
Re: coding factor replicates
> -----Original Message-----
> From: Douglas Bates [mailto:bates at stat.wisc.edu]
> Sent: Thursday, January 24, 2002 8:55 AM
> To: Uwe Ligges
> Cc: Brad Buchsbaum; r-help at stat.math.ethz.ch
> Subject: Re: [R] Re: coding factor replicates
>
> Douglas Bates <bates at cs.wisc.edu> writes:
>
> > Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:
> >
> > > Brad Buchsbaum wrote:
> > > >
> >...
2002 Apr 02
2
label tickmarks in persp()-plot
Dear R-users,
is there a way to label the tickmarks other than persp does it? I didn't
find anything on that in the archive.
To plot the surface with equi-distant tickmarks, I assigned
x<-c(1:6)
y<-x
persp(x,y,z,....)
Instead of labels 1 to 6, I need something like 0.05, 0.1,10,15,100,1000.
Any hint and help appreciated,
Nina
2002 Jan 23
6
multivariate simulation
To whom it may concern,
I try to simulate a non-normal multivariate distribution. The MASS package
allows by mean of "mvrnorm" command to perform a multivariate normal
simulation. Is there an equivalent command for an arbitrary multivariate
distribution available in the R-language?
Thank you in advance.
Bernard Colin
Colin Bernard
Professeur titulaire
D?partement de Math?matiques et
2002 Jan 25
0
nested versus crossed random effects
...ing lme? I guess I'm confused as to the practical difference
between coding "Trial" as replicates of certain factorial combinations
or coding "Trial" without respect to other variables in the design.
Forgive me if this is a little adrift for the R-Help mailing list.
Brad Buchsbaum
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at st...
2003 Jun 28
0
RSVGDev, lattice plots
...9;m hoping to use the SVG graphics device for exporting R plots to a java
application. It works well for most basic plots from the "plot" command, but
does not do so well with xyplot from the lattice package.
Something like: xyplot(y ~ x | f) should demonstrate the problem.
thanks,
Brad Buchsbaum