Displaying 20 results from an estimated 7000 matches similar to: "Re: coding factor replicates"
2002 Jan 24
1
Re: coding factor replicates
How about this. Its not as 'swish' as Doug's response, but it might be a
little simpler to think about and adapt...
# show the test vector
> tmp
[1] A B C B C A C B A A B
Levels: A B C
>
# create a named vector to store the number of occurences of each level
> index <- numeric(length=length(levels(tmp)))
> names(index) <- levels(tmp)
> index
A B C
[1] 0 0
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
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),
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
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,
2005 Sep 13
0
R news: Call for Papers
Dear useRs and developeRs,
the next issue of `R news' is scheduled for the beginning of November
and we are now accepting submissions for this last issue in 2005.
For more information see
http://cran.r-project.org/doc/Rnews/
If you are the author of a package on CRAN and you would like to promote
it a little bit, or if you simply have an interesting application using
R, we hope you
2005 Sep 13
0
R news: Call for Papers
Dear useRs and developeRs,
the next issue of `R news' is scheduled for the beginning of November
and we are now accepting submissions for this last issue in 2005.
For more information see
http://cran.r-project.org/doc/Rnews/
If you are the author of a package on CRAN and you would like to promote
it a little bit, or if you simply have an interesting application using
R, we hope you
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:
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
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
2005 Feb 14
2
R News: Call for Papers
Dear useRs and developeRs,
the next issue of `R News' is scheduled for the beginning of May
and we are now accepting submissions for this first issue in 2005.
For more information see
http://cran.r-project.org/doc/Rnews/
If you are the author of a package on CRAN and you would like to promote
it a little bit, or if you simply have an interesting application using
R, we hope you can
2005 Feb 14
2
R News: Call for Papers
Dear useRs and developeRs,
the next issue of `R News' is scheduled for the beginning of May
and we are now accepting submissions for this first issue in 2005.
For more information see
http://cran.r-project.org/doc/Rnews/
If you are the author of a package on CRAN and you would like to promote
it a little bit, or if you simply have an interesting application using
R, we hope you can
2010 Jun 19
1
Extracting P-values from the lrm function in the rms library
Hello again R users,
I have a devilishly hard problem, which should be very simple. I hope someone out there will have the answer to this on the tip of their tongue.
Please consider the following toy example:
x <- read.table(textConnection("y x1 x2
indv.1 bagels 4 6
indv.2 donuts 5 1
indv.3 donuts 1 10
indv.4 donuts 10 9
indv.5 bagels 0 2
indv.6 bagels 2 9
indv.7 bagels 8 5
indv.8
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
2020 Jun 19
3
Inclusive language in LLVM: can we rename `master` branch?
On 2020-06-19, Justin Hibbits via llvm-dev wrote:
>On Fri, 19 Jun 2020 17:38:02 +0100
>Renato Golin <rengolin at gmail.com> wrote:
>
>> On Fri, 19 Jun 2020 at 16:43, Robinson, Paul via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>> > If anyone's keeping track of the voting:
>> > +1 for "dev" (contrasts with "release")
2007 Apr 12
0
[LLVMdev] "Name that compiler"
On 4/12/07, Chris Lattner <sabre at nondot.org> wrote:
> Note that the name need not capture every aspect of the project. Just
> having a distinguished name with no specific connotation is probably good
> enough. 20 years ago, "google" and "yahoo" had very different meanings,
> and "mozilla" or "firefox" were pretty meaningless. Today,
2003 Nov 06
2
Dialing an outside number -- QUESTION --
Hello--
I'd like to do a little processing on external phone numbers from within
the asterisk pbx. Fairly simple stuff, but... devilishly hard to make it
work so far!
1. I'd like to dial 9 to get an outside line.
2. If the number dialed after the 9 is 754XXXX, I'd like it to go thru
unmodified. It's the only local number available here.
3. I'd like all 1 XXX XXX XXXX numbers
2009 Apr 10
0
Nice review of Wine on frankw.livejournal.com
Some fellow in South Africa is blogging his move to Linux:
http://frankvw.livejournal.com/195867.html
An excerpt:
"There is a huge database of applications available that lists every
application that has been tested with Wine, and it tells you how well
(or badly) it runs. I'm amazed how many Windows applications will work
with Wine flawlessly. I remembered Wine from its early days when it
2009 Oct 30
1
Xen network problem
I have a machine with 8 CPU's (2 quad xeons). (Centos 5.4 currently).
Currently, I am running 2 domUs. One with 4 CPUs and another with 2. 2
remain unused. I am using routed networking.
On the one machine with 4 CPU's, there is a cronjob at 4am which
utilizes the CPU/disk pretty heavily. It is rebuilds a mailing list
archive (using MHonarc) and rebuilds a search engine index