Essentially functions as a MARGIN=1 apply apply but also
works on data objects without 2 dimensions such as lists and vectors.
rowApply(data, fun, ...)
any R object
the function to evaluate
additional arguments to pass to fun
rowApply(list(1,2,3),function (x) sum(unlist(x)))
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.