A helpful user reports: When the linear approximation cannot produce a particular signal and the APIP is NA, zaminfluence fails with the following error:
Error in validate_APIP(new_APIP(n = n_drop, prop = n_drop/num_obs, inds = inds_drop)) : all(apip$inds > 0) is not TRUE
This is due to mishandling NA in validate_APIP, since I check for NULL but not NA.
A helpful user reports: When the linear approximation cannot produce a particular signal and the APIP is NA,
zaminfluence
fails with the following error:Error in validate_APIP(new_APIP(n = n_drop, prop = n_drop/num_obs, inds = inds_drop)) : all(apip$inds > 0) is not TRUE
This is due to mishandling
NA
invalidate_APIP
, since I check forNULL
but notNA
.