Bert,
Thanks very much!
Oops! I can not believe I completely missed this!
Best wishes,
Ranjan
On Thu Feb06'25 08:15:45AM, Bert Gunter wrote:
> From: Bert Gunter
> Date: Thu, 6 Feb 2025 08:15:45 -0800
> To: Ranjan Maitra
> Cc: R-Help
> Subject: Re: [R] pairs plot
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
Possibly because:
panel.hist is not an existing R function -- you have to first create
it so pairs() can use it. ?pairs shows you how in the Help examples,
i.e.
panel.hist <- function(x, ...)
{
usr <- par("usr")
par(usr = c(usr[1:2], 0, 1.5) )
h <- hist(x, plot = FALSE)
breaks <- h
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 'pa
On 10/11/2013 02:01 AM, Witold E Wolski wrote:
my data are matrix with 3 numeric columns.
would like to have pairs plot
with scatterplots in the upper
with hist at the diag
and with correlation at the lower.
actually default pairs does almost what I want but looks semi awesome.
Especially, i di
my data are matrix with 3 numeric columns.
would like to have pairs plot
with scatterplots in the upper
with hist at the diag
and with correlation at the lower.
actually default pairs does almost what I want but looks semi awesome.
Especially, i didn't find out how to remove the axes from the low
rsion and unzip
it to library subdirectory.
> Then:
> library(TeachingDemos)
shall be executed without problem
Regards
Petr
>
>
> --- On Tue, 7/28/09, Jose Narillos de Santos
wrote:
>
> > From: Jose Narillos de Santos
> > Subject: Re: [R] pairs plot
Have you installed it first?
First:
install.packages("TeachingDemos")
Then:
library(TeachingDemos)
--- On Tue, 7/28/09, Jose Narillos de Santos wrote:
> From: Jose Narillos de Santos
> Subject: Re: [R] pairs plot
> To: "Petr PIKAL" , r-help@r-project.org,
>
t; > > --
> > > Gregory (Greg) L. Snow Ph.D.
> > > Statistical Data Center
> > > Intermountain Healthcare
> > > greg.s...@imail.org
> > > 801.408.8111
> > >
> > >
> > > > -Original Message-
> > > > From: r-help-boun...@r-project.
Statistical Data Center
> > Intermountain Healthcare
> > greg.s...@imail.org
> > 801.408.8111
> >
> >
> > > -Original Message-
> > > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> > > project.org] On Behalf Of Jose Narillo
un...@r-
> > project.org] On Behalf Of Jose Narillos de Santos
> > Sent: Monday, July 27, 2009 9:02 AM
> > To: r-help@r-project.org
> > Subject: [R] pairs plot
> >
> > Hi all,
> >
> > I want to plot trough pairs() plot a matrix with 4 columns. I want to
>
Behalf Of Jose Narillos de Santos
> Sent: Monday, July 27, 2009 9:02 AM
> To: r-help@r-project.org
> Subject: [R] pairs plot
>
> Hi all,
>
> I want to plot trough pairs() plot a matrix with 4 columns. I want to
> make a
> trhee plot in a graph. Plotting pairs colum 2,3,4 o
Hi all,
I want to plot trough pairs() plot a matrix with 4 columns. I want to make a
trhee plot in a graph. Plotting pairs colum 2,3,4 on y axis and 1 on X axis.
You mean (a plot with three graphs) ommitting the first pair with itself.
And only the pairs with colum 1 with the other not all pairs.
13 matches
Mail list logo