search for: repvector

Displaying 1 result from an estimated 1 matches for "repvector".

Did you mean: rexpvector
2006 Jan 24
9
Number of replications of a term
...the data if the next term is the same as the previous one (see below) ) is really slow (30minutes for 44290 terms). But I don't have time by now to write a C function. Thanks a lot for your help, Laetitia. Here is the function I have written maybe I have done something not optimized : repVector <- function(obj){ # order IDName ord <- gif.indexByIDName(obj) ordobj <- obj[ord,] nspots <- nrow(obj) # vector of spot replicates number spotrep <- rep(NA, nspots ) # function to get ID:Name for a given spot spotidname <- f...