Magnetic moment and high-spin structure of some rare-earth nuclei