Description Usage Arguments Examples
Create a tibble that defines a {brickr} soccer player. Pass to
brickr::bricks_from_table()
and then
brickr::display_bricks()
to render it.
1 2 3 | create_brickr_player(hair_col = 39, skin_col = 8, boot_col = 2,
shirt_body_col = 7, shirt_sleeve_col = 1, shorts_col = 1,
sock_col = 7, sock_trim_col = 1)
|
hair_col |
Numeric code as per |
skin_col |
Numeric code as per |
boot_col |
Numeric code as per |
shirt_body_col |
Numeric code as per |
shirt_sleeve_col |
Numeric code as per |
shorts_col |
Numeric code as per |
sock_col |
Numeric code as per |
sock_trim_col |
Numeric code as per |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | man_city <- create_brickr_player(
hair_col = 2,
skin_col = 39,
boot_col = 7,
shirt_body_col = 13,
shirt_sleeve_col = 13,
shorts_col = 1,
sock_col = 27,
sock_trim_col = 27
)
## Not run:
library(dplyr)
library(brickr)
create_brickr_player() %>%
bricks_from_table(lego_colors) %>%
display_bricks()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.