I have a data form as follows:
x y chla sst ssha eke tuna
: : : : : : :
: : : : : : :
I used a GAM model as follows:
GAM <- gam(tuna~s(chla), family = binomial, data = nonLinear)
By using this model above, I can process the data for chla, sst and ssha. But when I processed the eke data, it was not working R gave me the following error:
error in eval(expr, envir, enclos) : object `eke` not found.
Can anybody help me to solve this problem? I already installed the ROCR package to calculate the AUC. But I do not know how (the syntax) to calculate the AUC. Can anybody help me to solve this problem too?
I also used the following command to make a graph:
plot(GAM, xlab=..., ylab=..... font.lab= ...shade=....)
But when I run that command, the result is not so good. I mean, the scale on the y-axis is very weird. How do I set the scale on the y-axis and x-axis in 1 and 5 interval (for instance) respectively?