a numeric Nx3 matrix with CIE XYZ coordinates in the rows, or a vector that can be converted to such a matrix, by row.
Value
a numeric Nx3 matrix with xyY coordinates in the rows.
If the sum of XYZ is not positive, x and y are set to NA.
The rownames are copied from input to output.