I'm writing code using dplyr
and pipes and using NbClust
function, which returns a list of objects named All.index
, All.CriticalValues
, Best.nc
, Best.partition
.
So I can assign my expression to some variable and then refer to Best.nc
element as a variable$Best.nc
. But how can I extract Best.nc
element using pipes?
I have tried purrr::map('[[', 'Best.nc')
but it didn't work.