Displaying 20 results from an estimated 4000 matches similar to: "Re: coding factor replicates"
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>
2009 Mar 06
1
array subsetting of S4 object that inherits from "array"
Hi,
I have an S4 class that inherits from "array" but does not add generic
implementations of the "[" method.
A simplified example is:
setClass("fooarray", contains="array")
If I create a "fooarray" object and subset it with a one-dimensional
index vector, the return value is of class "fooarray". Other variants
(see below), however,
2001 Nov 28
3
trellis plot
Hi,
I'd like to plot 4 groups of data using xyplot and panel.superpose so
that the points are overlayed on a single plot. For each group of data
I'd also like a loess smoothed function (using panel.loess). I have
tried the following:
xyplot(series ~ time | gr, data=etable,
panel = function(x,y, ...) {
panel.superpose(x,y, ...)
panel.loess(x,y,span=.15)
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional 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
2007 Jan 26
3
"[" operator and indexing ambiguity
Hi,
I am working on writing some S4 classes that represent
multidimensional (brain) image data. I would like these classes to
support standard array indexing. I have been studying the Matrix and
EBImage (http://www.bioconductor.org/packages/1.9/bioc/html/EBImage.html)
packages to see how this is done.
When using objects of the "array" class directly, R distinguishes
between the calls:
2010 Oct 06
3
what is the "NOT IN" operator
Good day,
I need to subset a data by removing several rows. I know the %in% operator, i.e.
sub <- mydata[group %in% c("A","B","E","G"), ]
What I need is the opposite, that is remove rows and/or columns. What is the operator for "NOT IN"? I tried (i)! %in% and (ii) ^%in% and both resulted in a "could not find function" error.
2002 May 15
3
question about scan()
Hi,
I am using the scan function to read from a file. In
general the syntax I am using is as follows:
scan("myfile", list(a = "", b="", c="", d=""), sep=",")
The file I am trying to read contains a #< in the 'd'
field. When the file is read into an object, the d
field comes as "" for that particular string.
I
2007 Aug 21
2
compiling R under cygwin
For various reasons, it suits our workplace to have a cygwin version of
R. I am pretty sure that cygwin is still not a supported environment
for R, but we have managed to compile R-2.5.1 under cygwin without too
many dramas. Our procedure is described below. We still have a few
problems compiling libraries without manually changing files from .so to
.dll, but it seems ok.
I was wondering
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
2005 Feb 17
1
Factor level coloring in trellis plot
Hi :)
Was just wondering whether someone could help me with
adjustments to trellis plots (parallel).
I've got two way multivariate data. I want to make
parallel plots for one of the factors, and want to color
the lines according to the other factor. The first thing I
manage, but with the other I'm lost :( Can only change the
overall color.
This is basically how far I get:
2008 Mar 26
1
rsync 3.0.1pre -H fails assertion
Wayne,
I have this bug in redhat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=439074
Summary: rsync 3.0.1pre -H fails assertion
Is it ok to pass this kind of bug directly upstream filing a new bug in
bugzilla and linking the fedora bug ?
(There is also a reproducer there)
Simo.
--
Simo Sorce * Red Hat, Inc * New York
2015 Sep 09
2
large rsync fails with assertion error
rsyncing a tree of perhaps 30M files, getting this:
rsync: hlink.c:126: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed.
then a bit more output and
2002 Jan 25
0
nested versus crossed random effects
Hi all,
I'm trying to test a repeated measures model with random effects using the
nlme library. Suppose I have two within subjects factors A, B both with
two levels. Using aov I can do:
aov.1 <- aov(y ~ A*B + Error(S/(A+B))
following Pinheiro and Bates I can acheive the analagous mixed-effects
model with:
lme.1 <- lme(y~A*B, random=pdBlocked(list(pdIdent(~1),pdIdent(~A-1),
2003 Jun 28
0
RSVGDev, lattice plots
Hi,
I'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
2005 Sep 08
1
C API
Hi.
I am one of the developers of Swish-e (http://swish-e.org/), an indexing/search
tool similar to Xapian.
I am currently researching future development directions for the Swish-e
project. Three of our most often-requested features are UTF-8 support,
incremental indexing, and large (multimillion) doc sets, all of which seem to be
ably handled in the Xapian library.
So one possible
2009 Dec 01
0
SWISH::Prog::Xapian
Early[0] implementations of Swish3 for Perl are now available on CPAN.
http://search.cpan.org/dist/SWISH-Prog-KSx/
http://search.cpan.org/dist/SWISH-Prog-Xapian/
These Perl implementations offer KinoSearch[1] or Xapian[2] as alternate backend
libraries.
SWISH::Prog::Xapian should build indexes compatible with the swish_xapian tool
that comes with libswish3.
Feedback welcome.
[0] They are
1999 Oct 22
1
par(uin)
Hi,
I've been trying to use several plotting routings that make use of
S's par("uin"), the number of user units per inch. For the moment I've
substituted all of the occurences of this with
par.uin _ function()
(par("fin") / c( diff(par("xaxp")[1:2]),diff(par("yaxp")[1:2])))
This seems to work fine for my needs.
-Greg
2007 Sep 27
6
Security + Rails =Joke?
Hi,
http://dev.rubyonrails.org/ticket/8453
http://dev.rubyonrails.org/ticket/8371
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3227
I came across the above by accident. While I am subscribed to the so
called rails security list where supposed announcement of security
issues were to be posted, neither of the above problem made the list.
While I use rails a lot and like it, the above
2001 Sep 30
1
wine won't load anything
I have been able to install Starcraft and Swish 2.0 using wine (under
Mandrake 8.0) but when I try to run either program I get a "can't load
*.dll" error. Both errors are from dll files that the are in the program
directory itself. I have attempted to specify these dlls like all of the
default dlls in the wine config file but it still can't find them. Anyone
know if I have