<?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 の続きです。 今回は東日本と西日本、人口の多い県と少ない県などと、男性優位の県と女性優位の県という二分するファクターを作り、クロス表分析をしようと思います。 まずは、東日本と西日本のファクターを作成しましょう。 まず、都道府県がどういう順番で登録されているかを見てみましょう。 このようになっていますから、23番目の愛知県までを東日本、それ以降を西日本としましょう。 こんな感じでrep関数、c関数、factor関数を使って作りました。 人口の多い県、少ない県は、data$被保険者数 を使って、ifelse関数、median関数、factor関数で作成しました…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.crosshyou.info%2Fentry%2F2019%2F01%2F09%2F124627&quot; title=&quot;厚生年金保険データの分析７ - R言語でクロス表分析をする - 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/20190109/20190109120829.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-09 12:46:27</published>
  <title>厚生年金保険データの分析７ - R言語でクロス表分析をする</title>
  <type>rich</type>
  <url>https://www.crosshyou.info/entry/2019/01/09/124627</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
