<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chito_ng</author_name>
  <author_url>https://blog.hatena.ne.jp/chito_ng/</author_url>
  <blog_title>まずは蝋の翼から。</blog_title>
  <blog_url>https://knknkn.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>使い方メモ(ライブラリ)</anon>
    <anon>使い方メモ(不便解決)</anon>
  </categories>
  <description>事象 表題通り。 データとして、週初めの日付が入っているデータがある。その日付単位でplotをすると軸がdateゆえに目盛が週初め刻みではなく、通常通りの1日刻みとなる。そのため、下記グラフのように欲しい部分（週初め日付）とは別の日付が目盛に表示されてしまい見づらい。 library(dplyr) library(lubridate) library(patchwork) # 時系列データ作る date_2018 &lt;- seq(as.Date(&quot;2018-01-01&quot;), as.Date(&quot;2018-04-30&quot;), by = &quot;day&quot;) n &lt;- abs(rnorm(120)) * 100…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fknknkn.hatenablog.com%2Fentry%2F2019%2F02%2F25%2F094429&quot; title=&quot;週単位にまとめた時系列データで軸目盛を週初め日付ベースにしたい - まずは蝋の翼から。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/c/chito_ng/20190224/20190224152333.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-25 09:44:29</published>
  <title>週単位にまとめた時系列データで軸目盛を週初め日付ベースにしたい</title>
  <type>rich</type>
  <url>https://knknkn.hatenablog.com/entry/2019/02/25/094429</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
