Description Usage Arguments Value Author(s) Examples
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.
1 | performCuts(originalData)
|
originalData |
a data frame to use as the baseline |
A data frame.
Alberto Krone-Martins, Andre Moitinho
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.