Re: [R] axis names in triangle.plot

From: Stéphane Dray <dray_at_biomserv.univ-lyon1.fr>
Date: Tue, 18 Dec 2007 11:31:07 +0100

Hi Thomas,
This looks quite strange. By default, the function use the column names as labels.
What is grain ? A data.frame ? Why have you duplicated row.names? Please return the results of class(grain) and names(grain)

Cheers,
PS: If you have questions related to ade4, you can use the adelist (
http://listes.univ-lyon1.fr/wws/info/adelist)

Thomas Hoffmann wrote:
> Hi folks,
>
> I am using a data.frame with sediment grain sizes:
>
> > grain
> sand silt clay
> OAT 10.03 56.77 18.25
> OAT 10.40 57.40 17.94
> WG1 50.03 20.68 12.57
> WG1 43.20 25.69 13.41
> WG1 33.89 31.10 14.48
> WG2 2.84 62.81 20.79
> WG2 2.79 60.46 19.16
> WG2 16.27 33.04 6.48
> WG2 1.39 57.90 9.13
> WG3 4.54 52.91 17.20
> WG3 5.20 50.55 15.65
> WG3 7.71 49.13 10.80
> WG3 4.43 50.03 11.83
> WG3 1.72 57.53 14.20
> WG3 1.51 58.99 13.96
>
> I would like to do a trinagle.plot with labeled axis-names "sand" "silt"
> and "clay". However using the command:
>
> tringle.plot(grain)
>
> from ade4-apckage) does not plot the axis names and there is no paramter
> to set the labels like "xlab" in the plot command. Does anybody has a
> good advice?
>
> Thanks in advance
> Thomas
>
> ______________________________________________
> R-help_at_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.
>
>
>

-- 
Stéphane DRAY (dray_at_biomserv.univ-lyon1.fr )
Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I
43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France
Tel: 33 4 72 43 27 57       Fax: 33 4 72 43 13 88
http://biomserv.univ-lyon1.fr/~dray/

______________________________________________
R-help_at_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.
Received on Tue 18 Dec 2007 - 10:42:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Dec 2007 - 12:30:20 GMT.

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