xuyiqing / gsynth

Generalized Synthetic Control Method
Other
132 stars 40 forks source link

"Error: could not find function 'panelView'" #11

Closed EOneita closed 4 years ago

EOneita commented 6 years ago

Here is my session info:

R version 3.4.3 (2017-11-30) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.1

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale: [1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages: [1] parallel stats graphics grDevices utils datasets methods base

other attached packages: [1] abind_1.4-5 doParallel_1.0.11 iterators_1.0.9 foreach_1.4.4 GGally_1.3.2
[6] ggplot2_2.2.1 Rcpp_0.12.15 gsynth_1.0.6

loaded via a namespace (and not attached): [1] mvtnorm_1.0-7 codetools_0.2-15 reshape_0.8.7 grid_3.4.3 plyr_1.8.4
[6] gtable_0.2.0 scales_0.5.0 pillar_1.2.1 rlang_0.2.0 lazyeval_0.2.1
[11] RColorBrewer_1.1-2 tools_3.4.3 munsell_0.4.3 compiler_3.4.3 colorspace_1.3-2
[16] tibble_1.4.2

Thank you in advance for assistance.

michaeldgarber commented 4 years ago

panelView is a separate package from gsynth, so this should fix it:

install.packages("panelView")
library(panelView)
EOneita commented 4 years ago

Great thank you- I didn't realize it was a separate package!