Learn R Programming

MeshAgreement (version 0.1.4)

get_mesh_agree_long: 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)

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.

Arguments

x

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

Details

Front-end for reshape.

See Also

get_mesh_agree, reshape

Examples

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

Run the code above in your browser using DataLab