R/sirt_rename_list_names.R

Defines functions sirt_rename_list_names

## File Name: sirt_rename_list_names.R
## File Version: 0.03


sirt_rename_list_names <- function(x, old, new)
{
    ind1 <- which( names(x)==old )
    if (length(ind1)>0){
        names(x)[ind1] <- new
    }
    return(x)
}

Try the sirt package in your browser

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

sirt documentation built on Aug. 11, 2023, 5:07 p.m.