How do I get first column and a few rows in R using indexing?

I used the head function with the head dataset[,head("column")]. But this displays all the rows in column 1 not just few.

Thanks for your help



from Recent Questions - Stack Overflow https://ift.tt/39wwdK9
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept