Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Yousri Fanous
Great, thanks for the update! Yousri On Sun, May 3, 2020 at 10:54 PM Fox, John wrote: > Dear Yousri, > > The problem with scatterplot() is now fixed in the development version > 3.0-8 of the car package on R-Forge, which eventually will be submitted to > CRAN. Until then, you can install the pa

Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Fox, John
Dear Yousri, The problem with scatterplot() is now fixed in the development version 3.0-8 of the car package on R-Forge, which eventually will be submitted to CRAN. Until then, you can install the package via install.packages("car", repos="http://R-Forge.R-project.org";) Thanks again for the b

Re: [R] possible issue with scatterplot function in car package

2020-05-03 Thread Yousri Fanous
Thank you Professor John for your answer. As you rightly said I am not using the ch in my example report as it has no bearing to the issue. However it is the ch that led me to find the issue. I was trying to label each point with its corresponding aa$ch value. I used this code: scatterplot(aa$x,a

Re: [R] possible issue with scatterplot function in car package

2020-05-02 Thread Fox, John
Dear Yousri, Yes, this is clearly a bug, and almost surely a long-standing one. We'll fix it in the next release of the car package. BTW, stringsAsFactors defaults to FALSE in R 4.0.0 (and you don't use the ch variable in the example). Also, although it has no bearing on the bug, I'd general

[R] possible issue with scatterplot function in car package

2020-05-02 Thread Yousri Fanous
library (car) aa <- data.frame(x=c(2, 5, 6, 7, 8), + y=c(5, 10, 9, 12, 11), + ch=c("N", "Q", "R", "S", "T"), + stringsAsFactors=FALSE) scatterplot(aa$x,aa$y,smooth = FALSE, grid = FALSE, frame = FALSE,regLine=F) Both x and y boxplots are correct and in particular the median of the x box is