[adegenet-forum] Random error message

Spencer Bruce goatsrunfaster at gmail.com
Fri Nov 7 15:47:53 CET 2014


Hello All,

I'm work with a large set of data where I need to continuously randomly
sample individuals, and keep getting random error messages, seemingly for
no reason. Example below:

> randomF12Gen15 <- randomF12Gen14[sample(nrow(randomF12Gen14$tab), 199, ]

Error: unexpected ']' in "randomF12Gen15 <-
randomF12Gen14[sample(nrow(randomF12Gen14$tab), 199, ]"

This does not make sense given that I ran multiple lines of code before it
that look exactly the same.

Any idea why this might be happening?

-- 
Spencer A Bruce
113 Hill St.
Troy, NY 12180
518 225 0787
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20141107/27759234/attachment.html>


More information about the adegenet-forum mailing list