View source: R/readConstraint.R
readConstraint | R Documentation |
Reads the definition of quality assurance constraints from a text file.
readConstraint(x, ...)
x |
|
... |
Further arguments passed to |
This is a wrapper for read.table
.
The text file should contain three columns with the column names patID
, structure
, constraint
in the first line. Each further line then defines one constraint and the scope it applies to in terms of patients and structures. See checkConstraint
for the definition of a constraint and for the definition of a scope. Example content:
"patID" "structure" "constraint"
"*" "HEART" "D1CC < 20Gy"
"234" "*" "V10% > 8CC"
A data.frame
with columns patID
, structure
, constraint
that can be used in functions checkConstraint
and showConstraint
.
read.table
,
checkConstraint
,
saveConstraint
,
showConstraint
## Not run:
readConstraint("constraint.txt")
readConstraint()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.