PlotVar: Plot Bland & Altman and Regression

Usage Arguments

View source: R/PlotVar.R

Usage

1
2
PlotVar(Ref, ToComp, U, RefT, ToCompT, Cond, V, VT, UnitCurr,
  Sym.Main = "")

Arguments

Ref

Datas of reference system

ToComp

Datas of system to compare

U

"

\item

RefTName of reference system

\item

ToCompTName of system to compare

\item

CondMain title

\item

VCurrent Variable

\item

VTCurrent Variable name

\item

UnitCurrCurrent Unit to use

\item

Sym.Main

Plot the comparison of Ref and ToComp, with Ref as the reference 1<c3><82><c2><b0> left panel = B&A plot of Ref-ToComp as a function of (Ref+ToComp)/2 2<c3><82><c2><b0> rigth panel = regression of ToComp onto Ref (ToComp = a + bRef) plot of ToComp as a function of Ref V <- Variables [iVariables] VT <- VariablesNames [iVariables] U <- "%" RefT <- RefNameToRead ToCompT <- ToCompNameToRead UnitCurr <- VariablesUnit[iVariables] Ref <- subset(D, App == RefName)[,V] ToComp <- subset(D, App == ToCompName)[,V] Cond <- paste(ToCompT, "VS", RefT)


gfaity/ReachStroke documentation built on May 26, 2019, 10:34 a.m.