Hi all,
Consider I am want to lattice.xyplot following car's data for different brands
and different gas mileages:
car1 Toyota 40
car2 Toyota 38
car3 Honda 39
car4 Honda 32
car5 Honda 35
car6 Honda 32
car7 Mitsubishi 27
car8 Mitsubishi 34
car9 Mitsubishi 33
Now first I want to make three panel
Consider I have the following data:
AgeRangeAgeOfPerson PersonNoFriendsAtYear0 FriendsAtYear1
FriendsAtYear2 FriendsAtYear3 FriendsAtYear4 FriendsAtYear5
10 - 12 11 1 0 1 2 2 3 3
10 - 12 12 2 0 1 2 2
Original message
>Date: Wed, 3 Aug 2011 16:06:33 -0500 (CDT)
>From:
>Subject: Need help with xyplot
>To: r-help@r-project.org
>
>
>Consider I have the following data:
>
>AgeRange AgeOfPerson PersonNoFriendsAtYear0 FriendsAtYear1
>FriendsAtYear2 FriendsAtYear3
Lolz, My bad in assigning 13, 14 to age ranges 15-18. I have corrected that to
16 and 17. Thanks for pointing out.
Your R code works great. I shall try it with my real data. I shall get back
with more questions after I give a shot to understand your code myself.
Best,
Fayez
Original mess
Very interesting. I can track every person along the lines too. It would be
useful to have a grouping on Age-range as my actual data has above six thousand
nodes and thus the spaghetti can get really messy. I shall get back with more
questions after some trials with your code.
Best,
Fayez
---
5 matches
Mail list logo