search for: metafields

Displaying 1 result from an estimated 1 matches for "metafields".

Did you mean: datafields
2008 Jul 18
2
column wise paste of data.frames
...ce age Subject Sex 1 26.0 8 M01 Male 2 25.0 10 M01 Male 3 29.0 12 M01 Male 4 31.0 14 M01 Male 5 21.5 8 M02 Male 6 22.5 10 M02 Male Suppose now, that I have a vector which contains the names of the "meta"-fields in this data-frame: metaFields <- c("Subject", "Sex") I now would like to form a new column "ID" which consists of the columns in metaFields joined like the following: > head(Orthodont) Grouped Data: distance ~ age | Subject distance age Subject Sex ID 1 26.0 8 M01 Male M01/Ma...