<?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>www.crosshyou.info の続きです。 前回作成した、車両タイプを絞り込んだデータフレームを使って、車両タイプごとの１台当りの車両の金額を調べてみます。 group_by関数でtrain_type: 車両タイプでグループ化して、summarise関数とmean関数で平均値を計算しました。 千円単位なので、一番高い電気機関車は、3億2889万6千円です。一番安いのはコンテナ車で2288万円です。 生産台数はどの車両タイプが一番多いでしょうか？ 電車が1万2171両、新幹線が3422両とわかります。客車はNAですね。 新造はされていないのですね。 ここで、prod_typeにはどんなの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2020%2F11%2F29%2F100512&quot; title=&quot;鉄道車両生産動態統計調査の分析３ - R言語のgroup_by関数とsummarise関数を使う。「その他の新幹線」は１台当りの車両の金額は11億3600万円 - 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/20201129/20201129091757.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-29 10:05:12</published>
  <title>鉄道車両生産動態統計調査の分析３ - R言語のgroup_by関数とsummarise関数を使う。「その他の新幹線」は１台当りの車両の金額は11億3600万円</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2020/11/29/100512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
