Package: pdqr 0.3.1.9000

pdqr: Work with Custom Distribution Functions

Create, transform, and summarize custom random variables with distribution functions (analogues of 'p*()', 'd*()', 'q*()', and 'r*()' functions from base R). Two types of distributions are supported: "discrete" (random variable has finite number of output values) and "continuous" (infinite number of values in the form of continuous random variable). Functions for distribution transformations and summaries are available. Implemented approaches often emphasize approximate and numerical solutions: all distributions assume finite support and finite values of density function; some methods implemented with simulation techniques.

Authors:Evgeni Chasnovski [aut, cre]

pdqr_0.3.1.9000.tar.gz
pdqr_0.3.1.9000.zip(r-4.5)pdqr_0.3.1.9000.zip(r-4.4)pdqr_0.3.1.9000.zip(r-4.3)
pdqr_0.3.1.9000.tgz(r-4.4-any)pdqr_0.3.1.9000.tgz(r-4.3-any)
pdqr_0.3.1.9000.tar.gz(r-4.5-noble)pdqr_0.3.1.9000.tar.gz(r-4.4-noble)
pdqr_0.3.1.9000.tgz(r-4.4-emscripten)pdqr_0.3.1.9000.tgz(r-4.3-emscripten)
pdqr.pdf |pdqr.html
pdqr/json (API)
NEWS

# Install 'pdqr' in R:
install.packages('pdqr', repos = c('https://echasnovski.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/echasnovski/pdqr/issues

On CRAN:

6.40 score 16 stars 1 packages 26 scripts 253 downloads 65 exports 0 dependencies

Last updated 2 years agofrom:d824057e29. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:as_das_pas_qas_renpointform_estimateform_mixform_recenterform_regridform_respreadform_resupportform_retypeform_smoothform_tailsform_transform_trans_selfmeta_allmeta_classmeta_supportmeta_typemeta_x_tblnew_dnew_pnew_qnew_rpdqr_approx_errorregion_distanceregion_drawregion_heightregion_is_inregion_probregion_widthroc_linesroc_plotsumm_centersumm_classmetricsumm_classmetric_dfsumm_distancesumm_entropysumm_entropy2summ_hdrsumm_intervalsumm_iqrsumm_kurtosissumm_madsumm_meansumm_mediansumm_midrangesumm_modesumm_momentsumm_ordersumm_prob_falsesumm_prob_truesumm_pvalsumm_quantilesumm_rangesumm_ranksumm_rocsumm_rocaucsumm_sdsumm_separationsumm_skewnesssumm_sortsumm_spreadsumm_var

Dependencies:

Convert pdqr-functions with as_*()

Rendered frompdqr-02-convert.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2019-07-11
Started: 2019-06-25

Create pdqr-functions with new_*()

Rendered frompdqr-01-create.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2019-07-02
Started: 2019-06-25

Summarize pdqr-functions with summ_*()

Rendered frompdqr-04-summarize.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2019-07-22
Started: 2019-06-30

Transform pdqr-functions with form_*() and base operations

Rendered frompdqr-03-transform.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2019-10-13
Started: 2019-06-30

Readme and manuals

Help Manual

Help pageTopics
pdqr: Work with Custom Distribution Functionspdqr-package pdqr
Convert to pdqr-functionas-pdqr as_d as_d.default as_d.pdqr as_p as_p.default as_p.pdqr as_q as_q.default as_q.pdqr as_r as_r.default as_r.pdqr
Represent pdqr-function as a set of pointsenpoint
Create a pdqr-function for distribution of sample estimateform_estimate
Form mixture of distributionsform_mix
Change center and spread of distributionform_recenter form_respread
Change grid of pdqr-functionform_regrid
Change support of pdqr-functionform_resupport
Change type of pdqr-functionform_retype
Smooth pdqr-functionform_smooth
Transform tails of distributionform_tails
Transform pdqr-functionform_trans form_trans_self
Get metadata of pdqr-functionmeta meta_all meta_class meta_support meta_type meta_x_tbl
Pdqr methods for S3 group generic functionsMath.pdqr methods-group-generic Ops.pdqr Summary.pdqr
Pdqr methods for base plotting functionslines.d lines.p lines.q methods-plot plot.d plot.p plot.q plot.r
Pdqr methods for print functionmethods-print print.d print.p print.q print.r
Create new pdqr-functionnew-pdqr new_d new_p new_q new_r
Diagnose pdqr approximationpdqr_approx_error
Work with regionsregion region_distance region_draw region_height region_is_in region_prob region_width
Summarize distribution with centersumm_center summ_mean summ_median summ_midrange summ_mode
Summarize pair of distributions with classification metricsumm_classmetric summ_classmetric_df
Summarize pair of distributions with distancesumm_distance
Summarize distribution with entropysumm_entropy summ_entropy2
Summarize distribution with Highest Density Regionsumm_hdr
Summarize distribution with intervalsumm_interval
Summarize distribution with momentsumm_kurtosis summ_moment summ_skewness
Summarize list of pdqr-functions with ordersumm_order summ_rank summ_sort
Summarize boolean distribution with probabilitysumm_prob_false summ_prob_true
Summarize distribution with p-valuesumm_pval
Summarize distribution with quantilessumm_quantile
Summarize distributions with ROC curveroc_lines roc_plot summ_roc summ_rocauc
Summarize distributions with separation thresholdsumm_separation
Summarize distribution with spreadsumm_iqr summ_mad summ_range summ_sd summ_spread summ_var