Displaying 1 result from an estimated 1 matches for "erstgradverw".
2013 Mar 29
3
From a vector with characters to binary information
Hello,
I would like to transform a character vector into a "binary" vector
("keine" and " " become 0 and the rest 1).
> dput (scm)
c("keine", " ", "keine", "Erstgradverw.", "Mutter", "Erstgradverw.",
"Erstgradverw.", "keine", " ", "Vater", "Erstgradverw.", "keine",
"keine", "keine", "keine", " ", "Erstgradverw.", "keine",...