Learn R Programming

DVHmetrics (version 0.3.1)

saveMetric: Save DVH metrics to file

Description

Saves results from getMetric to a text file.

Usage

saveMetric(x, file = "", ...)

## S3 method for class 'data.frame':
saveMetric(x, file = "", ...)

## S3 method for class 'list':
saveMetric(x, file = "", ...)

Arguments

x
data.frame or list - the result from getMetric.
file
character string. Path to file.
...
Further arguments passed to write.table - e.g., dec="." to define the decimal separator as point or sep="" to define the column sepator as tab.