fixpar_freepar function

Parameters modification

Parameters modification

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.

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

Returns

An object of the class psychonetrics (psychonetrics-class )

Author(s)

Sacha Epskamp

  • Maintainer: Sacha Epskamp
  • License: GPL-2
  • Last published: 2024-06-20