move "require(mosaic)" to the first chunk
replace plot_ci() with lattice-based solution