R/pedrenum.R

pedrenum <-
function (df) {
# pedrenum()
    df.r <- df
    Id.r <- match(df$Id, df$Id)
    SId.r <- match(df$SId, df$Id)
    DId.r <- match(df$DId, df$Id)
    df.r$Id <- Id.r
    df.r$SId <- SId.r
    df.r$DId <- DId.r
    return(df.r)
}

Try the dmm package in your browser

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

dmm documentation built on June 22, 2024, 10:38 a.m.