Irf function: not extracting values of dr, or other inputs

thank you for your response. It is helpful to see.