find_intersection {lazy.irt}R Documentation

Find the intersection of icrf

Description

Find the intersection of icrf

Usage

find_intersection(param, print = 0)

Arguments

param

Item Paramter Data Frame

print

= 1 to print the result

Details

When item type is "P", the original step parameter b_k is the intersection of P_k-1 and P_k, k=1,2,...,ncat-1
When item type is "G" , the mode of P_k is given as (b_k+b_k+1)/2 .
Note that, b_k is stored as p_k+1 in the param data frame since p_1 is always the slope.
The modes of type "P" items and the intersections of type "G" or "B3" items are found numerically.



The numerical root finding may result in an error.

Value

A data frame of nitem x max(ncat)-1 consisting of name, type, ncat and the intersections of 0-th and 1st, 1st and 2nd, ..., (ncat-1)-th and ncat-th categories.

Examples

intersection <- find_intersection( paramS1, print=1 )


[Package lazy.irt version 0.1.6 ]