Define the colors for persp plot

persp_color(z, method = c("relative", "abs"))

Arguments

z

matrix of z

method

choose whether the relative value or absolute value that the colors represent

Value

colors