| plot {hashmap} | R Documentation |
Plot method for Hashmap class
## S3 method for class 'Rcpp_Hashmap' plot(x, ...)
x |
an object created by a call to |
... |
arguments passed to |
A convenience function which simply calls plot using
x$keys() and x$values() as plotting coordinates.
x <- hashmap(1:20, rnorm(20)) plot(x) plot(x, type = 'p', pch = 20, col = 'red') y <- hashmap(Sys.Date() + 1:20, rnorm(20)) plot(y, type = 'h', col = 'blue', lwd = 3)