[R] Matrix - remove [,1] from top row

Nicola Cecchino ncecch|no @end|ng |rom gm@||@com
Tue Jul 2 22:58:43 CEST 2019


Hello,

I am simply trying to remove the [,1] row from a matrix.  I tried to
search Google to see if I could find how that is removed, but could
not find a way to do it.

So I have the following:

                [,1]
date          2019-7-01
Peeps       5
days         7
worn          9

this is what I want:

date          2019-7-01
Peeps       5
days         7
worn          9

Any ideas?

Nic



More information about the R-help mailing list