Skip to content

trouble with data frame

4 messages · Sahana Srinivasan, Jorge I Velez, Berend Hasselman +1 more

#
On 22-03-2013, at 12:34, Sahana Srinivasan <sahanasrinivasan.91 at gmail.com> wrote:

            
The )] should be ]).
Data?
Reproducible example?

Without the contents of your dataframe no sensible answer can be given.
E.g. use dput(head(df)) 

Berend
#
Le 22/03/13 12:34, Sahana Srinivasan a ?crit :
Perhaps with

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

)] are reversed

Marc