-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathadd_point_plot.Rd
32 lines (26 loc) · 1 KB
/
add_point_plot.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gt_plt_point.R
\name{add_point_plot}
\alias{add_point_plot}
\title{Create a dot plot from any range - add_point_plot}
\usage{
add_point_plot(data, palette, add_label, width, vals_range, accuracy)
}
\arguments{
\item{data}{The single value that will be used to plot the point.}
\item{palette}{A length 3 palette, used to highlight high/med/low}
\item{add_label}{A logical indicating whether to add the label or note. This will only be added if it is the first or last row.}
\item{width}{A numeric indicating the}
\item{vals_range}{vector of length two indicating range}
\item{accuracy}{A number to round to. Use (e.g.) \code{0.01} to show 2 decimal
places of precision. If \code{NULL}, the default, uses a heuristic that should
ensure breaks have the minimum number of digits needed to show the
difference between adjacent values.
Applied to rescaled data.}
}
\value{
gt table
}
\description{
Create a dot plot from any range - add_point_plot
}