mean.mesh.colors: Calculating means/group means for color sampled data

Description Usage Arguments Value

View source: R/mean.mesh.colors.R

Description

Calculating means/group means for color sampled data

Usage

1
2
## S3 method for class 'mesh.colors'
mean(mesh.colors.object, covariate_data = NULL, group_labels = NULL)

Arguments

mesh.colors.object

a mesh.colors object. The result of tps.unwarp when color.sampling was specified

covariate_data

dataframe with variables to specify a group mean to calculate

group_labels

a vector of factors to group by. Up to two separate factors can be accepted

Value

a mesh.colors object, with $sampled.colors now being the specified mean


J0vid/Colormesh documentation built on Feb. 4, 2022, 1:33 a.m.