tree_sim: Compute tree similarity

View source: R/tree_kernel.R

tree_simR Documentation

Compute tree similarity

Description

Computes similarity between two trees (non-recursively)

Usage

tree_sim(t1, t2, norm = FALSE, ...)

Arguments

t1

A TreeHarp object

t2

Anothe TreeHarp object.

norm

A logical value, indicating if the kernel function should be normalised, to account for different tree lengths.

...

Unused arguments, reserved for mcmapply

Value

A numerical value between 0 and 1 (if normed).


autoharp documentation built on April 3, 2025, 6:36 p.m.

Related to tree_sim in autoharp...