get_S_from_timeperiod_list: Calculate multiple estimates of Social Differentiation...

Description Usage Arguments

View source: R/calculate-sna-pars.R

Description

For details, see 'get_S_from_matrix()' and 'get_S_from_array()'. Difference is that this functions takes a list of all time periods, each with observed (in a matrix) and permuted data (in a 3d-array).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_S_from_timeperiod_list(
  dyadic_obs_list,
  perm.start.layer = 1,
  perm.by.layer = NULL,
  initial.values,
  lower,
  upper,
  use.parallel = FALSE,
  cores = 1
)

Arguments

dyadic_obs_list

List created by 'get_dyadic_observations()'

perm.start.layer

Integer specifying the first permutation to be included

perm.by.layer

Integer specifying the the permutations to be inlcluded ('by' argument in the 'seq()' function)

initial.values

Initial values for the parameters to be optimized over ('par' argument in 'optim“)

lower

lower bounds for parameters

upper

upper bounds for parameters

use.parallel

TRUE/FALSE

cores

Number of cores to be used for parallization


urskalbitzer/daginR documentation built on Jan. 21, 2020, 1:26 a.m.