2016-11-25 5 views
2

Rmarkdownファイルに人魚のフローチャート含める方法:私はチャートを追加することができますどのようにダイアグラマ/ Iは、Rマークダウンファイル持って

graph LR 
    A-->B 

--- 
title: "Untitled" 
author: "Me" 
output: html_document 
--- 

```{r setup, include=FALSE} 
knitr::opts_chunk$set(echo = TRUE) 
``` 
## R Markdown 
This is an R Markdown document. 

と同様にダイアグラマ/人魚のチャートをRマークダウンで?

答えて

2

実際に、それは簡単です:


title: "Untitled" 
author: "Me" 
output: html_document 
--- 

```{r setup, include=FALSE} 
knitr::opts_chunk$set(echo = TRUE) 
``` 
## R Markdown 
This is an R Markdown document. 

```{r} 
library(DiagrammeR) 
mermaid(" 
graph LR 
    A-->B 
") 
``` 
関連する問題