Implementation of the 'PROCESS' Macro


[Up] [Top]

Documentation for package ‘processR’ version 0.2.7

Help Pages

A B C D E F G I J L M N P Q R S T U V Z

-- A --

addArrows Add covariates to arrows
addCatVars Add dummy vars to data.frame
addCovarEquation Add covariates to equation
addLabels add name to labels
addLatentNodes Add latent nodes information to nodes
addLine Add line feed to string
addNodes Add covariates to nodes
addPlus Add '+' mark to string
addTripleInteraction Add triple interaction
adjustNodes Adjust y position of nodes
adjustPosNodes Adjust position of nodes
adjustxpos Adjust x position
adjustypos Adjust y position
appendLabels Append labels from vars, moderator and covar

-- B --

bda.mediation.test The Sobel mediation test

-- C --

caskets CASKETS dataset
catMediation Make Mediation Equation with one categorical variable
centerPrint Print a string in center
changeLabelName Change Label Names
checkEquationVars Check dependent variables in equations
checkEqVars Check dependent variables in a equation
compareMC Compare effects of mean-centering and standardization of model
compareMCTable Make table comparing effects of mean-centering and standardization of model
compareVIF Compare correlation, tolerance, vif of mean-centered and standardized models
compareVIFTable Make table comparing correlation, tolerance, vif of mean-centered and standardized models
conceptDiagram Make conceptDiagram
conceptDiagram2 Make concept Diagram
conditionalEffectPlot Make conditional effect plot
condPlot Draw conditional effect plot
condPlot2 Draw conditional plot for moderated moderation
condPlotCat Make conditional effect plot with data including a categorical variable
condPlotCat2 Draw direct and indirect effect plot
convertPvalue convert vector of p values to string
corPlot Draw correlation plot
corTable Make a table with correlation
corTable2 Make a table with correlation
countM Count the group names start with "M"
covar2df Make data.frame with covariates

-- D --

deleteSingleNumber remove coefficient number of equation
densityPlot Draw Smoothed Kernel density plot
disaster Disaster dataset
discriminantValidityTable make discriminant Validity Table
discriminantValidityTable2 make discriminant Validity Table in flextable format
divideEquation divide equation
drawArrows Draw arrows
drawCatModel Draw statistical diagram including categorical X
drawConcept Draw Concept Diagram
drawCovar Draw covariate
drawModel Draw statistical diagram with an object of class lavaan or a list of class lm
drawStatDiagram draw StatDiagram
drawtext Draw node

-- E --

education Data Set for education and income
eq2df Convert equation to data.frame
eq2fit Make a list of objects of class lm
eq2var make data.frame with equation
equations2var make data.frame with equation
est2Arrows Make arrows from estimatesTable
est2Nodes Make nodes from estimatesTable
estimatesTable convert parameterEstimates to data.frame
estimatesTable2 convert parameterEstimates to flextable
estress ESTRESS: Economic stress dataset
extractIMM extract index of moderated mediation from string
extractLatentVar Extract Latent Variables Data
extractLatentVarName Extract Latent Variables Names
extractModerator Extract name of moderator from string
extractNumber extract number from string
extractRange Extract range from a data.frame
extractX Extract group by string

-- F --

findName convert name with list
findNames convert a vector of names with list
fit2alpha Make a Cronbach alpha table
fit2df2 Make a data.frame for conceptDiagram
fit2table Make estimatesTable with a list of lm object
fit2vif Summarizing correlation, tolerance and variance inflation factors of a model
fun2eq Make equation from function

-- G --

get2ndIndirect get2ndIndirect effect
getArrows Get arrows data with no
getAspectRatio Get aspect information of a ggplot
getBootData Get bootstrapped values
getCatSlopeDf Make data summarizing regression slopes and intercepts
getCoef Get coef summary table
getEq2p get slope and intercept with 2 points
getHelmert Get Helmert Coding of column j of group with length of unique values (count-1)
getInfo Get information of a model
getMeanSd get mean and sd
getNodes Get nodes data with model no
getRatioTable Get coding table for dummy variables
getRepValues Get representative values
getYhat Get predicted value from object of class "lm"
getYhat1 Get Yhat value from simple mediation
ggCor Draw a heatmap of correlation test
glbwarm Global Warming dataset

-- I --

interactStr make interaction equation

-- J --

jnPlot Draw johnson_neyman plot

-- L --

label2name Change label into name
labels2table Make table with labels

-- M --

