powered by
Convert data to wide format
wide(x, ...)# S3 method for default wide(x, ...)# S3 method for qtag.wide wide(x, ...)# S3 method for qtag.long wide(x, colvar, fun.aggregate, quiet = FALSE, ...)
# S3 method for default wide(x, ...)
# S3 method for qtag.wide wide(x, ...)
# S3 method for qtag.long wide(x, colvar, fun.aggregate, quiet = FALSE, ...)
A qtag object or one that can be coerced to one.
Passed to other methods
The column that contains the names of the to-be columns
The aggregation function to be used if id.vars other than colvar identify more than one row each.
Supress warning messages on coersion to a qualifier/tag structure.
A (possibly unchanged) qtag.wide data.frame
qtag.wide
# NOT RUN { data(pocmaj) pocmaj <- as.qtag(pocmaj, id.vars = c("core", "depth")) pocmajlong <- long(pocmaj) wide(pocmajlong) wide(pocmaj) # }
Run the code above in your browser using DataLab