Re: [R] Copying tables from R to Excel

2014-09-24 Thread Angel Rodriguez
Dear Ivan, Duncan, David and Roger, Thank you for your answers. Yes, I had typed library(R2HTML) I've typed also: > library("mediation") > library("sandwich") > set.seed(2014) > med.fit <- glm(estuprimas ~ edad_c + sexo + regalf + deprinf, > family="binomial" ,data=child65) > out.fit <- glm(b

[R] Copying tables from R to Excel

2014-09-23 Thread Angel Rodriguez
Dear Subscribers, I've found this recommendation to paste an R table to Excel: HTML.matrix( summary(iris), file("clipboard", "w"), append=F ) # paste into Excel After installing R2HTML and writting that command, I get: Error: could not find function "HTML.matrix" Any clue? Thank you very m

Re: [R] See the numeric codes of a factor

2014-09-19 Thread Angel Rodriguez
Murdoch [mailto:murdoch.dun...@gmail.com] Enviado el: vie 19/09/2014 14:22 Para: Angel Rodriguez; r-help@r-project.org Asunto: Re: [R] See the numeric codes of a factor On 19/09/2014 8:12 AM, Angel Rodriguez wrote: > Re: [R] See the numeric codes of a factor > Thank you, Duncan. So is

Re: [R] See the numeric codes of a factor

2014-09-19 Thread Angel Rodriguez
urdoch.dun...@gmail.com] Enviado el: vie 19/09/2014 13:32 Para: Angel Rodriguez; r-help@r-project.org Asunto: Re: [R] See the numeric codes of a factor On 19/09/2014, 6:53 AM, Angel Rodriguez wrote: > Dear Subscribers, > > I want to label a numeric variable 0="Bad" /1="Good

[R] See the numeric codes of a factor

2014-09-19 Thread Angel Rodriguez
Dear Subscribers, I want to label a numeric variable 0="Bad" /1="Good". I understand the only way is to transform it into a factor variable. Is there a way to check that the numeric values of the new factor variable are 0 and 1 and not 1 and 2? Thank you very much.

Re: [R] Lines instead of points in a scatterplot

2014-09-12 Thread Angel Rodriguez
,70) [70,72) ... There is no need to change this column if one uses plot.default Angel -Mensaje original- De: PIKAL Petr [mailto:petr.pi...@precheza.cz] Enviado el: vie 12/09/2014 11:40 Para: Vivek Das; Angel Rodriguez CC: R help Asunto: RE: [R] Lines instead of points in a scatterplot

Re: [R] Lines instead of points in a scatterplot

2014-09-12 Thread Angel Rodriguez
. It does not even have a name. Angel -Mensaje original- De: peter dalgaard [mailto:pda...@gmail.com] Enviado el: vie 12/09/2014 11:07 Para: Angel Rodriguez CC: R-help@r-project.org Asunto: Re: [R] Lines instead of points in a scatterplot The root cause is that column 1 is a

Re: [R] Lines instead of points in a scatterplot

2014-09-12 Thread Angel Rodriguez
Thank you, Vivek, but it hasn�t worked. I've tryed type="o" and type="h" to no avail. Angel -Mensaje original- De: Vivek Das [mailto:vd4mm...@gmail.com] Enviado el: vie 12/09/2014 10:50 Para: Angel Rodriguez CC: R help Asunto: Re: [R] Lines instead of poi

[R] Lines instead of points in a scatterplot

2014-09-12 Thread Angel Rodriguez
Dear subscribers, I have the following dataframe: > aggr child65$decedad logit 1 [65,67) 0. 10 67 0. 2 [68,70) -0.06669137 3 [70,72) -0.71294981 4 [72,74) -0.59783700 5 [74,77) -1.08334482 6 [77,79) -1

Re: [R] R, Big Data and books

2014-09-11 Thread Angel Rodriguez
10 de septiembre de 2014 18:10 Para: Angel Rodriguez Asunto: Re: [R] R, Big Data and books Angel, Thanks for the references. I am not seeing the name or link to the book that is "free and recommended by John Hopskins' Department of Statistics". Can you please let me know the name

Re: [R] R, Big Data and books

2014-09-10 Thread Angel Rodriguez
ended by John Hopskins' Department of Statistics". Best regards, Angel Rodriguez-Laso [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

Re: [R] Unexpected behavior when giving a value to a new variable based on the value of another variable

2014-09-02 Thread Angel Rodriguez
Thank you for the explanation, Peter. Angel -Mensaje original- De: peter dalgaard [mailto:pda...@gmail.com] Enviado el: lun 01/09/2014 20:10 Para: Angel Rodriguez CC: r-help Asunto: Re: [R] Unexpected behavior when giving a value to a new variable based on the value of another variable

Re: [R] Unexpected behavior when giving a value to a new variable based on the value of another variable

2014-09-01 Thread Angel Rodriguez
been oversimplified). Best regards, Angel Rodriguez-Laso -Mensaje original- De: John McKown [mailto:john.archie.mck...@gmail.com] Enviado el: vie 29/08/2014 14:46 Para: Angel Rodriguez CC: r-help Asunto: Re: [R] Unexpected behavior when giving a value to a new variable based on the value of an

[R] Unexpected behavior when giving a value to a new variable based on the value of another variable

2014-08-29 Thread Angel Rodriguez
ges: [1] foreign_0.8-61 loaded via a namespace (and not attached): [1] tools_3.1.1 Thank you very much. Angel Rodriguez-Laso Research project manager Matia Instituto Gerontologico [[alternative HTML version deleted]] __ R-help@r-project.or