fcbase<- | R Documentation |
Replace base colors of a fcol object with a different value
fcbase(fcol) <- value
fcol |
A fcol object, likely constructed by |
value |
A character vector, indicating the new values |
A new fcol
object
fc <- fcol(c("lightblue", "orange", "lightblue"), base=c("orange", "lightblue"))
fcbase(fc)
fcbase(fc)[1] <- "red"
print(fc)
fcbase(fc) <- c("gray", "darkblue")
fc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.