Skip to content
'pianobar': Create a Histogram with Audible Features.
R JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
assets
data-raw
data
html-raw
inst
man
vignettes
.DS_Store
.Rbuildignore
.gitattributes
.gitignore
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
README.Rmd
README.md
fake_R_code.R
pianobar.Rproj

README.md

pianobar

包中使用了中文,因此该包仅限于Mac用户

该函数能够创建一个琴键柱形图,这意味着当你的鼠标掠过柱条时,会响起钢琴的声音,非常有趣。灵感来源: https://gallery.echartsjs.com/editor.html?c=xBJYz2XJz

安装

devtools::install_github('czxa/pianobar')

使用

library(pianobar)
pianobar(momo$date, momo$value,
         title = "末末的魔鬼步伐",
         titleLink = "https://www.czxa.top",
         xtitle = "日期",
         ytitle = "步数(千步)",
         width = "100%", height = "400px")

线图

library(pianobar)
pianobar(momo$date, momo$value,
         title = "末末的魔鬼步伐",
         titleLink = "https://www.czxa.top",
         xtitle = "日期",
         ytitle = "步数(千步)",
         width = "100%", height = "400px",
         plotType = "line")

更多

?pianobar()

致谢

You can’t perform that action at this time.