<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syou6162</author_name>
  <author_url>https://blog.hatena.ne.jp/syou6162/</author_url>
  <blog_title>yasuhisa's blog</blog_title>
  <blog_url>https://www.yasuhisay.info/</blog_url>
  <categories>
  </categories>
  <description>id:mrknさんがベキ分布を生成するRの関数を書いてくれたので、例のやつを書いてみようかと思いました。 &gt; rzipf function (n, s=1, q=0, supp=c(1,n)) { x &lt;- supp[1]:supp[2] p &lt;- 1/(x + q)**s y &lt;- sample(x, n, replace=T, prob=p) return(y) } &gt; hist(rzipf(10000),nclass=50,plot=FALSE) hist(rzipf(10000),nclass=50,plot=FALSE) $breaks [1] 0 200 400 600 800 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20070909%2F1189340158&quot; title=&quot;ベキ分布で遊んでみる - yasuhisa&amp;#39;s blog&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>http://farm2.static.flickr.com/1318/1350692964_f6df3e5699.jpg?v=0</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-09-09 21:15:58</published>
  <title>ベキ分布で遊んでみる</title>
  <type>rich</type>
  <url>https://www.yasuhisay.info/entry/20070909/1189340158</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
