使用更多主要来源格式化思维导图

时间:2018-12-15 06:05:53

标签: r rstudio knitr tikz mindmapping

美好的一天。

请,我很难格式化具有更多主要和次要来源的思维导图。

这是我的工作方式: 第一步:360度/孩子的角度。 第2步:只需估算次要来源的程度。

\begin{tikzpicture}
  \path[mindmap,grow cyclic, every node/.style=concept, concept color=black,text=white, align=flush center,
   level 1 /.append style={level distance = 10cm},
   level 2 /.append style={level distance = 15cm},]
    node[concept]{Data }
     [clockwise from=0]
      child[concept color=green!50!black]{
      node[concept]{Renaming Data Variable}
      [clockwise from=36]
       child{node[concept]{Get the data}}
       child{node[concept]{Names function}}
       child{node[concept]{Renaming Columns and Rows}}
       }
      child[concept color=blue] {
      node[concept] {Converting data types}
      [clockwise from = -36]
      child { node[concept] {class function} }
      child { node[concept] {Converting date variable} }
      child { node[concept] {Str to examine data set} }
    }
     child[concept color=red]{
        node[concept]{Working with date format}
          [clockwise from = -72]
           child{node[concept]{Date difference}}
           child{node[concept]{Lubricate package}}
           child{node[concept]{Converting data to POSIX format and calculate age}}
     }
        child[concept color=orange]{
        node[concept]{Adding new records}
            [clockwise from = -108]
           child{node[concept]{Using rbind}}
           child{node[concept]{Reassigning}}
           child{node[concept]{Adding and age attribute}}
        }   
        child[concept color=purple]{
        node[concept]{Filtering Data}
            [clockwise from = -144]
           child{node[concept]{Subsetting specific rows and column}}
           child{node[concept]{Excluding columns}}
           child{node[concept]{Using substr functions}}
        }
         child[concept color=green]{
          node[concept]{Dropping Data}
            [clockwise from = -180]
           child{node[concept]{Excluding lastname}}
           child{node[concept]{Dropping rows}}
           child{node[concept]{Using Functions}}
         }
          child[concept color=green]{
          node[concept]{Merging and Sorting data}
            [clockwise from = -216]
           child{node[concept]{Excluding lastname}}
           child{node[concept]{Dropping rows}}
           child{node[concept]{Using Functions}}
          }
          child[concept color = pink]{
          node[concept]{Reshaping Data}
            [clockwise from = -252]
           child{node[concept]{Excluding lastname}}
           child{node[concept]{Dropping rows}}
           child{node[concept]{Using Functions}}
          }
           child[concept color=green]{
           node[concept]{Detecting missing data}
             [clockwise from = -288]
           child{node[concept]{Excluding lastname}}
           child{node[concept]{Dropping rows}}
           child{node[concept]{Using Functions}}
           }
            child[concept color=green]{
          node[concept]{Imputing missing data}
            [clockwise from = -324]
           child{node[concept]{Subset data}}
           child{node[concept]{Calculating  mean salary and Impute}}
           child{node[concept]{Using MICE package}}
          };
\end{tikzpicture}

问题:

  1. 子节点之间的间距-更改哪个?角度还是水平距离?。
  2. 如何使它看起来更好?

0 个答案:

没有答案