Smart recoding of vector values [🇷 for BE/BA]

posted by d_labes  – Berlin, Germany, 2016-09-21 17:27 (3195 d 13:45 ago) – Posting: # 16662
Views: 4,871

Dear mittyri,

a <- c(1,1,2,2,3,5,5,6,6,7,8,8,9,9)

a <- as.integer(factor(a, unique(a)))


Smart :ok:

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,672 registered users;
35 visitors (0 registered, 35 guests [including 9 identified bots]).
Forum time: 07:12 CEST (Europe/Vienna)

Medical researches can be divided into two sorts:
those who think that meta is better and those
who believe that pooling is fooling.    Stephen Senn

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5