Re: [R] conditional plot

From: jim holtman <jholtman_at_gmail.com>
Date: Wed 19 Jul 2006 - 20:41:15 EST

does this do what you want?

x <- data.frame(company=LETTERS, spec1=runif(26), spec2=runif(26)) plot(range(x$spec1), range(x$spec2), type='n') abline(v=.5, h=.5)
text(x$spec1, x$spec2, labels=x$company)

On 7/19/06, Manoj <manojsw@gmail.com> wrote:
>
> Hi,
> Can anyone pls help me in plotting the following data?
>
> The data-set contains company name, specification-1, specification-2.
>
> The graph would basically plot company name with specification-1
> on x-axis, & specification-2 on y-axis.
>
> Simply put - company name should get classified into one of the
> four quardrants created by specification 1 & specification2.
>
> Thanks.
>
> Manoj
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Wed Jul 19 20:44:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 19 Jul 2006 - 22:16:59 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.