using the algorithm in Section 2.3 of the paper by Madeline Thompson. The algorithm is taken from earlier work on `Initial Sequence Estimators' by multiple authors.
ess(x, method = c("coda", "ise"))effectiveSize function in coda package, and "ise" which uses the 'Initial Sequence Estimators' method described in Section 2.3 of Thompson (2010).x.