powered by
Plot method for Hashmap class
# S3 method for Rcpp_Hashmap plot(x, ...)
an object created by a call to hashmap
hashmap
arguments passed to plot
plot
A convenience function which simply calls plot using x$keys() and x$values() as plotting coordinates.
x$keys()
x$values()
# NOT RUN { 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) # }
Run the code above in your browser using DataLab