Learn R Programming

MeshAgreement (version 0.1.4)

get_mesh_agree_aggr_long: Shape aggregated agreement measures to long format

Description

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

Usage

get_mesh_agree_aggr_long(x)

Value

data.frame with the following variables:

group

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

metric

The calculated agreement measure.

statistic

The aggregate statistic over mesh pairs. This includes the mean, median, standard deviation, and coefficient of variation.

observed

The value observed for the statistic.

Arguments

x

data.frame with aggregated agreement measures in wide format as returned by get_mesh_agree_aggr.

Details

Front-end for reshape.

See Also

get_mesh_agree_aggr, reshape

Examples

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

Run the code above in your browser using DataLab