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

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

mean.mesh.colorsR Documentation

Calculating means/group means for color sampled data

Description

Calculating means/group means for color sampled data

Usage

## 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 Nov. 23, 2024, 6:10 p.m.