| create_ase | R Documentation |
Create an ASE object
create_ase()
a list (invisibly) classed as ase
create_ase() |>
add_color(
name = "RGB Red",
model = "RGB",
color_vals = as.vector(col2rgb("#FF0000")/255),
type = "global"
) |>
add_color(
name = "RGB Yellow",
model = "RGB",
color_vals = as.vector(col2rgb("#FFFF00")/255),
type = "global"
) |>
ase_encode() |>
writeBin(tempfile(fileext = ".ase"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.