<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>High_School_Student</author_name>
  <author_url>https://blog.hatena.ne.jp/High_School_Student/</author_url>
  <blog_title>東京に棲む日々</blog_title>
  <blog_url>https://highschoolstudent.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>スマートなやり方かどうかは分からないが、データフレームのFactor型変数の水準順序の入れ替え方法に関するメモ。 季節気温の疑似データを作成。Season=c( rep(&quot;春&quot;,5), rep(&quot;夏&quot;,3), rep(&quot;秋&quot;,4), rep(&quot;冬&quot;,3) )Temp=c( c(20,21,15,15,21), c(32,33,35), c(16,10,20,9), c(0,7,9) )( TempData &lt;- data.frame(Season, Temp) ) Season Temp 1 春 20 2 春 21 3 春 15 4 春 15 5 春 21 6 夏 32 7 夏 33 8 夏 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhighschoolstudent.hatenablog.com%2Fentry%2F2013%2F12%2F15%2F154341&quot; title=&quot;R データフレームのFactor型変数の水準順序の入れ替え方法 - 東京に棲む日々&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-15 15:43:41</published>
  <title>R データフレームのFactor型変数の水準順序の入れ替え方法</title>
  <type>rich</type>
  <url>https://highschoolstudent.hatenablog.com/entry/2013/12/15/154341</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
