**Hi there**

I have this matrix (is.matrix(users)=TRUE) with X users and 7 columns. The first column indicates male/female with either a 0 or a 1. How can I split this matrix into two new matrices. One with all the boys scores and one with all the girls scores. 

**I Have**

USERS

*All users*

```
         sex     intelligence   ...    status  
user1      0             1234   ...       ...
user2      1             5678   ...       ...
user3      1             8765   ...       ...
...      ...              ...   ...       ...
userX      0             4321   ...       ...

```

**I need**

*BOYS*

```
         sex     intelligence   ...    status  
user2      1             5678   ...       ...
user3      1             8765   ...       ...

```

*GIRLS*

```
         sex     Intelligence   ...    status  
user1      0             1234   ...       ...
userX      0             4321   ...       ...

```