performCuts: Perform cuts in the data

Description Usage Arguments Value Author(s) Examples

Description

performCuts will perform cuts in the data. This function is provided as a place holder, and it is empty, but it is called by UPMASK, so if the user needs to perform cuts in the data for the UPMASK analysis, this function should be tailored.

Usage

1
performCuts(originalData)

Arguments

originalData

a data frame to use as the baseline

Value

A data frame.

Author(s)

Alberto Krone-Martins, Andre Moitinho

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Create a simple data set with the values and errors
toyDataDF <- data.frame(x=runif(10, 0, 10), dx=rep(0.2, 10), y=runif(10, 0, 10), 
                        dy=rep(0.1, 10))

# Call the function to perform cuts
newToyDataDF <- performCuts(toyDataDF)

# Clean the environment
rm(list=c("toyDataDF", "newToyDataDF"))
 

UPMASK documentation built on May 2, 2019, 2:39 p.m.