View source: R/calculate-sna-pars.R
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).
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
)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.