Displaying 1 result from an estimated 1 matches for "356po".
Did you mean:
356
2008 Nov 12
2
separate a variable in several variables
Hello R users,
Imagine the data frame DATA with the variable x which is composed by numeric
and alpha caracters.
> DATA
x
1 12F
2 13 AD
3 356PO
4 1D
5 GRT
6 PO52
7 LN4Z
Is there a way to separarate x in 2 variables:
y: only numeric caracters
z: only alpha caracters
For exemple:
x y z
1 12F 12 F
2 13 AD 13 AD
3 356PO 356 PO
4 1D 1 D
5 GRT...