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]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to