'Why is my data frame created has index for rows not as number (1,2,3,4....), but has index as column names?
table.q1c =data.frame(Variable.Name = colnames(data1),Data.Type =sapply(data1, class),NA.Count = colSums(is.na(data1)))
table.q1c.new = filter(table.q1c, NA.Count>0)table.q1c.new
Here at the left most column of table.q1c is variable names, not index number for rows.
I have no idea whether is because I did something wrong at the creating data frame step or I need to do anything to solve this problem. Any solutions? Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
