Thin a dataframe by only keeping every nth row

thin(df, nth)

Arguments

df

a dataframe containing one sample per from from an MCMC

nth

the number to thin by

Value