mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
plots new accept pri, sec and ter arguments instead of x,y,z to avoid confusion. tests, tests, tests
This commit is contained in:
parent
e463fa0670
commit
652a8ca1b7
28 changed files with 3275 additions and 179 deletions
|
|
@ -4,7 +4,7 @@
|
|||
\alias{line_break}
|
||||
\title{Line breaking at given number of characters for nicely plotting labels}
|
||||
\usage{
|
||||
line_break(data, lineLength = 20, fixed = FALSE)
|
||||
line_break(data, lineLength = 20, force = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{string}
|
||||
|
|
@ -22,5 +22,5 @@ Line breaking at given number of characters for nicely plotting labels
|
|||
}
|
||||
\examples{
|
||||
"Lorem ipsum... you know the routine" |> line_break()
|
||||
paste(sample(letters[1:10], 100, TRUE), collapse = "") |> line_break(fixed = TRUE)
|
||||
paste(sample(letters[1:10], 100, TRUE), collapse = "") |> line_break(force = TRUE)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue