Append result of a grouping to a data-set

grouping.append(sim, clus, drop = F, sort = T)

Arguments

sim

a data set with jdata and sdata

clus

a clustering result from the classify function

drop

if true firms in sim, not in cluster are dropped