Examples from yhat's documentation