Re: [R] How to convert factors to numbers

2012-03-23 Thread Natasha Stavros
As.numeric(as.character(factor.level.to.convert)) On Mar 23, 2012 11:40 AM, "sandro" wrote: > Hello, I am relatively new to using R. > > The text file contains the date and price . I want to read and manipulate > the data in R. However, when I use read.table, it treats all of the data > as > "f

Re: [R] finding big matrix size and SVD

2010-09-27 Thread Natasha Asar
can do this? natasha From: Steve Lianoglou Cc: R group Sent: Mon, 27 September, 2010 3:23:58 Subject: Re: [R] finding big matrix size and SVD Hi, rote: > Dear R helpers > > I have a big data sheet (CSV) which I use “read.csv” to read it &g

[R] finding big matrix size and SVD

2010-09-26 Thread Natasha Asar
answer On the other hand I use to get the SVD of it but I have about 500,000 rows so considering that it should be rectangular matrix… im wondering how this can be possible Natasha [[alternative HTML version deleted]] __ R-help@r

Re: [R] reshape matrix entities to columns

2010-09-16 Thread Natasha Asar
2:24:19 Subject: Re: [R] reshape matrix entities to columns On Sep 13, 2010, at 8:51 PM, Natasha Asar wrote: I am trying this as you mentioned and getting an error which i cant fix >do you know where is the problem? > > >> df2[is.na(df2)] <- 0 >> df2 > X age

Re: [R] reshape matrix entities to columns

2010-09-13 Thread Natasha Asar
, 2010 23:16:47 Subject: Re: [R] reshape matrix entities to columns Thanks, David; I overlooked that part. Dennis On Sun, Sep 12, 2010 at 1:18 PM, David Winsemius wrote: > > On Sep 12, 2010, at 3:34 PM, Dennis Murphy wrote: > > Hi: >> >> Natasha said: >>

Re: [R] reshape matrix entities to columns

2010-09-13 Thread Natasha Asar
deleting row and column names from the main matrix will help i can do that... can i get bit of explanation about how things work ( so i can learn the process) thanks again Natasha From: David Winsemius To: Dennis Murphy Sent: Sun, 12 September, 2010 21

[R] replacing matrix column entities as columns name

2010-09-12 Thread Natasha Asar
d things like that but I guess im on the wrong path because it is not working. I am reading this fine with read.csv and writing back the same way. do you know how I can make this work?? Is it even possible to do something like this? Thank you in advance Natasha [[alternative HTML v

Re: [R] reshape matrix entities to columns

2010-09-12 Thread Natasha Asar
name= age of ppl entries = number of ppl with that age in on center thanks again Natasha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] reshape matrix entities to columns

2010-09-12 Thread Natasha Asar
like this? Thank you in advance Natasha [[alternative HTML version deleted]] __ R-help@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

[R] GLMM random effects

2010-08-18 Thread Natasha
tly appreciated. And if you need any more information or clarification, please ask. Thanks so much for your time and any advice in advance, natasha -- View this message in context: http://r.789695.n4.nabble.com/GLMM-random-effects-tp2330558p2330558.html Sent from the R help mailing list archive at Nabble.