trim_manually {densitr}R Documentation

Manually trim a list of density profiles

Description

This function will take a list of dp objects and interactively ask the user to assign starting/ending points manually for all density profiles in sequentially. Used as alternative to automatic trim functions. The plot title will display whether you are selecting start or end position. Use your mouse to select starting/ending points on the plot.

Usage

trim_manually(dp.list)

Arguments

dp.list

A list of dp objects.

Value

A list of trimmed density profiles.

See Also

dptrim, dptriml, manual_trim_detect

Examples

## load all dp files

dp.list <- dpload(dp.directory = system.file("extdata", package = "densitr"))
## manually trim the list
dp.trimmed <- trim_manually(dp.list)


[Package densitr version 0.2 Index]