search for: effectif

Displaying 4 results from an estimated 4 matches for "effectif".

2004 Dec 27
2
list(0) to integer
Hello I've another question :-) I would like to transform a list to a integer. I must be sure that the number entered by the user is an integer! Thus, I've made : repeat{ cat("Effectif des populations (integer):") n<-scan("",n=1,what=list(0),quiet=TRUE) if (is.integer(n[[1]])==TRUE) break print("L'effectif des population doit etre un entier") } That doesn't work of course but I've no idea to do this. How verify that n[[1]] is an i...
2012 Aug 03
2
how to identify values from a column of a dataframe, and insert them in other data.frame with the corresponding id?
...lot): poids calee_id maree_id 10 1.27E+12 0.3013157 20 1.27E+12 0.05726046 20 1.27E+12 0.73631699 25 1.27E+12 0.74492002 3 1.27E+12 0.74492002 27 1.27E+12 0.31776439 43 1.27E+12 0.31776439 Datuak2: calee_id maree_id kg_totales effectif 1 1.33959e+12 0.782835873 129.7 30 2 1.33959e+12 0.782835873 129.7 40 3 1.33959e+12 0.782835873 129.7 10 4 1.33959e+12 0.782835873 129.7 5 5 1.33959e+12 0.782835873 129.7 1.7 6 1.339...
2007 Jun 06
2
names not inherited in functions
...me ( names(table(vari)),chiffr) rownames(chiffr) <- NULL chiffr <- data.frame (nom.chiffr, chiffr) return(chiffr) } res <- rep(NA, 4) for (i in 1 : ncol(tablo)) res <- rbind(res,descriptifvar(tablo[,i])) colnames(res) <- c("variable", "niveau", "effectif", "pourcentage") return(res[-1,]) } # NB I used this function on a data.frame with only factors in
2006 Jun 18
0
Spare RailsConf ticket (another one!)
Unfortunately, I can''t go to RailsConf either. I''m therefore offering my ticket for the usual $400 (list price). Please email me off list if you''re interested. Thanks. -- Graham