Add Text to Plot Using text() Function in Base R (Examples) | Color & Size | Multiple Text Elements
Автор: Statistics Globe
Загружено: 2022-01-16
Просмотров: 1235
How to add text to graphics using the text() function in the R programming language. More details: https://statisticsglobe.com/text-func...
R code of this video:
plot(1:10) # Basic plot in R
plot(1:10) # Basic plot in R
text(x = 2, y = 3, # Add text element
"This is my text")
plot(1:10) # Basic plot in R
text(x = 5, y = 7, # Different color & size
"This is my text",
col = "#1b98e0",
cex = 2)
plot(1:10) # Basic plot in R
text(x = 2, y = 3, # First text
"This is my first text")
text(x = 5, y = 7, # Second text
"This is my second text")
Follow me on Social Media:
Facebook – Statistics Globe Page: / statisticsglobecom
Facebook – Group for Discussions & Questions: / statisticsglobe
LinkedIn – Statistics Globe Page: / statisticsglobe
LinkedIn – Group for Discussions & Questions: / 12555223
Twitter: / joachimschork
Music by bensound.com
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: