Added weighting option to pcm

This commit is contained in:
2025-05-26 14:30:47 +02:00
parent 1dc42a2708
commit 983a095097
2 changed files with 35 additions and 7 deletions

View File

@ -10,6 +10,7 @@ pcm(
grp = NULL,
dif.items = NULL,
type.dif = NULL,
weights = NULL,
verbose = T,
fit = "ucminf",
method.theta = "eap"
@ -26,6 +27,8 @@ pcm(
\item{type.dif}{vector containing DIF form for each item specified in dif.items. 1 is homogeneous DIF, 0 is heterogeneous DIF}
\item{weights}{string containing the name of the column where optional weights are stored in df}
\item{verbose}{set to TRUE to print a detailed output, FALSE otherwise}
\item{fit}{string determining the optimization algorithm. Values "ucminf" or "nlminb" ar recommended}