Get observation indices used in subsampling
Arguments
- x
A
psis_loo_ssobject.- rep
If sampling with replacement is used, an observation can have multiple samples and these are then repeated in the returned object if
rep=TRUE(e.g., a vectorc(1,1,2)indicates that observation 1 has been subampled two times). Ifrep=FALSEonly the unique indices are returned.