Package: cpr 0.4.0.9000

cpr: Control Polygon Reduction

Implementation of the Control Polygon Reduction and Control Net Reduction methods for finding parsimonious B-spline regression models.

Authors:Peter DeWitt [aut, cre], Samantha MaWhinney [ths], Nichole Carlson [ths]

cpr_0.4.0.9000.tar.gz
cpr_0.4.0.9000.zip(r-4.5)cpr_0.4.0.9000.zip(r-4.4)cpr_0.4.0.9000.zip(r-4.3)
cpr_0.4.0.9000.tgz(r-4.4-x86_64)cpr_0.4.0.9000.tgz(r-4.4-arm64)cpr_0.4.0.9000.tgz(r-4.3-x86_64)cpr_0.4.0.9000.tgz(r-4.3-arm64)
cpr_0.4.0.9000.tar.gz(r-4.5-noble)cpr_0.4.0.9000.tar.gz(r-4.4-noble)
cpr_0.4.0.9000.tgz(r-4.4-emscripten)cpr_0.4.0.9000.tgz(r-4.3-emscripten)
cpr.pdf |cpr.html
cpr/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/dewittpe/cpr/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • spdg - Simulated Pregnanediol glucuronide (PDG) Data
  • us_covid_cases - United States Laboratory Confirmed COVID-19 Cases

On CRAN:

6.91 score 2 stars 1 packages 68 scripts 217 downloads 2 mentions 29 exports 60 dependencies

Last updated 4 months agofrom:4e57525eda. Checks:OK: 8 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-win-x86_64ERROROct 27 2024
R-4.5-linux-x86_64OKOct 27 2024
R-4.4-win-x86_64OKOct 27 2024
R-4.4-mac-x86_64OKOct 27 2024
R-4.4-mac-aarch64OKOct 27 2024
R-4.3-win-x86_64OKOct 27 2024
R-4.3-mac-x86_64OKOct 27 2024
R-4.3-mac-aarch64OKOct 27 2024

Exports:bsplineDbsplinesbtensorbuild_tensorcncnrcoarsen_ordinatecpcp_diffcp_valuecprd_order_statisticget_splineget_surfacehat_ordinateinfluence_ofinfluence_of_iknotsinfluence_weightsinsert_a_knotinsertion_matrixmatrix_rankp_order_statisticrefine_ordinatesign_changestrimmed_quantileupdate_bsplinesupdate_btensorwiegh_iknotswiggle

Dependencies:base64encbootbslibcachemclicolorspacedigestevaluatefansifarverfastmapfontawesomefsggplot2gluegtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelme4magrittrMASSMatrixmemoisemgcvmimeminqamisc3dmunsellnlmenloptrpillarpkgconfigplot3DR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenrglrlangrmarkdownsassscalestibbletinytexutf8vctrsviridisLitewithrxfunyaml

Control Polygon Reduction

Rendered fromcpr.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2024-02-15
Started: 2023-12-15

Tensor Products of B-Splines, Control Nets, and Control Net Reduction

Rendered fromcnr.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2023-12-31
Started: 2023-12-15

Readme and manuals

Help Manual

Help pageTopics
B-spline DerivativesbsplineD
B-Splinesbsplines
btensorbtensor
Build Tensorbuild_tensor
Control Netscn cn.cpr_bt cn.formula
Control Net Reductioncnr
Extract Regression Coefficients for B-Splines and Tensor Products of B-splinescoef_vcov
Control Polygonscp cp.cpr_bs cp.formula
Vertical Difference between two Control Polygonscp_diff
Control Polygon Valuecp_value
Control Polygon Reductioncpr
Defunct Functionscoarsen_ordinate cpr-defunct hat_ordinate influence_of influence_weights insertion_matrix refine_ordinate wiegh_iknots
Generate Control Polygon Formula and Datagenerate_cp_formula_data
Get the Control Polygon and the Spline Functionget_spline
Get Surfaceget_surface
Internal Knots or Degrees of Freedomiknots_or_df
Determine the influence of the internal knots of a control polygoninfluence_of_iknots influence_of_iknots.cpr_cn
Insert a Knot into a Control Polygoninsert_a_knot
Knot Expressionsknot_expr
Determine the (quasi) Log Likelihood for a regression object.loglikelihood
Rank of a Matrixmatrix_rank
New Knots for CPs and CNs in CPR and CNRnewknots
Distribution of Order Statisticsd_order_statistic order_statistics p_order_statistic
Plot B-spline Basisplot.cpr_bs
Plotting Control Netsplot.cpr_cn
Control Net Reduction Plotsplot.cpr_cnr
Plotting Control Polygonsplot.cpr_cp
Control Polygon Reduction Plotsplot.cpr_cpr
Plotting Summaries of Control Polygon Reductionsplot.cpr_summary_cpr_cpr
Model Predictionpredict.cpr_cp
Print bsplinesprint.cpr_bs
Sign Changessign_changes
Simulated Pregnanediol glucuronide (PDG) Dataspdg
Summary of Control Netsummary.cpr_cn
Summarize Control Net Reduction Objectssummary.cpr_cnr
Summarize a Control Polygon Objectsummary.cpr_cp
Summarize a Control Polygon Reduction Objectsummary.cpr_cpr
Trimmed Quantilestrimmed_quantile
Update bsplines or btensor callsupdate_bsplines update_btensor
United States Laboratory Confirmed COVID-19 Casesus_covid_cases
Wiggliness of a Spline functionwiggle