File: load.first.R

package info (click to toggle)
matchit 2.4-13-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,040 kB
  • ctags: 51
  • sloc: makefile: 24; csh: 13
file content (10 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
.onAttach <- function(...) {
  mylib <- dirname(system.file(package = "MatchIt"))
  ver <- packageDescription("MatchIt", lib = mylib)$Version
  builddate <- packageDescription("MatchIt", lib = mylib)$Date
  cat(paste("## \n##  MatchIt (Version ", ver, ", built: ", builddate, ")\n", sep = "")) 
  cat("##  Please refer to http://gking.harvard.edu/matchit for full documentation \n",
      "##  or help.matchit() for help with commands supported by MatchIt.\n##\n",
      sep="")
  options(digits = 4)
}