Skip to content
Prev 383302 / 398502 Next

calculate row median of every three columns for a dataframe

You have *not* calculated row medians for all combinations of (is that
what you meant?) 3 columns of your data frame.
?combn  with column indexing can help you do that. If that is not what
you meant, then ??


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Thu, Apr 16, 2020 at 7:32 AM aiguo li via R-help
<r-help at r-project.org> wrote: