tree_sim: Compute tree similarity

Description Usage Arguments Value

View source: R/tree_kernel.R

Description

Computes similarity between two trees (non-recursively)

Usage

1
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 Nov. 13, 2021, 1:06 a.m.

Related to tree_sim in autoharp...