ttheme_awesome.Rd 1.37 KB
Newer Older
Pradat Yoann's avatar
Pradat Yoann committed
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/ttheme_awesome.R
Pradat Yoann's avatar
Pradat Yoann committed
3 4 5 6 7
\name{ttheme_awesome}
\alias{ttheme_awesome}
\title{Define theme for awesome table plot.}
\usage{
ttheme_awesome(
8
  base_size = 8,
Pradat Yoann's avatar
Pradat Yoann committed
9 10
  base_colour = "black",
  base_family = "",
11
  core_size = unit(10, "mm"),
12 13 14 15
  scale_breaks = 10,
  scale_ratio = 0.25,
  color_palette = "black",
  color_breaks = NULL,
16
  rep_mode = "col",
Pradat Yoann's avatar
Pradat Yoann committed
17
  parse = FALSE,
18
  padding = unit(c(0.3, 0.3), "mm"),
Pradat Yoann's avatar
Pradat Yoann committed
19 20 21 22 23 24 25 26 27 28
  ...
)
}
\arguments{
\item{base_size}{default font size}

\item{base_colour}{default font colour}

\item{base_family}{default font family}

29 30
\item{core_size}{cell size for core background grobs}

31
\item{scale_breaks}{number of size categories for core foreground grobs or numeric vector of bin breaks}
32

33
\item{scale_ratio}{ratio of minimum to maximum core foreground grobs sizes}
34

35 36 37
\item{color_palette}{color palette for core foreground grobs}

\item{color_breaks}{bin breaks for color palette for core foreground grobs}
38

39 40
\item{rep_mode}{'col' or 'row'. Used when recycling fg_params or bg_params to make a matrix of params.}

Pradat Yoann's avatar
Pradat Yoann committed
41 42 43
\item{parse}{logical, default behaviour for parsing text as plotmath}

\item{padding}{length-2 unit vector specifying the horizontal and vertical padding of text within each cell}
44 45

\item{...}{extra parameters added to the theme list}
Pradat Yoann's avatar
Pradat Yoann committed
46 47 48 49 50 51 52
}
\description{
Define theme for awesome table plot.
}
\author{
Yoann Pradat
}