powered by
apply
stable.apply(X, MARGIN, FUN, ...)
FUN
MARGIN
X
Otherwise, an array similar to the result of apply, but with the dimensions permuted to correspond to the dimensions of X.
aperm
data(freeny) stable.apply(freeny.x, 1, sort) # compare to: apply(freeny.x, 1, sort)
Run the code above in your browser using DataLab