Closed samclifford closed 7 years ago
hmmm, maybe!
Is there a good practice dataset that we can use for this sort of stuff?
I've tried to use DT[order(x), ]
to sort the resulting data.table
from tidy.mcmc.list
by parameter name and then chain but I get errors, so it's left unimplemented. Also the line
data set from the coda
package does what we want in terms of two chains for three parameters.
This is dealt with in the current pull request and once merged this can be closed.
OK awesome.
Is there a way to pass a character vector,
my.by=c("chain", "variable")
, such that we can usex.dt[ , list(...) , by = my.by]
to optionally summarise by chain? That way we can useby.chain = FALSE
as the default which setsmy.by = "variable"
andby.chain = TRUE
setsmy.by=c("chain", "variable")
.