Re: [R] Plotting matrix rows with lattice graphics?

From: Deepayan Sarkar <>
Date: Tue, 25 Mar 2008 10:09:42 -0700

On 3/25/08, Ron Bonner <> wrote:
> Thanks Henrique - that didn't exactly solve my problem but gave me enough to
> do so!
> In your solution each row is plotted as a vertical row of points at the
> value of 'ind' while I wanted to plot the values against the column numbers,
> i.e. 1 to 5.
> The solution was to create a vector of column numbers, replicate it and plot
> against it, still using 'ind' as the conditioning variable:

Also, take a look at ?, which should help you create a suitable data frame directly.

-Deepayan mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 25 Mar 2008 - 17:13:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Mar 2008 - 17:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive