ggplot2
2021-01-07
1 / 1
data-analysis
Heart_rate_data_analysis1
Kazu Nozue
/
2021-01-01
library(XML) library(tidyverse) library(lubridate) library(scales) library(ggthemes) Reading downloaded health data from an Apple watch. path="/Volumes/data_personal/Kazu_blog/resources" #zip <- paste(path, 'export_Mana_101320.zip', sep = '/') zip <- paste(path, …
data-analysis
Useful R techniques 1
Kazu Nozue
/
2020-12-24
mtcars %>% rownames_to_column() %>% filter(str_detect(rowname,"Mazda")) ## rowname mpg cyl disp hp drat wt qsec vs am gear carb ## 1 Mazda RX4 21 6 160 110 3.9 2.620 16.46 0 1 4 4 ## 2 Mazda RX4 Wag 21 6 160 110 3.9 2.875 17.02 0 1 4 4 mtcars %>% rownames_to_column() %>% …
data-analysis
Needs more cargo space in electric vehicles!
Kazu Nozue
/
2019-03-30
Electric vehicle (EV) became popular in California. Recently I can find more than one Tesla car during my daily commute. There are a couple of advantages of EV compared with gas powered vehicles; (1) higher cost efficiency (higher MPGe1), (2) lower maintainance cost, and (3) tax incentives and …
data-analysis
How to make QRcode by R + ggplot2
Kazu Nozue
/
2018-09-24
library(qrcode) library(tidyverse) ## ── Attaching packages ───────────────────────────────────── tidyverse 1.2.1 ── ## ✔ ggplot2 3.1.0 ✔ purrr 0.2.5 ## ✔ tibble 1.4.2 ✔ dplyr 0.7.7 ## ✔ tidyr 0.8.2 ✔ stringr 1.3.1 ## ✔ readr 1.1.1 ✔ forcats 0.3.0 ## ── Conflicts …