I am using the following:
qicout <- matrix(unlist(lapply(X = cand.set, FUN = qic)), length(cand.set), 4, byrow = TRUE)
It has worked, but I have changes the function qic so it now has an argument
qic(model, small = TRUE)
I would like to adjust the lapply function above to include TRUE or FALSE within qic. This lapply function to calculate qicout is actually within another function and I would like to have an option of small = TRUE/FALSE so it can be passed to the qic function within lapply. Any suggestions of the best way to do this?