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, ...)

Arguments

mat

double matrix with three columns, one row for each color.

...

other args (not used)

new_data

matrix with 3 columns, new data for mat

Value

Object with same class, attributes as mat