Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vars2df

Make data.frame from a list of vars


Description

Make data.frame from a list of vars

Usage

vars2df(vars, mpos = c(0.5, 0.9), df = NULL)

Arguments

vars

A list

mpos

A numeric vector of length 2

df

A data.frame

Examples

vars=list(name=list(c("tenure","age")),site=list(c("a","b")))
vars2df(vars)
vars=list(name=list(c("milk","hair")),matrix=list(c(1,0,0,0,0,0,1,0,0,0)),pos=5)
vars2df(vars)

processR

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.