r:social_network_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
r:social_network_analysis [2019/12/03 16:11] – [Triad Data Visualizations] hkimscil | r:social_network_analysis [2019/12/03 16:14] – [Analysis (vis)] hkimscil | ||
---|---|---|---|
Line 173: | Line 173: | ||
geom_density_tern() | geom_density_tern() | ||
- | ggtern(data=demodata1, | + | ggtern(data=demodata1, |
geom_density_tern(aes(fill=..level.., | geom_density_tern(aes(fill=..level.., | ||
</ | </ | ||
Line 179: | Line 179: | ||
< | < | ||
#Or you can apply a color gradient to space between the contour lines | #Or you can apply a color gradient to space between the contour lines | ||
- | ggtern(data=demodata1, | + | ggtern(data=demodata1, |
- | stat_density_tern(aes(fill=..level.., | + | stat_density_tern(aes(fill=..level.., |
scale_fill_gradient2(high = " | scale_fill_gradient2(high = " | ||
guides(color = " | guides(color = " | ||
</ | </ | ||
+ | < | ||
+ | ggtern(data=demodata1, | ||
+ | stat_density_tern(aes(fill=..level.., | ||
+ | scale_fill_gradient2(high = " | ||
+ | geom_point() + | ||
+ | theme_showarrows() + | ||
+ | ggtitle(" | ||
+ | xlab(" | ||
+ | ylab(" | ||
+ | zlab(" | ||
+ | guides(color = " | ||
+ | </ | ||
===== triad_data1.csv ===== | ===== triad_data1.csv ===== |
r/social_network_analysis.txt · Last modified: 2023/11/22 22:02 by hkimscil