audrey-b / simanalyse

A package to analyse simulation study data and summarise the results
GNU General Public License v3.0
3 stars 4 forks source link

Specifying measures adds measures rather than overwriting #21

Open audrey-b opened 4 years ago

audrey-b commented 4 years ago

sma_evaluate(result, parameters = params, monitor=c("p", "phi"), measures=c("rb", "rrmse", "cpQuantile"), alpha=0.05) term bias cpQuantile mse rb rrmse 1 p[1] 0.0506958 1.0 0.008873675 0.1013916 0.1884004 2 p[2] 0.0637606 0.5 0.030653072 0.3188030 0.8754009 3 p[3] 0.1234410 1.0 0.016067706 0.2057350 0.2112641 4 phi[1] -0.2927521 1.0 0.099635018 -0.3659402 0.3945627 5 phi[2] -0.1108140 1.0 0.016815800 -0.1583056 0.1852511 6 phi[3] -0.1339322 1.0 0.022134072 -0.1488135 0.1653058

audrey-b commented 3 years ago

Add a column selection to output only the columns from measures (and the term column)