Dear Bert and Arun,
Thankyou very much for your help. I am really obliged.   :D
Eliza

> Date: Sat, 22 Mar 2014 08:17:31 -0700
> Subject: Re: [R] plotting vectors of different lengths
> From: gunter.ber...@gene.com
> To: smartpink...@yahoo.com; jorgeivanve...@gmail.com; eliza_bo...@hotmail.com
> CC: r-help@r-project.org
> 
> On Sat, Mar 22, 2014 at 7:10 AM, arun <smartpink...@yahoo.com> wrote:
> > [
> 
> 
> No no no.
> 
> She (apparently) says she wants to plot a numeric grid given the x and
> y coordinates of the grid, not create a character matrix of strings
> representing the ordered pairs.
> 
> set.seed(1234)
> x <- runif(6)
> y <- runif(5)
> dat <- expand.grid(x=x,y=y)
> plot(y~x, data = dat)
> 
> 
> However, if what she really means (??) is that she wants to plot
> values in some way AT the coordinates, then she probably needs to look
> at ?contour or ?image (or their lattice or ggplot equivalents).
> 
> Cheers,
> Bert
> 
> 
> Bert Gunter
> Genentech Nonclinical Biostatistics
> (650) 467-7374(650) 467-7374(650) 467-7374
> 
> "Data is not information. Information is not knowledge. And knowledge
> is certainly not wisdom."
> H. Gilbert Welch
> 
> 
> Call
> Send SMS
> Add to Skype
> You'll need Skype CreditFree via Skype
> Call
> Send SMS
> Add to Skype
> You'll need Skype CreditFree via Skype
                                          
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to