R/get.numbers.R

Defines functions `get.numbers`

`get.numbers` <-
function(x){
n <- tapply(x, x, length)
l <- double(length(n)+1)
for(i in 1:length(n)){
l[i+1] <- l[i]+n[i]
}
return(l)
}

Try the GeneF package in your browser

Any scripts or data that you put into this service are public.

GeneF documentation built on May 9, 2022, 5:07 p.m.