<commit_before>---
layout:     post
title:      "ggplot2绘图系列之（一）"
subtitle:   "柱状图和条形图"
date:       2017-07-21 14:30:00
author:     "207统计工作室"
header-img: "img/in-post/post-bg/article1.jpeg"
header-mask: 0.3
catalog:    true
tags:
    - R
    - ggplot2
---


准备工作
========

首先加载绘图过程中需要用到的包：

``` r<commit_msg>Update 2017-07-21-ggplot2-1.md<commit_after>---
layout:     post
title:      "ggplot2绘图系列之（一）"
subtitle:   "柱状图和条形图"
date:       2017-07-21 14:30:00
author:     "207统计工作室"
header-img: "img/in-post/post-bg/article1.jpeg"
header-mask: 0.3
catalog:    true
tags:
    - R
    - ggplot2
---


准备工作
========
$$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$
首先加载绘图过程中需要用到的包：

``` r
{'fraction_non_alphanumeric': 0.20026702269692923, 'fraction_numerical': 0.0801068090787717, 'mean_word_length': 2.826530612244898, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3602605', 'n_tokens_mistral': 419, 'n_tokens_neox': 398, 'n_words': 62}