<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quossy</author_name>
  <author_url>https://blog.hatena.ne.jp/quossy/</author_url>
  <blog_title>ねこすたっと</blog_title>
  <blog_url>https://necostat.hatenablog.jp/</blog_url>
  <categories>
    <anon>survival</anon>
    <anon>ggplot</anon>
    <anon>figure/table</anon>
    <anon>R</anon>
    <anon>neco</anon>
  </categories>
  <description>jskm( )を使ってKaplan-Meier生存曲線を描く 信頼区間をつける 色パレットを変更する 線の種類を変更する 打ち切りマークを変更する Risk tableをつける 軸について色々 軸の目盛り間隔を変更する 軸の範囲・ラベルを指定する 検定結果を表示する 凡例を変更する 日本語の文字化けを直す おわりに 参考資料 ggplot系コードで生存曲線を描く方法については以前まとめました。 necostat.hatenablog.jp 今回はjskmパッケージを使って生存曲線を描く方法のまとめ。 まずは必要なパッケージを準備する。 library(survival) library(tid…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnecostat.hatenablog.jp%2Fentry%2F2022%2F04%2F11%2F092406&quot; title=&quot; Kaplan-Meier生存曲線をキレイに描く（ggplot系jskmパッケージ）[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/q/quossy/20210822/20210822140204.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-11 09:24:06</published>
  <title> Kaplan-Meier生存曲線をキレイに描く（ggplot系jskmパッケージ）[R]</title>
  <type>rich</type>
  <url>https://necostat.hatenablog.jp/entry/2022/04/11/092406</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
