Hi all,
I need to design an experiment very similar to the design described in
the AlgDesign vignette on page 44. When I run the code on the vignette,
I get the following error:
> library(AlgDesign)
> Rep<-gen.factorial(3,1,factor=1,varName="Rep")
> Block<-gen.factorial(3,1,factor=1,varName="Blo
Dear list,
I am trying to do the randomization of several field experiments using a
row/column design. I found some functions in the past, but I do not remember
what package it was and don't seem to find it again
.
Any information about this will be appreciated.
Thanks.
Marc.
[[alternat
Xin hotmail.com> writes:
>
> y<-data[,7]
> x<-data[,3]
>
> I want to know the mean of y if corresponding x=1.
>
Try this:
mean(data[data[,3]==1,data[,7])
You can also look at ?subset.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/m
Thanks for your help! It is working fine.
Marc.
-Original Message-
From: Gavin Simpson [mailto:[EMAIL PROTECTED]
Sent: 10 January 2008 14:17
To: Marc Moragues
Cc: r-help@r-project.org
Subject: Re: [R] Error on distance matrix
On Thu, 2008-01-10 at 10:48 +, Marc Moragues wrote:
>
Hi,
I am trying to calculate a distance matrix on a binary data frame using
dist.binary() {ade4}. This is the code I run and the error I get:
> sjlc.dist <- dist.binary(as.data.frame(data), method=2) #D = (a+d) /
(a+b+c+d)
Error in if (any(df < 0)) stop("non negative value expected in df") :
mis
MySQL
Is it your use of 'con' rather than 'con2' in dbSendQuery? -Kevin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Marc Moragues
Sent: Tuesday, December 18, 2007 1:14 PM
To: r-help@r-project.org
Subject: [R] R brakes when submitti
Hello,
I would like to retrieve data stored in MySQL database, so I installed
RMySQL package.
I can successfully connect with the my database using the following code
> dvr<-dbDriver("MySQL")
> con2<-dbConnect(dvr,group="exbardiv")
> mysqlDescribeConnection(con2)
User: mmorag
Host: localh
7 matches
Mail list logo