[R] NA error with the dredge function

Valentina Lauria valentina.lauria at plymouth.ac.uk
Fri Aug 15 17:15:28 CEST 2014


Dear members,

I am experiencing a strange error using the dredge function of the package MuMIn. I am not sure what is happening here as this script worked in the past and I have no idea about this new error, I do not have any NA in my data.

> full_m<- gam(nep~ s(depth, k=4) + s(sed, k=4) + s(slope, k=4) + s(vrm, k=4), family=gaussian, gamma=1.4, data = datafit_aran1)
> dredge(full_m)

Error in dredge(full_m) :
  'global.model''s 'na.action' argument is not set and options('na.action') is "na.omit"

Can anyone help me?

Thank you very much in advance,
Valentina
















________________________________
[http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>

This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, Plymouth University accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. Plymouth University does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.



More information about the R-help mailing list