Re: [R] stats:: spline's method could not be monoH.FC

2020-05-02 Thread Abby Spurdle
> and just today a colleague asked me about spline interpolation > with general 2nd derivative boundary conditions >s''(x_1) = s2_1, s''(x_n) = s2_2 It should possible via cubic Hermite splines. A nontrivial design decision in my package was the computation of slopes at the endpoints. (Someth

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

Re: [R] CRAN library down? - UPDATE

2020-05-02 Thread Jeff Newmiller
a) You will help yourself and those who you attempt to communicate with if you learn the terminology correctly as described in the RcInstallation and Administration manual (e.g. RShowDoc("R-admin") or https://cran.r-project.org/doc/manuals/r-release/R-admin.html): 1) Packages are collections

[R] CRAN library down? - UPDATE

2020-05-02 Thread Christopher W. Ryan
The message at that URL reads: CRAN mirror restricted to UC Berkeley The CRAN mirror at UC Berkeley's College of Natural Resources is no longer available to off campus users and has been removed from the CRAN mirror list. The load on our server was too much. Berkeley folks can continue to access

Re: [R] CRAN library down? - UPDATE

2020-05-02 Thread Roger Coppock
Recently a message appears when I try to view the index of the CRAN library. Warning: unable to access index for repository http://cran.cnr.Berkeley.edu/bin/macosx/contrib/4.0: cannot open URL 'http://cran.cnr.Berkeley.edu/bin/macosx/contrib/4.0/PACKAGES' Does the CRAN library have the Coronav

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

2020-05-02 Thread Rolf Turner
On 3/05/20 11:30 am, Yousri Fanous wrote: 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 corre

[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

Re: [R] stats:: spline's method could not be monoH.FC

2020-05-02 Thread Martin Maechler
> Abby Spurdle > on Fri, 1 May 2020 17:21:32 +1200 writes: > I agree, the documentation gives the impression that stats::spline > would allow "monoH.FC". You are right, this is a lapsus, thank you for reporting it! > My guess is that stats::spline doesn't allow it becau