Hi O'Hara Thank you for the help Your comand helped me a lot. Was exactly what I wanted. Sampled a subset of my data that must have casod==3
By the way sorry for my english and for the question. I'm trying to learn how to create function in R Cheers, Moreno -- View this message in context: http://r-sig-ecology.471788.n2.nabble.com/Help-with-a-function-tp7578931p7578936.html Sent from the r-sig-ecology mailing list archive at Nabble.com. _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology