O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

There's more...

Here are some settings that you can change for the Yifan Hu layout algorithm to come up with the best possible layout for the graph under consideration:

  • Quadtree Max Level: This defines the maximum level for the quadtree representation. A quadtree is a tree where each non-leaf node has exactly four children. The quadtree representation essentially places each node of the tree in a matrix, with four neighbors being its children. A higher value of this parameter results in higher accuracy and vice versa.
  • Theta: This defines the approximation coefficient for the Barnes-Hut algorithm. A small value of theta would mean high accuracy.
  • Optimal Distance: The edges in the graph in the Yifan Hu algorithm are visualized and assumed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required