secr.make.newdata {secr} | R Documentation

## Create Default Design Data

### Description

Generate a dataframe containing design data for the base levels of all predictors in an secr object.

### Usage

    secr.make.newdata(object)

### Arguments

`object` | fitted secr model object

### Details

`secr.make.newdata` is used by `predict` in lieu of user-specified 'newdata'. There is seldom any need to call `secr.make.newdata` directly.

### Value

A dataframe with one row for each session and group, and columns for the predictors used by `object$model`.

### Author(s)

Murray Efford murray.efford@otago.ac.nz

### See Also

`predict.secr`, `secr.fit`

### Examples

    data(secrdemo)
    secr.make.newdata(secrdemo.b)

[Package secr version 1.3.0 Index]