saveConstraint: Save constraint result to file

View source: R/save.R

saveConstraintR Documentation

Save constraint result to file

Description

Saves results from checkConstraint to a text file.

Usage

saveConstraint(x, ...)

Arguments

x

data.frame - the result from checkConstraint.

...

Further arguments passed to write.table - e.g., file="<filename>" for the output filename, dec="." to define the decimal separator as point or sep="\t" to define the column sepator as tab.

Details

This is a wrapper for write.table.

See Also

write.table, checkConstraint

Examples

res <- checkConstraint(dataMZ, c("D10CC < 10Gy", "V20Gy < 20%"))
## Not run: 
saveConstraint(res, file="constrResults.txt", sep="\t")

## End(Not run)

DVHmetrics documentation built on March 23, 2022, 5:08 p.m.