rename spec_line to spec_plot
diff --git a/man/spec_boxplot.Rd b/man/spec_boxplot.Rd
index 1591f5d..ebde455 100644
--- a/man/spec_boxplot.Rd
+++ b/man/spec_boxplot.Rd
@@ -46,7 +46,7 @@
\item{lim, xlim, ylim}{Manually specify plotting range in the form of
\code{c(0, 10)}. \code{lim} is used in \code{spec_hist} and \code{spec_boxplot}; \code{xlim}
-and \code{ylim} are used in \code{spec_line}.}
+and \code{ylim} are used in \code{spec_plot}.}
\item{xaxt}{On/Off for xaxis text}
diff --git a/man/spec_line.Rd b/man/spec_plot.Rd
similarity index 83%
rename from man/spec_line.Rd
rename to man/spec_plot.Rd
index fca9b4d..1917de1 100644
--- a/man/spec_line.Rd
+++ b/man/spec_plot.Rd
@@ -1,10 +1,10 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mini_plots.R
-\name{spec_line}
-\alias{spec_line}
+\name{spec_plot}
+\alias{spec_plot}
\title{Helper functions to generate inline sparklines}
\usage{
-spec_line(
+spec_plot(
x,
y = NULL,
width = 200,
@@ -21,10 +21,10 @@
frame.plot = FALSE,
lwd = 2,
pch = ".",
- cex = 0.1,
+ cex = 2,
type = "l",
polymin = NA,
- minmax = list(pch = ".", cex = lwd, col = "red"),
+ minmax = list(pch = ".", cex = cex, col = "red"),
min = minmax,
max = minmax,
dir = if (is_latex()) rmd_files_dir() else tempdir(),
@@ -58,10 +58,10 @@
\item{border}{Color for the border.}
-\item{frame.plot}{On/Off for surrounding box (\code{spec_line} only). Default
+\item{frame.plot}{On/Off for surrounding box (\code{spec_plot} only). Default
is False.}
-\item{lwd}{Line width for \code{spec_line}; within \code{spec_line}, the \code{minmax}
+\item{lwd}{Line width for \code{spec_plot}; within \code{spec_plot}, the \code{minmax}
argument defaults to use this value for \code{cex} for points. Default is 2.}
\item{pch, cex}{Shape and size for points (if type is other than "l").}
@@ -73,12 +73,12 @@
\item{polymin}{Special argument that converts a "line" to a polygon,
where the flat portion is this value, and the other side of the polygon
is the 'y' value ('x' if no 'y' provided). If 'NA' (the default), then
-this is ignored, otherwise if this is numeric then a polygon is
-created instead (and 'type' is ignored). Note that if 'polymin' is in
-the middle of the 'y' values, it will generate up/down polygons.}
+this is ignored; otherwise if this is numeric then a polygon is
+created (and 'type' is ignored). Note that if 'polymin' is in the middle
+of the 'y' values, it will generate up/down polygons around this value.}
\item{minmax, min, max}{Arguments passed to \code{points} to highlight minimum
-and maximum values in \code{spec_line}. If \code{min} or \code{max} are \code{NULL}, they
+and maximum values in \code{spec_plot}. If \code{min} or \code{max} are \code{NULL}, they
default to the value of \code{minmax}. Set to an empty \code{list()} to disable.}
\item{dir}{Directory of where the images will be saved.}