Hello enocsanz,
To calculate the projection error for marker "marker" on the single image "camera" you can do the following:
projection = marker.projections[camera].coord #2D coordinates on the corresponding image of the marker projection (green/blue flag)
reprojection = camera.project(marker.position) #2D coordinates on the corresponding image of reprojected marker position
error = (projection - reprojection).norm() #difference in pixels
So to get the average error you need to loop by every camera where the given marker appears.