Hi all, I'm writing to seek out some advice regarding running PGLS for a relatively small dataset (10 species), but with random sampling of intraspecific variation (N ~ 40-45).
(1) I'd like to examine the links between group size (cont. outcome) and various social network measures (cont. predictors) across 10 species of nonhuman primates. I first tried implementing the PGLS code in Caper package that incorporates random-sampling of intraspecific variation. Although I am getting a seemingly meaningful output, I'm also getting the error: Error in pgls(mod ~ groupsize, data = primate, lambda = "ML") : Problem with optim:52ERROR: ABNORMAL_TERMINATION_IN_LNSRCH Is there some way around this? (2) Is there an algorithm for running a logistic PGLS that allows for random sampling of intraspecific variation? Does adding a link function to the regular Caper package code do the trick? Thank you very much... looking forward to some feedback! Best regards, Krishna -- Krishna N. Balasubramaniam, Ph.D. Postdoctoral Researcher, School of Veterinary Medicine Department of Population Health and Reproduction University of California-Davis One Shields Avenue Davis, CA 95616 Email: krishnanatara...@ucdavis.edu [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/