Measurement of muon partial capture rates in 16O and the induced pseudoscalar coupling constant in muon capture