Hi,
this works aswell:
for(i in 1:ncol(data)) data[is.na(data[,i]),i] <- 0
i am sure there is way doing it with a member of the apply family, maybe
someone else has an idea.
Johannes
On Fri, Jan 15, 2010 at 9:51 PM, Jim Lemon wrote:
> On 01/15/2010 07:10 PM, Uli Kleinwechter wrote:
>
>> Dea
On Sat, Dec 26, 2009 at 10:21 AM, Maithili Shiva
wrote:
>
>
> Dear R helpers
>
> I have some files in my say 'WORK' directory and the file names are say
> rate1.csv, rate2.csv, rate3.csv, rate4.csv
>
> Because of some other requirement, I need to run the following commands
>
> n = 4
>
> rates = NU
Hello Ivan,
there are pretty good manuals for all packages:
http://cran.r-project.org/web/packages/
Johannes
On Tue, Dec 8, 2009 at 11:04 AM, Ivan Calandra wrote:
> Hi everybody!
>
> I'm using the mailing list since a few days and I'm starting to wonder how
> you guys can know so much about th
3 matches
Mail list logo