Skip to content
Prev 304602 / 398506 Next

apply --> data.frame

Hi
But vector cannot contain values of different mode (character, numeric). There are other structures capable of this. Converting such vector by as numeric inserts NA whenever it encounters non numeric characters.
[1]  1  2 NA
Warning message:
NAs introduced by coercion 

Regards
Petr