Package 'ggflags'

Title: What the Package Does (Title Case)
Description: flags
Authors: Baptiste Auguie [aut, cre]
Maintainer: Baptiste Auguie <[email protected]>
License: GPL-3
Version: 0.0.1
Built: 2025-02-16 04:01:21 UTC
Source: https://github.com/baptiste/ggflags

Help Index


geom_flag

Description

geom_flag

Usage

geom_flag(mapping = NULL, data = NULL, stat = "identity",
  position = "identity", na.rm = FALSE, show.legend = NA,
  inherit.aes = TRUE, ...)

Arguments

mapping
data
stat
position
na.rm
show.legend
inherit.aes
...

Examples

data(lflags)
set.seed(1234)
d <- data.frame(x=rnorm(10), y=rnorm(10), 
                country=sample(c("ar","fr"), 10, TRUE), 
                stringsAsFactors = FALSE)
ggplot(d, aes(x=x, y=y, country=country, size=x)) + 
  geom_flag() + 
  scale_country()