delta_h_global | R Documentation |

Computes a Global Knot Distance from the Input

delta_h_global(G, delta = NULL, h = NULL)

`G` |
An object of class |

`delta` |
A numeric vector of length one which already defines the global knot distance. Alternatively, delta can be supplied in terms of a quantile of the curve lengths of the network, i.e. a number in the unit interval. In the latter case, delta must be supplied as a character vector of length one, see the examples. By default, delta is chosen to be half of the minimal curve length. |

`h` |
A numeric vector of length one which already defines the global knot distance h. Alternatively, h can be supplied in terms of a fraction of delta, i.e. a number in the interval (0,1]. In the latter case, h must be supplied as character vector of length one, see the examples. By default, h is chosen to be half of the global knot distance. |

The global knot distance delta.

Marc Schneble marc.schneble@stat.uni-muenchen.de

G <- as_gn(montgomery) # use default arguments setup <- delta_h_global(G) setup # set numeric value for delta and fraction for h setup <- delta_h_global(G, delta = 0.1, h = "0.25") setup # set quantile for delta setup <- delta_h_global(G, delta = "0.05") setup

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.