Page 1 of 1

subset multisession Dsurface?

PostPosted: Tue Jul 15, 2014 10:11 am
by howeer
We applied predictDsurface to a multisession secr.fit object and obtained a multisession mask of class Dsurface. Is there a way to plot the session-specific density surfaces one at a time? I found that subset did not work for the Dsurface object, and there seems to be no session argument for plot.mask for class Dsurface. What am I missing?
Thanks in advance,
Eric

Re: subset multisession Dsurface?

PostPosted: Wed Jul 16, 2014 5:41 am
by murray.efford
Hi Eric
Not sure what is your problem here.
Code: Select all
Ds <- predictDsurface(ovenbird.model.D)
par(mfrow = c(2,3))
plot(Ds)
works for me (although the result is fairly boring), as does
Code: Select all
plot(Ds[[1]])

The multisession result is just a list, so [[ works fine, as would lapply etc.
Murray