"summary"(object, ...)
This function will implement simple calculations of predicted and residuals for the Opc4photo function