Re: [R] Export R dataframes to excel

2011-03-01 Thread maxsilva
Thx, but im looking for a more direct solution... my problem is very simple, I have a dataframe and I want to create a standard excel spreadsheet. My dataframe could be something like this id sex weight 1 M 5'8 2 F6'2 3 F5'5 4 M 5'7 5 F

[R] Export R dataframes to excel

2011-03-01 Thread maxsilva
I'm trying to do this in several ways but havent had any result. Im asked to install python, or perl etc. Can anybody suggest a direct, easy and understandable way? Every help would be appreciated. Thx. -- View this message in context: http://r.789695.n4.nabble.com/Export-R-dataframes-to-

Re: [R] Use glm coefficients for other datasets

2011-02-10 Thread maxsilva
Thank you guys, I've solved my problem with your precious help -- View this message in context: http://r.789695.n4.nabble.com/Use-glm-coefficients-for-other-datasets-tp3276626p3299747.html Sent from the R help mailing list archive at Nabble.com. __ R

Re: [R] Use glm coefficients for other datasets

2011-02-08 Thread maxsilva
Thank you for your kindness, but ive done what you've said and the problem remains. What im doing is pretty straightforward, >data response pred1 pred2 1 1 01 2 0 00 3 1 00 4 1 11 5 1 01 6 0 11 7 1 1

Re: [R] Use glm coefficients for other datasets

2011-02-08 Thread maxsilva
Thank you for your answer. But I still have the problem; for example, if i have data for 10 months, estimate the parameters of my logit model using 10 months of data, and then use predictions<-predict(model,data=1monthonly,family = binomial(link = logit),type="response") I still get the rpedict

[R] Use glm coefficients for other datasets

2011-02-08 Thread maxsilva
Dear R people, I generated a glm logit model using a sample of a bigger set, and now I want to test the model with the bigger set. How can I do this? predict makes predictions only for a number of rows equal to the sample used. The question is, how can I use the coefficients of a glm with other s