fixpar_freepar: Parameters modification

fixparR Documentation

Parameters modification

Description

The fixpar function can be used to fix a parameter to some value (Typically zero), and the freepar function can be used to free a parameter from being fixed to a value.

Usage

fixpar(x, matrix, row, col, value = 0, group, verbose, 
        log = TRUE, runmodel = FALSE, ...)

freepar(x, matrix, row, col, start, group, verbose, log =
        TRUE, runmodel = FALSE, startEPC = TRUE, ...)

Arguments

x

A psychonetrics model.

matrix

String indicating the matrix of the parameter

row

Integer or string indicating the row of the matrix of the parameter

col

Integer or string indicating the column of the matrix of the parameter

value

Used in fixpar to indicate the value to which a parameters is constrained

start

Used in freepar to indicate the starting value of the parameter

group

Integer indicating the group of the parameter to be constrained

verbose

Logical, should messages be printed?

log

Logical, should the log be updated?

runmodel

Logical, should the model be updated?

startEPC

Logical, should the starting value be set at the expected parameter change?

...

Arguments sent to runmodel

Value

An object of the class psychonetrics (psychonetrics-class)

Author(s)

Sacha Epskamp


SachaEpskamp/psychonetrics documentation built on Sept. 1, 2023, 3:40 a.m.