Re: [R] Nagelkerke Pseudo R-squared

2015-07-18 Thread varinsacha
Already answered many thanks Frank. Best Regards SV Envoyé de mon iPhone Le 18 juil. 2015 à 20:39, varin sacha a écrit : > Thanks Frank for your response. > > I have used the rms package. > Reproducible example here below : > > install.packages("rms") > library(rms) > a=c("tres grand", "gr

Re: [R] Drawing the regression line and the 95% confidence intervals

2015-05-06 Thread varinsacha
Jim, Perfect Many thanks once more for your support... Best regards SV Envoyé de mon iPhone Le 7 mai 2015 à 00:01, Jim Lemon a écrit : > Hi Sacha, > As Brian noted, you will have to expand the vertical axis. Here is one > way to do it. > > plot(GDP.per.head, fitted(LinearModel.1),ylim=c(-60,1

Re: [R] Color problem for 2 simple graphs

2015-01-08 Thread varinsacha
William, Many thanks It perfectly works. Best Envoyé de mon iPhone Le 8 janv. 2015 à 21:24, William Dunlap a écrit : > Supply a vector of colors. E.g., > barplot(table(mtcars$cyl), col=c("red","yellow","green")) > boxplot(with(mtcars, split(wt, cyl)), col=c("red","yellow","green")) > >