setup_errors: Descriptive statistics for setup errors in radiotherapy

Description Usage Arguments References Examples

View source: R/setup_errors.R

Description

Compute standard M, Sigma and sigma values, according to van Herk (2004).

Usage

1

Arguments

x

vector of numeric setup error

group

patient id vector

References

Marcel van Herk, Errors and Margins in Radiotherapy, Seminars in Radiation Oncology, Vol 14, No 1 (January), 2004

Joep Stroom and Ben Heijmen, Geometrical uncertainties, radiotherapy planning margins, and the ICRU-62 report, Radiotherapy and Oncology 64 (2002) 75-83

Examples

1
2
3
4
5
6
7
8
9
db <- data.frame(pt = factor(rep(1:4, each = 4)),
                           time = rep(1:4, 4),
                           y = c(
                           2,  1, 1, 1,
                           4, -2, 2, 0,
                           1, -1, 2, 2,
                           3, -3, -2, 1
                           ))
setup_errors(db$y, db$pt)

lbraglia/yapomif documentation built on May 20, 2019, 11:26 p.m.