Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > head(h_01_14)
- ID Amount Year Month Day MonthCount MonthTotal
- 1 C12362 37010.0 2001 1 2 32 8231252
- 2 C13176 100281.5 2001 1 2 32 8231252
- 3 C11730 92927.7 2001 1 4 32 8231252
- 4 C11848 886136.3 2001 1 4 32 8231252
- 5 C12713 101942.7 2001 1 4 32 8231252
- 6 C12963 809255.1 2001 1 4 32 8231252
- > h_01_14 <- h_01_14 %>%
- + select(ID,
- + Amount,
- + Year,
- + Month,
- + Day,
- + MonthCount,
- + MonthTotal) %>%
- + filter(Amount > 1)
- Error in filter(., Amount > 1) : object 'Amount' not found
- > sessionInfo()
- R version 3.1.2 (2014-10-31)
- Platform: x86_64-w64-mingw32/x64 (64-bit)
- locale:
- [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
- [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
- [5] LC_TIME=English_United States.1252
- attached base packages:
- [1] stats graphics grDevices utils datasets methods base
- other attached packages:
- [1] data.table_1.9.4 xts_0.9-7 timeSeries_3012.99 dplyr_0.4.1
- [5] ggplot2_1.0.0 lattice_0.20-29 fpp_0.5 lmtest_0.9-33
- [9] expsmooth_2.02 fma_2.01 tseries_0.10-33 forecast_5.8
- [13] timeDate_3012.100 zoo_1.7-11
- loaded via a namespace (and not attached):
- [1] assertthat_0.1 chron_2.3-45 colorspace_1.2-4 DBI_0.3.1 digest_0.6.8
- [6] fracdiff_1.4-2 grid_3.1.2 gtable_0.1.2 lazyeval_0.1.10 magrittr_1.5
- [11] MASS_7.3-35 munsell_0.4.2 nnet_7.3-8 parallel_3.1.2 plyr_1.8.1
- [16] proto_0.3-10 quadprog_1.5-5 Rcpp_0.11.4 reshape2_1.4.1 scales_0.2.4
- [21] stringr_0.6.2 tools_3.1.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement