Learn R Programming

RAMpath (version 0.5.1)

summary.RAMpath: Calculate the total and individual contribution for each path and bridge

Description

Calculate the total and individual contribution for each path and bridge

Usage

# S3 method for RAMpath
summary(object, from, to, type = c("path", "bridge"), se=FALSE, ...)

Arguments

object

Output from the ramPathBridge function

from

from variable: starting from this variable

to

to variable: end on this variable

type

path: to calculate the effect; bridge: to calculate the bridges

se

Whether to generate se for direct and indirect effects.

...

Other options