# For this example, I have modified the example.results that come with actel,
# so they resemble a residency output
# \dontshow{
example.residency.results <- c(example.results, additional.residency.results)
example.residency.results$rsp.info$analysis.type <- "residency"
# }
plotResidency(example.residency.results, 'R64K-4451')
# Because plotResidency returns a ggplot object, you can store
# it and edit it manually, e.g.:
library(ggplot2)
p <- plotResidency(example.residency.results, 'R64K-4451')
p <- p + xlab("changed the x axis label a posteriori")
p
# You can also save the plot using ggsave!
Run the code above in your browser using DataLab