Learn R Programming

DVHmetrics (version 0.4.2)

saveConstraint: 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

Run this code
# NOT RUN {
res <- checkConstraint(dataMZ, c("D10CC < 10Gy", "V20Gy < 20%"))
# }
# NOT RUN {
saveConstraint(res, file="constrResults.txt", sep="\t")
# }

Run the code above in your browser using DataLab