This doesn't tell us much either. What does the variable "incline"
represent, and what does the variable "ToC" represent?
I could guess your data looks something like :
ToC Incline
x1    -90
x2    -60
x3    -30
x4     0
x5     30
x6     60
x7     90
x8     -90
...      ...

Or incline could be the number of the sample (going from 1 to 7). No way to
know what you did. Please, read the posting guide and take the hints given
there into consideration.

This said, you very likely just have not enough data to use a thin plate
regression spline without limiting k. see ?choose.k and
?null.space.dimension

Cheers
Joris

On Thu, Jun 3, 2010 at 2:49 PM, natalieh <fbs...@leeds.ac.uk> wrote:

>
> Data?
>
> The data are measures of energy use (continuous variable) for running on 7
> inclines between -90 and +90 degrees (n=7-21).
> --
> View this message in context:
> http://r.789695.n4.nabble.com/gam-error-tp2241518p2241608.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@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.
>



-- 
Joris Meys
Statistical Consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

Coupure Links 653
B-9000 Gent

tel : +32 9 264 59 87
joris.m...@ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to