Home > Database > Mysql Tutorial > 使用R进展数据可视化套路之-多重散点图、连接Mysql获取数据

使用R进展数据可视化套路之-多重散点图、连接Mysql获取数据

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:15:20
Original
1354 people have browsed it

使用R进行数据可视化套路之-多重散点图、连接Mysql获取数据 代码 library(RODBC)channel - odbcConnect('db_name', uid='user_name', pwd='user_password') #连接数据源s_d - sqlQuery(channel, SELECT t, s, d FROM table_1) #获取数据length - dim(s_d)[1]

使用R进行数据可视化套路之-多重散点图、连接Mysql获取数据

代码

library(RODBC)
channel 
<br>
<br>
<p></p>
<p><strong>效果</strong></p>
<p><img src="/img/2013/10/28/093518120.jpg" alt=""><br>
</p>
<p><br>
</p>



Copy after login
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template