Learn R Programming

ggtern (version 1.0.1.3)

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

Usage

tern_clockwise()

tern_anticlockwise()

tern_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