This function aggregates variable importance estimates over trees. It is a helper function used when print() is called on a variable importance estimate from a SEM forest.
Variable importance estimate from a SEM forest.
Character. Either 'mean' or 'median' as function to aggregate estimates over a forest
Character. Either 'absolute' or 'relative'.
Boolean. By default TRUE, which ignores NA estimates when aggregating. Otherwise they are interpreted as zero.