<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryamada</author_name>
  <author_url>https://blog.hatena.ne.jp/ryamada/</author_url>
  <blog_title>ryamadaのコンピュータ・数学メモ</blog_title>
  <blog_url>https://ryamada.hatenadiary.jp/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>こんなソースがある はじめに、ある処理を書いて、それを指定回数の繰り返し処理にしたことが読み取れる また、指定回数の繰り返し関数に持ち上げるにあたって「繰り返し回数」のみを引数化していることが読み取れる はじめに作った処理のうち、何が、条件か(何が変更可能か)という目で見て、それを全部、引数化するとすると、次のようになるだろうか library(MCMCpack) guriko&lt;- function(n,trials=1000,q=rep(1/3,3),step.matrix=rbind(c(0,3,-6),c(-3,0,6),c(6,-6,0)),battle.num.record=FALS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20101003%2F1285969780&quot; title=&quot;ソースの整理 - ryamadaのコンピュータ・数学メモ&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>2010-10-03 06:49:40</published>
  <title>ソースの整理</title>
  <type>rich</type>
  <url>https://ryamada.hatenadiary.jp/entry/20101003/1285969780</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
