<?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 の続きです。前回は CSV ファイルのデータを R に取り込みました。今回は分析用のデータフレームを作りたいと思います。 まず、私の大目標は、勝率に関連する変数は何か、例えば、打率と防御率ではどっちが重要か、ホームラン数と二塁打数ではどっちが重要かなど、勝率を説明するのはどういうモデルか？というのがあるので、なるべくこの大目標に適したデータフレームにしたいと思います。 このように、試合数が120試合のシーズンもあれば、144試合のシーズンもあるので、 1試合当たりの値に変えたほうがいいものはそうします。 games, wons, losts, evens,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2025%2F07%2F20%2F093801&quot; title=&quot;2010年から2024年のプロ野球の成績のデータ分析 2 - 安打数などを1試合当たりの値に修正する。 - 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/20250720/20250720085038.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-20 09:38:01</published>
  <title>2010年から2024年のプロ野球の成績のデータ分析 2 - 安打数などを1試合当たりの値に修正する。</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2025/07/20/093801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
