setVecRightOrder: setVecRightOrder

View source: R/setVecRightOrder.R

setVecRightOrderR Documentation

setVecRightOrder

Description

Sorting vector with respect to names of an input (case insensitive)

Usage

setVecRightOrder(vec, orderedNames)

Arguments

vec

A vector with values to sort by letting names(vec) have same order as orderedNames

orderedNames

A vector with names to sort vec vector with

Details

Helpfunction to set vector to same locus order as output from prepareC (order based on evidence profiles) Used in functions contLikMLE, contLikINT, calcRMPfst

Value

Vector with same order as specified in orderedNames

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on April 13, 2025, 3:18 a.m.