Replace data in pth_mat
pth_mat_replace_data(mat, ...)
# S3 method for default
pth_mat_replace_data(mat, ...)
# S3 method for pth_mat
pth_mat_replace_data(mat, new_data, ...)
double
matrix
with three columns, one row for each color.
other args (not used)
matrix
with 3 columns, new data for mat
Object with same class, attributes as mat