11# # File Name: tam.linking.R
2- # # File Version: 0.347
2+ # # File Version: 0.349
33
44tam.linking <- function ( tamobj_list , type = " Hae" , method = " joint" ,
55 pow_rob_hae = 1 , eps_rob_hae = 1e-4 , theta = NULL , wgt = NULL , wgt_sd = 2 , fix.slope = FALSE ,
@@ -19,7 +19,8 @@ tam.linking <- function( tamobj_list, type="Hae", method="joint",
1919 # --- extract parameters
2020 parameters_list <- list ()
2121 for (mm in 1 : NM ){
22- parameters_list [[mm ]] <- tam_linking_extract_parameters( tamobj = tamobj_list [[mm ]],
22+ parameters_list [[mm ]] <- tam_linking_extract_parameters(
23+ tamobj = tamobj_list [[mm ]],
2324 elim_items = elim_items [[mm ]] )
2425 }
2526
@@ -55,10 +56,10 @@ tam.linking <- function( tamobj_list, type="Hae", method="joint",
5556 s2 <- Sys.time()
5657 time <- c(s1 , s2 )
5758 res <- list (parameters_list = parameters_list , linking_list = linking_list , M_SD = M_SD ,
58- trafo_persons = trafo_persons , trafo_items = trafo_items , N_common = N_common ,
59- theta = theta , wgt = wgt , NS = NM , type = type , method = method ,
60- pow_rob_hae = pow_rob_hae , eps_rob_hae = eps_rob_hae , par = par ,
61- CALL = CALL ,time = time )
59+ trafo_persons = trafo_persons , trafo_items = trafo_items ,
60+ N_common = N_common , theta = theta , wgt = wgt , NS = NM , type = type ,
61+ method = method , pow_rob_hae = pow_rob_hae , eps_rob_hae = eps_rob_hae ,
62+ par = par , CALL = CALL ,time = time )
6263 class(res ) <- " tam.linking"
6364 return (res )
6465}
0 commit comments