Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    $\begingroup$ You can make the select function as elaborate as you wish, so it seems that you need to write mathematically the criteria you are trying to state in words. Once you do that, you can just use the same function with GroupBy to split the matrix into two parts. $\endgroup$ Commented Jul 24, 2018 at 16:32