Learn R Programming

ggtern (version 1.0.2.0)

tern_clockwise: Direction of Ternary Rotation

Description

tern_clockwise is a function that instructs the axes precession to be clockwise

tern_anticlockwise is a function that instructs the axes precession to be anticlockwise

tern_counterclockwise is an alias for tern_anticlockwise

theme_clockwise is an alias for tern_clockwise

theme_anticlockwise is an alias for tern_anticlockwise

theme_counterclockwise is an alias for tern_counterclockwise

Usage

tern_clockwise()

tern_anticlockwise()

tern_counterclockwise()

theme_clockwise()

theme_anticlockwise()

theme_counterclockwise()

Arguments

Examples

Run this code
plot <- ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) +
                  geom_point() +
                  tern_clockwise()
plot <- ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) +
                  geom_point() +
                  tern_anticlockwise()
plot <- ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) +
                  geom_point() +
                  tern_counterclockwise()

Run the code above in your browser using DataLab