[R] small problem in coding

Ivan Calandra ivan.calandra at uni-hamburg.de
Fri Nov 26 10:12:51 CET 2010


Euu...
g <- 0.2
Q <- exp(g)

or
lamda <- c(g=0.2)
exp(lamda)

Ivan



Le 11/26/2010 09:12, Mike Gibson a écrit :
> I must be missing something.
>
> I first state my g parameter with:
>
>> lamda<-c(g=0.2)
> However, when I do the next step R is telling me "object g not found"  Here is my next step:
>
>> Q<-exp(g)
>
>
> ???
>
> Any help would be greatly appreciated.
>
> Mike 		 	   		
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php



More information about the R-help mailing list