How to draw an orange in R language
In this issue, the editor will bring you about how to draw an orange in R language. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
I joked with my classmates about R language drawing before, but you couldn't think of it, and I couldn't do it without it. Of course, this sentence is a bit exaggerated, but the function of R language is really very powerful, and it can basically satisfy your strange ideas. For example, if you don't know which string is wrong and suddenly want to draw an orange, how should it be realized? Here is a grand introduction to Uncle Y's package emojifont, which is designed to provide users with emoji fonts. Without saying much, let's get down to business.
The first step in using this package is to install it.
Use the command install.packages ("emojifont") directly to install it.
Next, view the help documentation through the help (package= "emojifont") function
You can see
Open the link at 1 to see the basic usage of this package
For example, I want to give you a blue rose.
Library (emojifont)
Library (ggplot2)
Ggplot () +
Geom_emoji ("rose", color='steelblue') +
Theme_void ()
Image.png
I also want to give you an orange.
Ggplot () + geom_emoji ("orange") +
Theme_void ()
Image.png
The color doesn't seem to be right. Let's change the color matching.
Ggplot () + geom_emoji ("orange", color= "orange") +
Theme_void ()
Image.png
Doesn't that look better?
Next, I'll give you oranges and roses.
X