[R] Cbind help

Rajasekaramya ramya.victory at gmail.com
Fri Sep 19 19:07:17 CEST 2008

Hi there

I want to cbind a vector(contains 20 values) to a dataframe containg (18
rows).The missing value in the dataframe is however a repeated values  but
still i want to retain the repeats in the vector and the dataframe values
can even get enterd twice.

how should i go about it

Vector(contains repeating entry)
ab de dc ab be

dataframe(unique entry)
ab a b c d e
dc e f g h i
de  l m n o p

Result :
vector D.F
ab  ab a b c d e
dc  dc e f g h i
ab  ab a b c d e
de  de  l m n o p


View this message in context: http://www.nabble.com/Cbind-help-tp19576177p19576177.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list