Skip to content
Back to formatted view

Raw Message

Message-ID: <514C47A9.3060200@yahoo.fr>
Date: 2013-03-22T11:59:37Z
From: Marc Girondot
Subject: trouble with data frame
In-Reply-To: <CACvtrYjn-kDvGeTAGtNgEJTaeK0xuEp+VDPTGWWkShSprsOrZw@mail.gmail.com>

Le 22/03/13 12:34, Sahana Srinivasan a ?crit :
> while (a<=10)
> {
> while (b<=10)
> {
> n<-as.numeric(df[a,b)];
> ...;
> }
> }
>
> The problem is that when I print out 'n' I get the following errors :
> "NULL" (if printed without as.numeric), and "numeric(0)" if printed with
> the as.numeric.
Perhaps with

n<-as.numeric(df[a,b])

)] are reversed

Marc



-- 
__________________________________________________________
Marc Girondot, Pr

Laboratoire Ecologie, Syst?matique et Evolution
Equipe de Conservation des Populations et des Communaut?s
CNRS, AgroParisTech et Universit? Paris-Sud 11 , UMR 8079
B?timent 362
91405 Orsay Cedex, France

Tel:  33 1 (0)1.69.15.72.30   Fax: 33 1 (0)1.69.15.73.53
e-mail: marc.girondot at u-psud.fr
Web: http://www.ese.u-psud.fr/epc/conservation/Marc.html
Skype: girondot