R/rename_by_idx.R

#' @keywords internal
#'
rename_by_idx = function (data, idx, into){
  names(data)[idx] = into
  return(data)
}

Try the SchoolDataIT package in your browser

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

SchoolDataIT documentation built on June 8, 2025, 12:41 p.m.