Separate targetconfidence() arguments into confidence and error.