# S3 method for px
px_heading(x, value, validate = TRUE)
Value
A px object or a character vector.
Arguments
x
A px object
value
Optional. A character vector of variable names to change to
STUB. This also changes the HEADING order. With names in variables
becoming 1, 2, ... If missing, the current HEADING variables are returned.
validate
Optional. If TRUE a number of validation checks are performed on the px object, and an error is thrown if the object is not valid. If FALSE, the checks are skipped, which can be usefull for large px objects where the check can be time consuming. Use px_validate() to manually preform the check.