makeAnovaDf Make data summarizing ANOVA results
makeCatEquation Make equation for sem and lm for categorical variables
makeCatEquation2 Make equation for sem and lm for multiple X or multiple Y
makeCatEquation3 Make equation for sem and lm for multiple X or multiple Y
makeCatModel Make simple regression model with one categorical variable
makeCEDf Make data summarizing conditional effects
makeCoefLabel Change regression coefficient name
makeEquation Make mediation equations 3
makeEquation1 Make mediation equations 1
makeEquation2 Make mediation equations 2
makeEquation3 Make mediation equations 3
makeIndirectEquation Make indirect equation
makeIndirectEquationCat Make indirect equation for categorical variables
makeIndirectEquationCat2 Make indirect equation for categorical variables
makeLabel Make Labels
makePPTx make powerpoint presentation
matrix2df Make data.frame with matrix
matrix2no Calculate the dimension of matrix
matrixPlot Draw matrix plot
meanCentering Perform mean centering
meanSummary Make mean summary table
meanSummaryTable Make mean summary table
mediationBK Perform mediation analysis by Baron and Kenny Method
medSummary Summarize the mediation effects
medSummaryTable Make a table summarizing the mediation effects
medSummaryTable1 Make a table summarizing the mediation effects
medSummaryTable2 Make a table summarizing the mediation effects
modelFitGuideTable Model fit guide table
modelFitGuideTable2 Model fit guide table
modelFitTable Extract model fit measures to data.frame
modelFitTable2 Extract model fit measures to flextable
modelsSummary Make Summary for Model Coefficients
modelsSummary2 Make Summary for Model Coefficients
modelsSummary2Table Make Summary Table 2 for Model Coefficients
modelsSummaryTable Make Summary Table for Model Coefficients
moderator2df Make data.frame from a list of moderator
moderator2pos get position from moderator
modmedEquation Make moderated mediation equation
modmedSummary Summarize the moderated mediation
modmedSummary2Table make table summarizing moderated mediation effect
modmedSummaryTable Make a table summarizing the moderated mediation
modSummary Make moderation effect summary
modSummary2 Make table summarizing moderation effect
modSummary2Table Make flextable summarizing moderation effect
modSummary3 Summary of moderation effect
modSummary3Table Make flextable summarizing moderation effect
modSummaryTable Make flextable summarizing moderation effect
moreModels more models data
multipleMediation Make Mediation Equation with multiple X or multiple Y
myarrow Draw arrow
myarrow2 Draw arrow with adjustment of a position
mycat append something to file
mycor Perform correlation and linear regression for a data.frame
myflatten flatten string
myformat Format a numeric vector
mylm Correlation and Fitting linear model function for function "mycor"

-- N --

nodes Node Data Set for drawing statistical diagram of process macro model
numberSubscript Make number subscript

-- P --

p2asterisk Convert p values to asterisk
p2chr Convert p values to character
parallelMatrix Make bmatrix for parallel multiple mediator model
parrows Arrow Data Set for drawing statistical diagram of process macro model
pastecolon paste two character with colon
pformat Make p value format
plot.mediationBK S3 method for class mediationBK
plotCoef Make Slopes Plot
pmacro Data Set for process macro model
pmacroModel draw conceptual diagram of process macro model
pmi PMI: Presumed Media Influence dataset
print.compareVIF S3 method of class compareVIF
print.meanSummary S3 method of class meanSummary
print.mediationBK S3 method for class mediationBK
print.medSummary S3 method print for an object of class medSummary
print.medSummary2 S3 method print for an object of class medSummary2
print.modelSummary S3 method print for object modelSummary
print.modelSummary2 S3 method print for object modelSummary2
print.modmedSummary S3 method print for an object of class modmedSummary
print.modmedSummary2 S3 method print for an object of class modmedSummary2
print.modSummary S3 method of class modSummary
productEq Make products of equations
protest Protest dataset

-- Q --

qqPlot Draw quantile-quantile plot

-- R --

r2diff Calculate difference of R2 and adjusted R2
r2pptx Make powerpoint presentation from R file
regEquation Make regression equation
reliabilityTable make reliability Table
reliabilityTable2 make reliability Table in flextable format
removeParentheses Remove parentheses
rightPrint Print a string in right alignment

-- S --

seekGroup Find group with variable name
seekGroup1 Find group with variable name
seekGroup2 Find group with variable name
seekNameVars select names of variables from list var
seekVar Seek var form covariates
separateEq Separate equation
setPositionNodes Set Position of nodes
showModels Run process macro shiny app
standardize Standardize variable
standardizeDf standardize data
statisticalDiagram Draw statistical diagram
str2vector Make character vector from string
strGrouping Make Grouping equation
str_detect2 Extension of str_detect to list
str_setdiff Remove matched pattern from string
sumEquation summation of equations
summary.mediationBK S3 method for class mediationBK

-- T --

teachers Teacher Efficacy Data
teams Teams data set
theme_clean2 Clean theme for ggCor
treatInteraction unfold interaction
treatModerator Treat moderator name with mean value
tripleEquation Make equation with triple interaction
tripleInteraction Make triple interaction equation

-- U --

unfold Unfold equations

-- V --

vars2df Make data.frame from a list of vars
vif Variance Inflation Factors Calculates variance-inflation and generalized variance-inflation factors for linear, generalized linear, and other models.

-- Z --

ztable.compareMC S3 method for class compareMC
ztable.modelSummary S3 method for class 'modelSummary'