Learn R Programming

figuRes2 (version 1.0.0)

get.top.xaxis: get.top.xaxis

Description

This takes two ggplot objects, steals the bottom x-axis from 2nd object and returns a gtable object with that bottom x-axis per object 1 and top x-axis per object 2

Usage

get.top.xaxis(bottom.axis.version, top.axis.version)

Value

This function returns a ggplot object.

Arguments

bottom.axis.version

ggplot object with bottom x-axis (get.top.xaxis)

top.axis.version

ggplot object with intended top x-axis in bottom position (get.top.xaxis)

Author

Greg Cicconetti