assess_percentile_na_proportion: Feature Extraction: A specified percentile of the proportion...

View source: R/assess_percentile_na_proportion.R

assess_percentile_na_proportionR Documentation

Feature Extraction: A specified percentile of the proportion of NA values present in the middle of a 3d scan, from a specific number of 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 specific number of y values in the surface matrix that are in a certain percentage of the middle of the 3d scan. Then with these rows of the surface matrix we measure the proportion of missing values in each of those rows. We then take the specified percentile 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

assess_percentile_na_proportion(
  x3p,
  chopoff = 1/7,
  numlines = 200,
  percentile = 0.8
)

Arguments

x3p

scan in x3p format

chopoff

numeric value between 0 and .5 - The percentage of values to chop off of both sides of the scan

numlines

Number of horizontal lines across the scan to find the median proportion of na values from

percentile

Specific percentile to choose from the number of horizontal lines

Value

median proportion of missing values

Examples

data(fau277_bb_l2)
assess_percentile_na_proportion(fau277_bb_l2)

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