[R] pairs plot

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Thu Feb 6 17:27:27 CET 2025


On 06.02.2025 04:32, Ranjan Maitra via R-help wrote:
> According to the help for pairs, the diag.panel function is supposed to
> take a panel.hist as in:
> 
>   pairs(USJudgeRatings[1:5], panel = panel.smooth,
>             cex = 1.5, pch = 24, bg = "light blue", horOdd=TRUE,
>             diag.panel = panel.hist, cex.labels = 2, font.labels = 2)
> 
> Error: object 'panel.hist' not found

Function panel.hist is only defined in the example section of pairs.

Best,
Uwe Ligges


> I know that this used to work in the past so I wonder if this was changed and the documentation was not corrected.
> Anyway, what is the current way of doing this?
> 
> Many thanks and best wishes,
> Ranjan
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list