0

I upload .xlsx file into R and I wonder how to select certain columns and rows for data analysis, when data looks like this:

columnName1  columnName2  columnName3  columnName4
<NA>           NA            NA          <NA>
text           number        number       text
text           number        number       text

and the output should look like this: (e.g. Select columnName2 and columnName3) with command print data you should see this:

number     number
number     number
Deividas Kiznis
  • 431
  • 1
  • 6
  • 20
  • What is your expected output? http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – Bulat Oct 30 '16 at 14:17
  • http://stackoverflow.com/questions/10085806/extracting-specific-columns-from-a-data-frame – Bulat Oct 30 '16 at 14:18

0 Answers0