R/utils.R

Defines functions substrRight delete.na

delete.na <- function(df, n=0) {
  df[rowSums(is.na(df)) <= n,]
}

substrRight <- function(x, n){
  substr(x, nchar(x)-n+1, nchar(x))
}

Try the insiderTrades package in your browser

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

insiderTrades documentation built on Oct. 5, 2021, 1:06 a.m.