R/p2string.R

Defines functions `p2string`

`p2string` <-
function(x) {
################################################################
# convert pattern given as vector into string
# e.g. 1,2,3,4 -> "1 2 3 4"
################################################################
  z<-paste(x,collapse=" ")
  z
}

Try the prefmod package in your browser

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

prefmod documentation built on June 11, 2022, 3 p.m.