Parameter structure objects

Share:

Description

Construct a Construct a ParStruct object.

Usage

1

Arguments

parameters

A (named) list with parameter values

replicate

logical. Indicates whether parameters are replicated for repeated data structures. If FALSE, parameters should be an unnamed list of length equal to the number of replications (participants) in the data. Each element of this list should be a named list with parameter values.

fixed

(optional) A logical vector of length equal to unlist(parameters) indicating whether parameter values are fixed (TRUE) or free (FALSE).

min

(optional) A numeric vector vector of length equal to unlist(parameters) with minimum values for each parameter.

max

(optional) A numeric vector vector of length equal to unlist(parameters) with maximum values for each parameter.

id

(optional) An integer vector vector of length equal to unlist(parameters) where parameters with identical values are constrained to be equal.

ntimes

A vector specifying the number of cases (observations) for each replication (participant) in the data. Note: only the length of the vector is used in this constructor function.

Details

This constructor function creates "ParStruct" objects.

Value

A (fitted) object of class ParStruct.

Author(s)

Maarten Speekenbrink