extract_median_na_proportion: Feature Extraction: Median of the proportion of NA values...

View source: R/extract_median_na_proportion.R

extract_median_na_proportionR Documentation

Feature Extraction: Median of the proportion of NA values present in the middle of a 3d scan, from 20 different y values.

Description

One of the main problems with 3d scans are the feathering that occurs within the middle of the scan. Here, we quantify this feathering by taking samples at 20 specific y values in the surface matrix that are in the middle 2/3 of the image. Then with these rows of the surface matrix we measure the proportion of missing values in each of those 20 rows. We then take the median proportion of missing values of those rows, which will give us a good measure to quantify the amount of feathering in a 3d scan.

Usage

extract_median_na_proportion(x3p, chopoff = 1/6)

Arguments

x3p

scan in x3p format

chopoff

numeric value between 0 and .5 - how many values do we need to chop off from either side of the scan?

Value

median percentage of missing values # HH: percentage or proportion? HH: I believe, that what you are calculating is actually a lot more complicated than an overall median of missing values.

Examples

data(fau277_bb_l2)
extract_median_na_proportion(fau277_bb_l2)

heike/DS401 documentation built on Oct. 23, 2022, 1:39 p.m.