A study into the geographical variability of timing of initial child breastfeeding after birth was carried out with the data set from the 1999 Nigeria Demographic and Health Survey. The effect of the metrical covariate of the mother's age at birth was assumed to be nonlinear and estimated nonparametrically. Other categorical covariates are estimated in the usual parametric form. Within a Bayesian context, appropriate priors are assigned for the geographical location, vector of the unknown (nonlinear) smooth functions and a further vector of the fixed effect parameters. For instance, a Markov random field prior is assumed on the spatial effects. Inferences are based on Markov chain Monte Carlo techniques while Bayesian model diagnostics are based on the deviance information criteria.