mpt-network / MPTmultiverse

An R package for the comparison of MPT analysis approaches
3 stars 6 forks source link

Class of time_difference in estimation column is not consistent #19

Closed singmann closed 6 years ago

singmann commented 6 years ago

In some cases, the time_difference in the estimation coulmn is a time variable, in other cases it is a double. This should probably be consistent and it should be clear what the unit is if it stays as double (e.g., seconds, minutes).

> fit_all$estimation[[1]]
# A tibble: 3 x 2
  condition     time_difference
  <chr>                   <dbl>
1 complete_data          0.0468
2 low_WM                 0.0378
3 high_WM                0.0469
> fit_all$estimation[[2]]
# A tibble: 1 x 2
  condition     time_difference
  <chr>         <time>         
1 complete_data 0.891335 secs  
> fit_all$estimation[[3]]
# A tibble: 1 x 2
  condition     time_difference
  <chr>         <time>         
1 complete_data 3.021997 secs  
> fit_all$estimation[[6]]
# A tibble: 2 x 2
  condition time_difference
  <chr>               <dbl>
1 low_WM               1.67
2 high_WM              2.30