Here you will learn all about putting images on your Markdown page. If you have any questions, please leave a comment and I will answer. If necessary, we can make some ammendments on this page.
An image should be uploaded here:
title
library(imager)
## Warning: package 'imager' was built under R version 4.0.5
## Loading required package: magrittr
##
## Attaching package: 'imager'
## The following object is masked from 'package:magrittr':
##
## add
## The following objects are masked from 'package:stats':
##
## convolve, spectrum
## The following object is masked from 'package:graphics':
##
## frame
## The following object is masked from 'package:base':
##
## save.image
# file <- system.file('extdata/parrots.png',package='imager')
# im <- load.image(file)
im = load.image("C:/Users/armin/Downloads/margotrobbie.jpg")
# plot(im)
# thmb <- resize(im,round(width(im)/10),round(height(im)/10))
plot(im)
# plot(thmb,main="Thumbnail")
# install.packages("knitr")
# require(knitr)
A full width image:
knitr::include_graphics("C:/Users/armin/Downloads/margotrobbie.jpg")
A quarter-width image
knitr::include_graphics("C:/Users/armin/Downloads/margotrobbie.jpg")
Same width figures:
Same height figures:
The following has been stretched less in y-direction:
Please work this time:
Roses are, Violets are.
This is highlighted.
My mother has blue eyes and my father has dark green eyes.