Hello,
I have a question about one of the functions from package clim.pact.
I am planning to perform canonical correlation analysis (CCA) with temperature 
stations data, I want to use clim.pact package for that. As I understood I 
should be able to use the function stations2field in order to group my stations 
objects into a field, so that I can include the result in CCA analysis.

If I have stations objects bute.obj,braemar.obj,lerwick.obj (I have more, but 
this is just an example) and I write the code:

> field.obj<-stations2field(data.set=list(bute=bute.obj,braemar=braemar.obj,lerwick=lerwick.obj))

I receive the following message:

[1] "stations2field"
[1] "Presumes that 'data.set' is a list of station objects"
[1] "bute"
[1] "braemar"
[1] "lerwick"
Error in stations2field(data.set = list(bute = bute.obj, braemar = braemar.obj, 
 : 
  object "i.data" not found

I went through the code of the function stations2field and it was not clear 
what i.data is.

I was wondering what can be done in such situation.
Thank you,
Irina.

______________________________________________
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