search for: ahumada

Displaying 8 results from an estimated 8 matches for "ahumada".

2010 Jul 27
6
Eval() or parse() do not work inside function
...n error: >f.graph.two.vbs("data","RECORD") Error in data$RECORD : $ operator is invalid for atomic vectors Repeating the individual commands in the workspace does work though.. Do I need to pass the object data in the arguments for this to work? Thanks, Jorge -- Jorge A. Ahumada Technical Director Tropical Ecology Assessment and Monitoring Network (TEAM) Science and Knowledge Division Conservation International 2011 Crystal Dr. Suite 500 Arlington, VA 22202 Phone: 703-341-2543 Mobile: 202-716-3374 http://www.teamnetwork.org/
2005 Apr 20
7
A question about function behavior
Hello, I have been trying to figure this one out, but don't seem to go anywhere. I have a function like this: a = function(t) { max(0,t+1) } very simple, but if I pass a vector of n values to this function I expect n evaluations of max and instead I get only one value (the largest value of them all..). Is there anyway to do this without invoking a for loop? thanks, Jorge
2002 May 30
1
neighbor.grid and spatial.weights
Anyobody knows if functions neighbor.grid and spatial.weights (from module spatial) have any 'equivalents' in R ? Thanks. JA -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2003 Aug 11
2
Changing default browser in options()
I usually startup R from within several directories (usually where the programs or data of interest are). I like to use a small web browser called dillo to browse help files. However, by default R looks for mozilla, so I have to type every single R session: > options(browser='dillo') Is there anyway I can change this globally? thanks, J.
2005 Apr 20
1
overlaying a contour line in a levelplot
Hello there, I am creating a series of images using levelplot but I also want to overlay a contour for a particular value as reference. Here is the levelplot command for the image: print(levelplot(d~x+y,data=t,cuts=20,scales=list(draw=F),xlab=NULL,ylab= NULL,col.regions=heat.colors(100)[100:1]),split=c(1,1,1,1),more=T) and then to add the contour plot (I only want a contour at level 5):
2007 Jul 17
1
fit a nonlinear model using nlm()
I am trying to fit a nonlinear model using nlm(). My application of nlm() is a bit complicated. Here is the story behind the model being fit: The observer is trying to detect a signal corrupted by noise. On each trial, the observer gets stim=signal+rnorm(). In the simulation below I have 500 trials. Each row of stim is a new trial. On each trial, if the cross-correlation between the stim and the
2014 Jan 28
2
Duda con get_map de ggmap
Marta, Seguramente, al desconocer tu objetivo, no te servirá de mucho lo que te diga. No se si quieres escribir un paquete para mapas o simplemente hacer un mapa con la librería ggmap sin preocuparte de la magia interna. Si lo que necesitas es lo segundo puede que te sirva el siguiente ejemplo: http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf
2005 Oct 25
2
solving ODE's in matrix form with lsoda()
Hello there, Suppose you want to solve the following system of ODE's (a simple Lotka-Volterra predator prey model) dP/dt = beta*P*V - mu*P dV/dt = r*V - beta*P*V where P and V are the numbers of predators and prey. Now, this is easy to do, but suppose you have a system of equations like this, dP1/dt = beta1*P1*V1 - mu1*P1 dP2/dt = beta2*P2*V2 - mu2*P2 dV1/dt = r1*V1 - beta1*P1*V1