Re: [R] gam and ordination (vegan and labdsv surf and ordisurf)

From: Jari Oksanen <>
Date: Thu, 20 Nov 2008 16:56:51 +0200

On Thu, 2008-11-20 at 09:45 -0500, stephen sefick wrote:
> #for instance this
> ordisurf(bug.4, env.savannah[,"TSS"]+env.savannah[,"TIN.TP"])

According to ordisurf documentation, this is correct if 'bug.4' is an ordination result, and the sum of those two env.savannah columns is the single variable you want to plot. The independent variables will be the axes which are found from 'bug.4', and there can only be one response variable, but that can be a sum of several variables. The sensibility of this model is up to the user.

If you want to plot several y-variates in the same graph instead of their sum, you can use argument add=TRUE for the second variable (defaults FALSE) and ordisurf() overlays the fitted surface in an existing plot.

Cheers, Jari Oksanen

Jari Oksanen <>

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 20 Nov 2008 - 15:12:43 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 Thu 20 Nov 2008 - 15:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive