px_validate | R Documentation |
Runs a number of checks on px object to see if it is valid.
px_validate(x)
x |
A supposed px object. |
This check is run by default by all px_*
functions, but can be skipped by
using validate = FALSE
. This can be useful on large px objects where the
checks are time consuming. Instead of validating on every modifying function
px_validate()
can be run as the final step to validate the object.
A valid px object.
# Turn off validation for modifying functions, and manually
# run validation as final step in creating px object.
x1 <-
px(population_gl, validate = FALSE) |>
px_title("Test", validate = FALSE) |>
px_validate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.