Forgot to load plyr library before using it