Skip to content
Back to formatted view

Raw Message

Message-ID: <004f01cc93f4$8a18dbd0$9e4a9370$@edu>
Date: 2011-10-26T15:32:56Z
From: David L Carlson
Subject: dotPlot with diagonal
In-Reply-To: <CAFAD80_JnahXuoS3WqV0wfUbpgHBkY1aFuSzaTGv3Js2qV5aNQ@mail.gmail.com>

Try again. There is no dotPlot() function in lattice and dotplot() does not take two separate rows so the example you gave us generates an error message if dotPlot is changed to dotplot.


----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of J?rg Reuter
Sent: Wednesday, October 26, 2011 8:13 AM
To: Dennis Murphy
Cc: r-help at r-project.org
Subject: Re: [R] dotPlot with diagonal

Oh, sorry.
library(lattice)
(Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3,
 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6))
dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und
Sequenz 2", asp = 1)
Is there a way to draw a small diagonal, begin at (0/0) to (6/6)
(perhaps in red??) or must I use gimp? I have many dotPlots, so it is
fine if R can do this.


2011/10/26 Dennis Murphy <djmuser at gmail.com>:
> Let's see: there is a dotPlot() function in each of the following packages:
> BHH2, caret, mosaic, qualityTools
> Would you be kind enough to share which of these packages (if any) you
> are using?
>
> Dennis
>
> On Wed, Oct 26, 2011 at 4:25 AM, J?rg Reuter <joerg at reuter.at> wrote:
>> Hi,
>> I want draw a dotPlot. All works fine:
>> (Seq <- matrix(c(1, 1, 6, 1, 2, 2, 5, 4, 3, 3, 4, 3,
>> 4, 4, 3, 2, 5, 5, 2, 5, 6, 6, 1, 6), ncol = 6))
>> dotPlot(Seq[1,], Seq[2,], main = "Sequenz 1 und
>> Sequenz 2", asp = 1)
>> Is there a way to draw a small diagonal, begin at (0/0) to (6/6)
>> (perhaps in red??) or must I use gimp? I have many dotPlots, so it is
>> fine if R can do this.
>>
>> Thanks Joerg
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.