Re: [R] Error: non-numeric argument to binary operator

2011-07-17 Thread Uwe Ligges
On 14.07.2011 23:03, Anil acharya wrote: Hi I am posting in the topic related to the non-numeric argument to binary operator as I got similar problem while running the netcdf code. I have attached the file with this post. It is a climate data from NOAA site. The code follows as:

[R] Error: non-numeric argument to binary operator

2011-07-14 Thread Anil acharya
Hi I am posting in the topic related to the non-numeric argument to binary operator as I got similar problem while running the netcdf code. I have attached the file with this post. It is a climate data from NOAA site. The code follows as: library(survival) library(RNetCDF) library(ncdf)

[R] Error non-numeric argument to binary operator

2011-07-13 Thread Bansal, Vikas
Dear all, I have a data frame df and i am using a code shown below. df[, total] - rowSums(df[, 3:6]) MAKING A NEW COLUMN total in df BY ROWSUMS defineSamples- function() { readline(enter the number of INDIVIDUALS IN POOL: ) } df$ind=definesamples() CALLING THE FUNCTION

Re: [R] Error non-numeric argument to binary operator

2011-07-13 Thread Uwe Ligges
On 13.07.2011 17:46, Bansal, Vikas wrote: Dear all, I have a data frame df and i am using a code shown below. df[, total]- rowSums(df[, 3:6]) MAKING A NEW COLUMN total in df BY ROWSUMS defineSamples- function() { readline(enter the number of INDIVIDUALS IN POOL: ) }