search for: moragues

Displaying 7 results from an estimated 7 matches for "moragues".

2008 Jan 10
2
Error on distance matrix
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") : missing value where TRUE/FALSE needed I don't know if the problem are the
2008 Jun 10
2
Slow function
Hi, I have the following function that I want to apply to a list of 14 matrices (1536 x 170) of binary data: DRes <- function(x, nr = 10000, metric = "mixed", ...) { require(analogue) require(ade4) m <- c() for (i in 1:nr) { set.seed(i) x1 <- x[, sample(dimnames(x)[[2]], length(x[1,])/2)] x2 <- x[, !dimnames(x)[[2]] %in% dimnames(x1)[[2]]] d1 <-
2007 Dec 18
2
R brakes when submitting a query to MySQL
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) <MySQLConnection:(972,0)> User: mmorag Host: localhost Dbname: exbardiv
2006 Jan 19
1
TDM400P zttest not working
Hi, I have a TDM400P running with only one FXO port running on a VIA EPIA MS10000 (1Ghz Via Eden). When I run zttest from Zaptel 1.2.1 it hang and when I interrupt it with Ctrl-C that is the result: ?anyone have some idea about why isn't working? Some additional info: # /usr/src/zaptel/zttest -v Opened pseudo zap interface, measuring accuracy... --- Results after 0 passes --- Best:
2008 Jan 09
0
Distance matrix from a binary data frame
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") : missing value where TRUE/FALSE needed I don't know if the problem are the
2008 Apr 24
0
Name of objects in a list
Hi useRs, I am trying to compare several distance matrices obtained from subsets of variables from the same experiment. I put all the subsets in a list and then calculated the distance matrices with lapply. In order to do a mantel test between them I wrote a function the returns a list with the output of single tests. I would like to include the name of the tests, so I know what each element
2009 Apr 14
0
Fitted values and MSE of individual fits in lmList
Dear useRs, I am working on a series of field experiments (159 in total) carried out in different years in several locations. The cultivars in each experiment are not always the same, in fact they change over time. I would like to get the fitted values and MSE of the individual fits from the following lmList object, so I can use them to fit a mixed model using the fitted values and weight each