File: as.list.ggproto.Rd

package info (click to toggle)
r-cran-ggplot2 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,944 kB
  • sloc: sh: 15; makefile: 5
file content (28 lines) | stat: -rw-r--r-- 1,027 bytes parent folder | download
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggproto.R
\name{as.list.ggproto}
\alias{as.list.ggproto}
\title{Convert a ggproto object to a list}
\usage{
\method{as.list}{ggproto}(x, inherit = TRUE, ...)
}
\arguments{
\item{x}{A ggproto object to convert to a list.}

\item{inherit}{If \code{TRUE} (the default), flatten all inherited items into
the returned list. If \code{FALSE}, do not include any inherited items.}

\item{...}{
  Arguments passed on to \code{\link[base:list]{base::as.list.environment}}
  \describe{
    \item{\code{all.names}}{a logical indicating whether to copy all values or
    (default) only those whose names do not begin with a dot.}
    \item{\code{sorted}}{a logical indicating whether the \code{\link[base]{names}} of
    the resulting list should be sorted (increasingly).  Note that this
    is somewhat costly, but may be useful for comparison of environments.}
  }}
}
\description{
This will not include the object's \code{super} member.
}
\keyword{internal}