Which R function plots the distribution of one variable along two separate axes?
rug() adds a one-dimensional rug representation of numeric data to a plot using small tick marks along a selected plot side. The official R graphics documentation describes it as adding a “rug representation (1-d plot)” of the data.
rug()
Community Discussion