subset multisession Dsurface?

questions concerning anlysis/theory using program DENSITY and R package secr. Focus on spatially-explicit analysis.

subset multisession Dsurface?

Postby howeer » Tue Jul 15, 2014 10:11 am

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
howeer
 
Posts: 39
Joined: Wed Jun 21, 2006 10:49 am

Re: subset multisession Dsurface?

Postby murray.efford » Wed Jul 16, 2014 5:41 am

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
murray.efford
 
Posts: 712
Joined: Mon Sep 29, 2008 7:11 pm
Location: Dunedin, New Zealand


Return to analysis help

Who is online

Users browsing this forum: No registered users and 1 guest

cron