search for: natscan

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

Did you mean: satscan
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")