fortify.qtag: Fortify a qualifier/tag structure for use in ggplot

Description Usage Arguments Value Examples

Description

Fortify a qualifier/tag structure for use in ggplot

Usage

1
2
## S3 method for class 'qtag'
fortify(x, skip_aggregate = FALSE, ...)

Arguments

x

A qtag object

skip_aggregate

Pass TRUE to skip aggregation

...

Passed on to aggregate (or long if aggregate is FALSE)

Value

A qtag.long object

Examples

1
2
3
4
5
6
data(pocmaj)
library(ggplot2)
pocmaj <- as.qtag(pocmaj, qualifiers=c("core", "depth"))
fortify(pocmaj)
ggplot(pocmaj, aes(x=values, y=depth, col=core)) + geom_point() +
 scale_y_reverse() + facet_wrap(~column)

paleolimbot/ofcores documentation built on May 24, 2019, 6:13 p.m.