get_estimator_list: Converts list of strings indicating node types to list of...

Description Usage Arguments Value

View source: R/get_estimator_list.R

Description

This is an internal function used to make a list of estimators for each type of node.

Usage

1
2
3
4
5
6
7
8
9
get_estimator_list(
  node_connection_types,
  start_node_estimator,
  middle_node_estimator,
  end_node_estimator,
  parallelise = FALSE,
  n_cores = NULL,
  n_LVs = NULL
)

Arguments

node_connection_types

A list of strings indicating the type of the node

start_node_estimator

A handle to a function which takes a node as an argument and is able to estimate a Start type node

middle_node_estimator

A handle to a function which takes a node as an argument and is able to estimate a Middle type node

end_node_estimator

A handle to a function which takes a node as an argument and is able to estimate an End type node

Value

A list of function handles to an estimator function which takes a node as an argument.


GeertPostma/pathmodelr documentation built on Oct. 5, 2021, 4:17 p.m.