Reference: http://ccckmit.wikidot.com/st:test1
d = density function 連續型
p = cumulative distribution function 離散
q = quantile function
r = random number generation
# 累積的常態機率分布
pnorm(175, mean = 170, sd = 5) - pnorm(170, 170, 5)
# 計算170到175中間的那塊常態分布面積(mean:170, x:175, sd:5)
Rita Tang changed 4 years agoView mode Like 3 Bookmark
Reference: Michael Hahsler(2011). "recommenderlab: A Framework for Developing and Testing Recommendation Algorithms."
一個用於探索時序資料的套件
將隨著時間而變的狀態用視覺化方式呈現
使用場合:
行銷漏斗轉換分析
社經事件追蹤研究
購物流程/行為分析
顧客價值分析(新顧客、忠誠顧客、沈睡顧客的轉變)
Rita Tang changed 5 years agoView mode Like Bookmark
{%hackmd theme-dark %}
Reference from Building Dashboards with shinydashboard.
View another note on ShinyApp.
Example
library(shinydashboard)
# create header, sidebar & body
Rita Tang changed 5 years agoView mode Like Bookmark
Reference from Building Web Applications with Shiny in R.
View another note on Shiny Dashboard.
Example
ui = fluidPage({
...
})
server = function(input, output, session{
Rita Tang changed 5 years agoView mode Like Bookmark
1. 授權R使用GA帳號
library(googleAnalyticsR)
ga_auth() # This will open a webpage, plz log into your Google Analytics account and paste the athorize code in your R console
1 # Select the current account for analysis
2. 選擇帳號裡的資源/檢視
my_accounts <- ga_account_list() # GA account內所有資源列表
View(my_accounts) # 查看帳號擁有的資源/檢視
my_id <- 123456789 # 紀錄要使用的網站viewId
Rita Tang changed 5 years agoView mode Like Bookmark