generateGrid: This function generates the grid values.

Description Usage Arguments Value

View source: R/generateGrid.R

Description

This function generates the grid values.

Usage

1
2
3
4
5
6
generateGrid(
  beta1,
  beta2,
  grid_method = c("symmetric", "sparse"),
  j.length = 1000
)

Arguments

beta1

Coefficients from first Rasch model fit

beta2

Coefficients from second Rasch model fit

grid_method

a string, specifying the grid method that is used to generated the shifts for evaluation ("symmetric" and/or "sparse", abbreviations are accepted)

j.length

positive integer, the granularity of the symmetric grid (default: 1000)

Value

A list with the selected grid methods each having two components:

  1. A vector 'c_grid' with the grid values

  2. A list of matrices 'betas_grid' for each grid value (length = j.length) each matrix has three columns: coefficient from group 1 (beta1), shifted coefficient from group 2 (newbeta2) and distance between them (beta1-newbeta2). The rows correspond to the items.


lucasmanuelkohler/anchorpoint documentation built on April 16, 2021, 6:41 a.m.