Great! Thank you for your help!
-Charlotte
>>
>> On Mon, Apr 26, 2010 at 1:12 AM, Tal Galili wrote:
>>>
>>> mm...
>>> I also noticed the function you wrote didn't use parenthesis, mixed b and c
>>> and used different names for K.
>>> Your code is a great exercise in debugging (no offense inte
mm...
I also noticed the function you wrote didn't use parenthesis, mixed b and c
and used different names for K.
Your code is a great exercise in debugging (no offense intended :) )
Try using:
bird<-bird.density[0] # I assume this exists
eqn<- function(K1, b1 = 1.22, c1 = .55) {
Hi Charlotte ,
I can't reproduce your code, but skimming through it -
It would appear that:
1) in
eqn1<- function(K1, bird)
you didn't define "bird" (you did define it before the function, so I'd
suggest just removing it from the function call like this:
eqn1<- function(K1)
2) you didn't "return"
3 matches
Mail list logo