## load a MRIaggr object
data("MRIaggr.Pat1_red", package = "MRIaggr")
## display
plotDistClass(MRIaggr.Pat1_red, param = "DWI_t0",
param.membership = c("MASK_T2_FLAIR_t2"))
# specify the smoothing bandwidth
plotDistClass(MRIaggr.Pat1_red, param = "DWI_t0", bw.adjust = 1,
param.membership="MASK_T2_FLAIR_t2")
# specify the scale
plotDistClass(MRIaggr.Pat1_red, param = "DWI_t0", bw.adjust = 1,
from = 200, to = 300, param.membership = "MASK_T2_FLAIR_t2")
# use several classes
## Not run:
# plotDistClass(MRIaggr.Pat1_red, param = "TTP_t0", bw.adjust = 2,
# param.membership = c("CSF","WM","GM","MASK_T2_FLAIR_t2"))
#
# plotDistClass(MRIaggr.Pat1_red, param = "DWI_t0", bw.adjust = 2,
# param.membership = c("CSF","WM","GM","MASK_T2_FLAIR_t2"))
# ## End(Not run)
Run the code above in your browser using DataLab