[R] GSL in C code for R

2010-04-16 Thread J. Sebastian Tello
Dear fellow R users, I am now investing time in learning how to use compiled C code to produces functions that can be used in R. I am just starting, and there is much that I need to learn, so I have a question that might be straight forward. I am learning how to use function in the C library GS

[R] Psudeo R^2 (or other effect size) in spatial gls regressions

2010-07-08 Thread J. Sebastian Tello
Dear all, I have been using the function gls in the package nlme in R to fit some spatial regressions (as described in Dormann et al.). However, I have been struggling trying to find a way to calculate a measure of effect size from these models, so I wanted to know if any of you had an idea on

[R] Estimating R2 value for a unit-slope regression

2008-10-31 Thread J. Sebastian Tello
Dear all, I am in need to estimate the amount of variation explained in a variable after simulations that produce a predictor which is in the same units as the dependent variable (numbers of species). Since the dependent and predictor variables are the same, I would think the most appropriate ana

[R] Calculating R2 for a unit slope regression

2008-11-03 Thread J. Sebastian Tello
Does anyone know of a literature reference, or a piece of code that can help me calculate the amount of variation explained (R2 value), in a regression constrained to have a slope of 1 and an intercept of 0? Thanks! Sebastian J. Sebastián Tello Department of Biological Sciences 285 Life Sci