1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # KOREA # SEOUL # A # a # b # B # GGD # A # B # C # BUSAN # A # B # ULSAN # A # a KoreaLN <- list(name="Korea", children = list( list(name="SEOUL", children=list(list(name="A", children=list(list(name="a"), list(name="b"))), list(name="B"))), list(name="BUSAN", children=list(list(name="A"), list(name="B"))), list(name="GGD", children=list(list(name="A"), list(name="B"), list(name="C"))), list(name="ULSAN", children=list(list(name="A", children=list(list(name="a"))))) )) d3Tree(List = KoreaLN, fontsize = 12, diameter = 800, zoom = TRUE, file = "test7.html", nodeColour = "#ff6f69", linkColour = "#ffcc5c", textColour = "black") shell.exec("test7.html") | cs |
'source code' 카테고리의 다른 글
R studio 데이터 프레임 만들기 / 데이터 분석 기초 (0) | 2018.01.10 |
---|---|
R스튜디오 켜보니 여름의 흔적 (0) | 2017.12.31 |
R 기초 / 변수 및 상수의 개념, 함수 이해하고 패키지 사용해보기 (0) | 2017.12.31 |
R이란? / R과 R Studio 다운로드&설치 (0) | 2017.12.29 |
나나스킨 수정 ver.6 티스토리 업뎃 이후 기록 (8) | 2017.12.28 |
나나 스킨 사용하며 수정한 것 기록 (5) | 2017.12.16 |