Skip to content

Commit baca90f

Browse files
committed
pchImage instead of pchimage
1 parent b93e34c commit baca90f

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export(getIcon)
1212
export(getIconNames)
1313
export(homothety)
1414
export(layout2)
15-
export(pchimage)
15+
export(pchImage)
1616
export(percX)
1717
export(percY)
1818
export(pickColors)

R/pchimage.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
#' img<-png::readPNG(system.file("img", "Rlogo.png", package="png"), native=TRUE)
2727
#' n<-15
2828
#' plot0(c(0,1),c(0,1))
29-
#' pchimage(0.1+0.8*stats::runif(n), 0.1+0.8*stats::runif(n), cex.x=0.2+1.6*stats::runif(n),
29+
#' pchImage(0.1+0.8*stats::runif(n), 0.1+0.8*stats::runif(n), cex.x=0.2+1.6*stats::runif(n),
3030
#' obj=img, angle=360*runif(n))
3131

32-
pchimage<-
32+
pchImage<-
3333
function(x, y, obj=NULL,file=NULL, cex.x=1, cex.y=cex.x, atcenter=TRUE, add=TRUE,...){
3434
## obj or file must be defined
3535
stopifnot(!is.null(c(obj,file)))

man/pchimage.Rd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
% Generated by roxygen2 (4.1.1): do not edit by hand
2-
% Please edit documentation in R/pchimage.R
3-
\name{pchimage}
4-
\alias{pchimage}
2+
% Please edit documentation in R/pchImage.R
3+
\name{pchImage}
4+
\alias{pchImage}
55
\title{Images as ploting characters.}
66
\usage{
7-
pchimage(x, y, obj = NULL, file = NULL, cex.x = 1, cex.y = cex.x,
7+
pchImage(x, y, obj = NULL, file = NULL, cex.x = 1, cex.y = cex.x,
88
atcenter = TRUE, add = TRUE, ...)
99
}
1010
\arguments{
@@ -39,7 +39,7 @@ If a path is provided either \code{readPNG} or \code{readJPEG} according to the
3939
img<-png::readPNG(system.file("img", "Rlogo.png", package="png"), native=TRUE)
4040
n<-15
4141
plot0(c(0,1),c(0,1))
42-
pchimage(0.1+0.8*stats::runif(n), 0.1+0.8*stats::runif(n), cex.x=0.2+1.6*stats::runif(n),
42+
pchImage(0.1+0.8*stats::runif(n), 0.1+0.8*stats::runif(n), cex.x=0.2+1.6*stats::runif(n),
4343
obj=img, angle=360*runif(n))
4444
}
4545
\keyword{character}

0 commit comments

Comments
 (0)