上传者: 42101720
|
上传时间: 2022-03-23 20:27:40
|
文件大小: 358KB
|
文件类型: -
IdealPoints 数据可视化
这个 repo 是 Bailey 教授的交互式数据可视化项目。
如何使用
将 repo 下载为 zip 文件(或克隆它)
将IdealPoints文件夹设置为IdealPoints中的工作目录。
将server.R的 API 密钥更改为活动密钥(请参阅电子邮件或使用注册)。
从 GitHub 安装plotly包
# Install and load the devtools package.
install.packages( " devtools " )
library( " devtools " )
# install plotly
install_github( " ropensci/plotly " )
在 R 中调用shiny
shiny :: runApp()