For each x value of the surface matrix add a region to the mask of an x3p object corresponding to the area between two specified quantiles.
x3p_mask_quantile(
x3p,
quantiles = c(0.25, 0.75),
color = "red",
annotation = "quantile-region"
)
x3p object with changed mask
x3p object
vector of quantiles between which surface matrix values are included in the mask
name or hex value of color
character value describing the region