[This article was first published on Stat Tech » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
New hook functions, makeContext() and makeContent(), have been added to the grid graphics package. These functions allow an alternative approach to developing custom grobs when a grob can only decide what to draw at drawing time rather than when the grob is created. For custom grobs that are based on this new approach, the
grid.force() function provides access to low-level grobs that are otherwise invisible because they are only generated at drawing time.
These functions lead to greater flexibility in the development of custom grobs and more power to modify the result after drawing is complete.
Paul Murrell
To leave a comment for the author, please follow the link and comment on their blog: Stat Tech » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.