[R] plot graph by first letter

arun smartpink111 at yahoo.com
Thu Jul 12 18:02:14 CEST 2012


Try this:
 Name                      Age
 Angel                        20
 Amelia                      20
 Bernard                  19
 Stephanie              20
 Vanessa                  22
 Angeline                  23
 Camel                      21
      Name Age
1    Angel  20
2   Amelia  20
6 Angeline  23

#Now you might be okay to plot.


----- Original Message -----
From: imnew <jubileee at live.com.sg>
To: r-help at r-project.org
Sent: Thursday, July 12, 2012 4:15 AM
Subject: [R] plot graph by first letter

Hi all, may i know is it possible to plot a graph by first letter?
for example: 

Name:                      Age:
Angel                        20
Amelia                      20
Bernard                   19
Stephanie               20
Vanessa                   22
Angeline                  23
Camel                       21

If I want to plot the name started with letter 'A' and their Angel, how is
it possible to plot it?

View this message in context: http://r.789695.n4.nabble.com/plot-graph-by-first-letter-tp4636266.html
Sent from the R help mailing list archive at Nabble.com.

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

More information about the R-help mailing list