R/year.files.R

Defines functions year.files

Documented in year.files

#' File numbers for a given year
#' 
#' This function identifies the numbers of the PubMed files containing entries
#' dated to a given year.
#' @param year Numeric; a year.
#' @export

year.files <- function(year)
{
    data(file.rans)
    which(file.rans$begin <= year & file.rans$end >= year)
}
corybrunson/pubmed.network documentation built on May 13, 2019, 10:52 p.m.