robiuniqueid.Rd 1.02 KB
 Eric Coissac committed Mar 19, 2020 1 2 3 4 5 6 % Generated by roxygen2: do not edit by hand % Please edit documentation in R/robiuniqueid.R \name{robiuniqueid} \alias{robiuniqueid} \title{Build a \code{robiuniqueid} instance} \usage{  Eric Coissac committed Mar 21, 2020 7 robiuniqueid(x, make_unique = TRUE, sep = "_", verbose = is_robi_verbose())  Eric Coissac committed Mar 19, 2020 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 } \arguments{ \item{x}{an object coercible to a \code{charactere}} \item{make_unique}{if true dupplicated ids are appended with a number to make them unique.} \item{sep}{The separator used to paste the numbers to the dupplicated ids.} \item{verbose}{if TRUE warnings are emitted if the constructor takes some decision because of missing values and estimates default values these missing data.} } \value{ a \code{robiuniqueid} instance } \description{ a \code{robiuniqueid} is character vector that ensure that each value is unique. It is used for storing sample or MOTU ids in \code{\link[ROBITools2]{robisample}} and \code{\link[ROBITools2]{robimotus}} instance } \examples{ robiuniqueid(c("A", "A", "B", "C")) } \author{ Eric Coissac }