Dependence of resistivity gradient guiding of laser-driven relativistic electron beams on laser intensity and duration