[R] Coplot

Robert Abugov robert at compete.com
Wed May 9 16:11:20 CEST 2001


When I use the hills data in Maindonald's text (below) and apply

coplot(time ~ distance | climb, data=hills, overlap=0.0, number=3)

the graphs do not appear to line up with the conditional axis climb.
Is this a bug or am I missing something as an R newbie?

Thanks,

Bob Abugov


                  distance climb    time
Greenmantle           2.5   650  16.083
Carnethy              6.0  2500  48.350
Craig Dunain          6.0   900  33.650
Ben Rha               7.5   800  45.600
Ben Lomond            8.0  3070  62.267
Goatfell              8.0  2866  73.217
Bens of Jura         16.0  7500 204.617
Cairnpapple           6.0   800  36.367
Scolty                5.0   800  29.750
Traprain              6.0   650  39.750
Lairig Ghru          28.0  2100 192.667
Dollar                5.0  2000  43.050
Lomonds               9.5  2200  65.000
Cairn Table           6.0   500  44.133
Eildon Two            4.5  1500  26.933
Cairngorm            10.0  3000  72.250
Seven Hills          14.0  2200  98.417
Knock Hill            3.0   350  78.650
Black Hill            4.5  1000  17.417
Creag Beag            5.5   600  32.567
Kildcon Hill          3.0   300  15.950
Meall Ant-Suidhe      3.5  1500  27.900
Half Ben Nevis        6.0  2200  47.633
Cow Hill              2.0   900  17.933
N Berwick Law         3.0   600  18.683
Creag Dubh            4.0  2000  26.217
Burnswark             6.0   800  34.433
Largo Law             5.0   950  28.567
Criffel               6.5  1750  50.500
Acmony                5.0   500  20.950
Ben Nevis            10.0  4400  85.583
Knockfarrel           6.0   600  32.383
Two Breweries        18.0  5200 170.250
Cockleroi             4.5   850  28.100
Moffat Chase         20.0  5000 159.833
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list