[R] Parsing all rows & columns of a Dataframe into one column
Anshuk Pal Chaudhuri
anshuk.p at motivitylabs.com
Mon Aug 10 07:24:29 CEST 2015
Hi All,
I am using R for reading certain values in a dataset.
I have values in a data frame all scattered in different columns & rows, some values might be NA as well.
e.g. below three columns V1, V2,V3, and their respective values.
V1
V2
V2
NA
NA
90
abc
89.09
$50
76799
NA
NA
02:15
def
1
What I would like to do is parse this data frame, create a new data frame, omit all NA values. The new data frame would have one column, lets say Value column. (order of the samples coming is not an issue)
New Data Frame (Output Required):
Value
abc
76799
02:15
89.09
def
90
$50
1
Any help would be appreciated.
Regards,
Anshuk Pal Chaudhuri
[[alternative HTML version deleted]]
More information about the R-help
mailing list