# NOT RUN {
x = nuclearPed(father = "fa", mother = "mo", children = c("b1", "b2"))
# Default plot
missingPersonPlot(x, missing = "b2")
# A bit nicer using various options
missingPersonPlot(x, missing = "b2", MP.label = "Missing", labs = NULL,
hatched = "b1", POI.hatched = TRUE,
width = 2, # adjust internal spacing (see above)
dev.width = 7, # device width (see ?plotPedList())
dev.height = 3, # device height (see ?plotPedList())
fmar = 0.02, # adjust frame margin (see ?plotPedList())
cex = 1.5, # larger symbols and label font (see ?par())
cex.main = 1.3 # larger frame titles (see ?par())
)
# }
Run the code above in your browser using DataLab