Reputation: 3
Can anyone help with this error I'm getting, I'm currently on mac.
lob=read.csv("~/Desktop/data.csv")
lob
mlm.lob=glm(location~crusher+cutter+rostrum+as.factor(sex),data=lob,family="binomial")
mlm.lob
plot(mlm.lob)
Error in plot.new() : attempt to plot on null device
Upvotes: 0
Views: 1612
Reputation: 191
Execute dev.off() before trying to plot your graph. Is this doesn't work you can set your relative figure sizes/plot sizes by setting par(). Look up the description by typing in help(par).
Upvotes: 2