Displaying 2 results from an estimated 2 matches for "tes75".
Did you mean:
test75
2011 Oct 23
3
How to create a new variable based on parts of another character variable.
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111023/ae046d6a/attachment.pl>
2011 Oct 24
1
How to create a new variable based on parts of another character variable: A generalization
...problem
> > by creating a new variable in a data.frame based on a part of another
> > character variable.
> >
> > I have a data frame like this one:
> >
> >
> > A B C
> > AWI-test1 1 i
> > AWI-test5 2 r
> > AWI-tes75 56 z
> > UFT-2 5 I
> > UFT56 f t
> > UFT356 9j t
> > etc. etc. 89 t
> >
> >
> > I now want to look in the variable A if the string AWI is present and
> then
> > create a variable D and putting "Ar...