Convenient wrapper for specifying height and width.
1 | width_height_from_aspect_ratio(ratio = 16/9, scale = 5, units = "cm")
|
ratio |
The aspect ratio. |
scale |
How to transform the ration to obtain width and heigh. |
units |
The measurement unit, e.g. "cm". See |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.