vec2df: Turn vector into data.frame

View source: R/vec2df.r

vec2dfR Documentation

Turn vector into data.frame

Description

Turns a vector into a data frame with n repeated instances of the vector.

Usage

vec2df(x, n = 1)

Arguments

x

vector

n

number of times the vector needs to be repeated

Value

data.frame.

Note

This function is used by nm.covplot

Examples

vec2df(x = 1:10,n = 1)
vec2df(x = 1:10,n = 2)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.