moderator2df: Make data.frame from a list of moderator

View source: R/drawConcept.R

moderator2dfR Documentation

Make data.frame from a list of moderator

Description

Make data.frame from a list of moderator

Usage

moderator2df(moderator, mpos = c(0.5, 0.9), vars = NULL, df = NULL)

Arguments

moderator

A list

mpos

A numeric vector of length 2

vars

A list

df

A data.frame

Examples

moderator=list(name=c("milk","hair"),matrix=list(c(1,1,0,1,0,0,0,0,0,0)
   ,c(0,0,0,0,0,0,0,1,0,0)))
moderator2df(moderator)

processR documentation built on Jan. 23, 2023, 5:44 p.m.