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
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/coord-munch.R
\name{coord_munch}
\alias{coord_munch}
\title{Munch coordinates data}
\usage{
coord_munch(coord, data, range, segment_length = 0.01, is_closed = FALSE)
}
\arguments{
\item{coord}{Coordinate system definition.}
\item{data}{Data set to transform - should have variables \code{x} and
\code{y} are chopped up into small pieces (as defined by \code{group}).
All other variables are duplicated as needed.}
\item{range}{Panel range specification.}
\item{segment_length}{Target segment length}
\item{is_closed}{Whether data should be considered as a closed polygon.}
}
\description{
This function "munches" lines, dividing each line into many small pieces
so they can be transformed independently. Used inside geom functions.
}
\keyword{internal}
|