get_distributions_single {PressPurt} | R Documentation |
Get PDF distribution
Description
This function retrieves the PDF (Probability Distribution Function) object from the scipy method <scipy.stats._distn_infrastructure.rv_frozen>.
Usage
get_distributions_single(
matrix_entry,
distribution_list,
asymp_stab,
points = 250
)
Arguments
matrix_entry |
Position in the matrix. Example: c(1, 1) |
distribution_list |
list of scipy distributions |
asymp_stab |
asymptotic stability interval |
points |
the number of values in x range |
Value
Probability Distribution Function from scipy
Examples
## Not run:
k <- 1
l <- 1
np <- reticulate::import("numpy")
distributions <- reticulate::py_load_object("distributions.pkl")
single_dist <- get_distributions_single(matrix_entry = c(k,l),
distribution_list = distributions,
asymp_stab = c(combined$asymptotic_stability_start[k,l],
combined$asymptotic_stability_end[k,l]))
## End(Not run)
[Package PressPurt version 1.0.2 Index]