cvt_list2df: Convert list to data frame

View source: R/cvt_list2df.R

cvt_list2dfR Documentation

Convert list to data frame

Description

convert list to a data frame with the following structure: variable, level, type, value

Usage

cvt_list2df(a)

Arguments

a

a list returned by read_yml or any list

Value

data frame

Author(s)

Hanming Tu

Examples

## Not run: 
  a <- "https://github.com/phuse-org/phuse-scripts/raw/master"
  b <- "development/R/scripts"
  c <- "Draw_Dist2_R.yml"
  f1 <- paste(a,b,c, sep = '/')
  r1 <- read_yml(f1)
  r2 <- cvt_list2df(r1)

## End(Not run)

TuCai/phuse documentation built on Sept. 2, 2022, 5:17 a.m.