profile_pars_per_node: Generate parameter list for distributed profile calculation

View source: R/toolsSeverin.R

profile_pars_per_nodeR Documentation

Generate parameter list for distributed profile calculation

Description

Generates list of WhichPar entries to facillitate distribute profile calculation.

Usage

profile_pars_per_node(parameters, fits_per_node)

Arguments

parameters

list of parameters

fits_per_node

numerical, number of parameters that will be send to each node.

Details

Lists to split the parameters for which the profiles are calculated on the different nodes.

Value

List with two arrays: from contains the number of the starting parameter, while to stores the respective upper end of the parameter list per node.

Examples

## Not run: 
parameter_list <- setNames(1:10, letters[1:10])
var_list <- profile_pars_per_node(parameter_list, 4)

## End(Not run)


dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.