get_asp | R Documentation |
Get aspect ratio from string or based on specific paper and margins
get_asp( asp = NULL, paper = NULL, orientation = NULL, margin = NULL, unit = NULL, block_asp = FALSE, null.ok = TRUE )
asp |
Aspect ratio of width to height as a numeric value (e.g. 0.33) or
character (e.g. "1:3"). If numeric, |
paper |
Paper, Default: 'letter'. |
orientation |
Orientation "portrait", "landscape", or "square", Default: 'portrait'. |
margin |
A margin style supported by |
unit |
Unit for margin distance, Default: 'in'. |
block_asp |
If |
A numeric aspect ratio.
get_asp("1:2") get_asp(11 / 17) get_asp(paper = "letter")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.