[R] sm.ancova graphic

2010-11-22 Thread Lucia Cañas
Hi R-Users, I am working with sm.ancova (in the package sm) and I have two problems with the graph, which is automatically generated when sm.ancova() is run. 1-Besides of the fitted lines, the observed data appeared automatically in the graph. I prefer that only fitted lines appear. I check th

[R] Interactions in GAM

2010-09-03 Thread Lucia Cañas
Hello R users, I am working with the GAM to inspect the effect of some factors (year, area) and continuous variables (length, depth, latitude and longitude) on the intensity and prevalence of the common parasite Anisakis. I would like introduce interaction in my models, both "continuous variabl

[R] Interactions in GAM

2010-09-08 Thread Lucia Cañas
Thank you so much for your answer, it has been really useful. I have already included the interactions in the models and I have obtained better results. Best regards, Lucía Cañás Lucía Cañás Ferreiro Instituto Español de Oceanografía Centro Oceanográfico de A Coruña Paseo Marítimo Alcalde Fr

[R] combine lattice plot and standard R plot

2011-05-04 Thread Lucia Cañas
Dear R users, I would like to combine lattice plot (xyplot) and standard R plot (plot and plotCI) in an unique figure. I use the function "par()" to combine plot and plotCI and I use the function "print()" to combine xyplot. I tried to use these functions to combine xyplot and plotCI and plots

[R] combine lattice plot and standard R plot

2011-05-05 Thread Lucia Cañas
Thank you very much for your help and for your quick answers. Lucía Cañás Ferreiro Instituto Español de Oceanografía Centro Oceanográfico de A coruña Paseo Marítimo Alcalde Francisco Vázquez, 10 15001 - A Coruña, Spain Tel: +34 981 218151 Fax: +34 981 229077 lucia.ca...@co.ieo.es http://www.ieo