| D.designdata {secr} | R Documentation |
Internal function used by secr.fit, confint.secr, and score.test.
D.designdata (mask, Dmodel, grps, sessionlevels, sessioncov = NULL)
mask |
mask object. |
Dmodel |
formula for density model |
grps |
vector of group names |
sessionlevels |
vector of character values for session names |
sessioncov |
optional dataframe of values of session-specific covariate(s). |
This is an internal secr function that you are unlikely ever to
use. Unlike secr.design.MS, this function does not
call model.matrix.
Dataframe with one row for each combination of mask point, group and
session. The dataframe has an attribute 'dimD' that gives the relevant
dimensions: attr(dframe, 'dimD') = c(nmask, ngrp, R), where
nmask is the number of mask points, ngrp is the number of
groups, and R is the number of sessions. Columns correspond to
predictor variables in Dmodel.
Murray Efford murray.efford@otago.ac.nz