Commit 2d2f850e authored by houyun's avatar houyun
Browse files

add examples

parent f5668f58
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@
#' @examples
#' marker()
#' marker(c("square", "circle"))
#' m <- marker(c("square", "circle", "star", "heart"))
#' m[1:3]
#' rep_len(m, 10)
marker <- function(grob = "square",
                   width = 1,
                   height = 1,
+3 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@ similar to points.
\examples{
marker()
marker(c("square", "circle"))
m <- marker(c("square", "circle", "star", "heart"))
m[1:3]
rep_len(m, 10)
}
\author{
Hou Yun