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:09] – [triad_data1.csv] hkimscil | r:social_network_analysis [2019/12/03 16:10] – [triad_data1.csv] hkimscil | ||
---|---|---|---|
Line 167: | Line 167: | ||
geom_point() + #define first data geometry | geom_point() + #define first data geometry | ||
geom_density_tern() | geom_density_tern() | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ggtern(data=demodata1, | ||
+ | geom_density_tern() | ||
+ | |||
+ | ggtern(data=demodata1, | ||
+ | geom_density_tern(aes(fill=..level.., | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | #Or you can apply a color gradient to space between the contour lines | ||
+ | ggtern(data=demodata1, | ||
+ | stat_density_tern(aes(fill=..level.., | ||
+ | scale_fill_gradient2(high = " | ||
+ | guides(color = " | ||
</ | </ | ||
r/social_network_analysis.txt · Last modified: 2023/11/22 22:02 by hkimscil