The sfcurve package