Skip to content

Instantly share code, notes, and snippets.

@GuyliannEngels
Created September 17, 2018 13:29
Show Gist options
  • Select an option

  • Save GuyliannEngels/e349f835d11ec3f585bd27c0daa47012 to your computer and use it in GitHub Desktop.

Select an option

Save GuyliannEngels/e349f835d11ec3f585bd27c0daa47012 to your computer and use it in GitHub Desktop.
# Analyse du jeu de données portant sur 3 espèces d'iris
# Engels Guyliann
# 2018-09-04
# Importation des principaux outils permetant l'analyse des données
SciViews::R
# Importation des données
is <- read(package = "datasets", "iris", lang = "fr")
# Information sur le jeu de données dans R
about("is")
# Réalisation de graphique ####
## sepal_length vs petal_length
chart(is, sepal_length ~ petal_length) +
geom_point()
chart(is, sepal_length ~ petal_length %col=% species) +
geom_point()
## sepal_length vs sepal_width
chart(is, sepal_length ~ sepal_width) +
geom_point()
chart(is, sepal_length ~ sepal_width %col=% species) +
geom_point()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment