<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cross_hyou</author_name>
  <author_url>https://blog.hatena.ne.jp/cross_hyou/</author_url>
  <blog_title>Rで何かをしたり、読書をするブログ</blog_title>
  <blog_url>https://www.crosshyou.info/</blog_url>
  <categories>
    <anon>データ分析</anon>
  </categories>
  <description>(冒頭の画像は、Bing Image Creator で生成しました。プロンプトは Close up photograph of yellow daisy flowers, flowering under the high blue sky, photo です。) www.crosshyou.info の続きです。今回は昼間の人口が多い都市と夜の人口が多い都市の違いを見てみます。 group_by()関数を利用して、day == 1 の都市と day == 0 の都市の平均値を計算してみます。 人口密度は、day == 0, つまり夜間人口のほうが多い都市のほうが高いですね。商品販売額と課税所…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2025%2F10%2F12%2F085835&quot; title=&quot;全国の主要都市の人口密度、昼夜人口比率、商品販売額、課税所得のデータの分析4 - 昼夜人口比率と人口密度の関係 - Rで何かをしたり、読書をするブログ&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/cross_hyou/20251012/20251012081611.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-10-12 08:58:35</published>
  <title>全国の主要都市の人口密度、昼夜人口比率、商品販売額、課税所得のデータの分析4 - 昼夜人口比率と人口密度の関係</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2025/10/12/085835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
