R/previousabs_fn.R

Defines functions previousabs_fn

Documented in previousabs_fn

previousabs_fn = function(yrs_to_exclude, theme,parentabs){
check = parentabs@Journal
indices=NULL;for (i in 1:length(yrs_to_exclude)){formatyr = paste(". ",yrs_to_exclude[i], sep ="")
check2 = regexpr(formatyr, check, fixed=T)
check3 = which(check2 != -1)
indices = c(indices, check3)}
new_abs = subsetabs(parentabs,-indices)
new_abs_theme = searchabsL(new_abs, include=theme)
return(new_abs_theme)}

Try the pubmed.mineR package in your browser

Any scripts or data that you put into this service are public.

pubmed.mineR documentation built on Nov. 26, 2021, 5:11 p.m.