get_mesh_agree_long: Shape agreement measures to long format

View source: R/functions.R

get_mesh_agree_longR Documentation

Shape agreement measures to long format

Description

Utility function to shape data frame with agreement measures from wide format to long format.

Usage

get_mesh_agree_long(x)

Arguments

x

data.frame with agreement measures in wide format as generated by get_mesh_agree.

Details

Front-end for reshape.

Value

data.frame with these variables

mesh_1

Name of the first mesh of the pair.

mesh_2

Name of the second mesh of the pair.

group

The grouping variable indicating which pairs belong to the same structure.

metric

The calculated agreement measure.

observed

The value observed for the metric.

See Also

get_mesh_agree, reshape

Examples

heartL <- mesh3dL_to_cgalMeshL(data_heart_obsL)
agreeW <- get_mesh_agree(heartL, do_ui=FALSE)
get_mesh_agree_long(agreeW)

MeshAgreement documentation built on Nov. 25, 2022, 5:05 p.m.