Package: ks 1.14.2

ks: Kernel Smoothing

Kernel smoothers for univariate and multivariate data, with comprehensive visualisation and bandwidth selection capabilities, including for densities, density derivatives, cumulative distributions, clustering, classification, density ridges, significant modal regions, and two-sample hypothesis tests. Chacon & Duong (2018) <doi:10.1201/9780429485572>.

Authors:Tarn Duong [aut, cre], Matt Wand [ctb], Jose Chacon [ctb], Artur Gramacki [ctb]

ks_1.14.2.tar.gz
ks_1.14.2.zip(r-4.5)ks_1.14.2.zip(r-4.4)ks_1.14.2.zip(r-4.3)
ks_1.14.2.tgz(r-4.4-x86_64)ks_1.14.2.tgz(r-4.4-arm64)ks_1.14.2.tgz(r-4.3-x86_64)ks_1.14.2.tgz(r-4.3-arm64)
ks_1.14.2.tar.gz(r-4.5-noble)ks_1.14.2.tar.gz(r-4.4-noble)
ks_1.14.2.tgz(r-4.4-emscripten)ks_1.14.2.tgz(r-4.3-emscripten)
ks.pdf |ks.html
ks/json (API)

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

Peer review:

Datasets:
  • air - Air quality measurements in an underground train station
  • cardio - Foetal cardiotocograms
  • grevillea - Geographical locations of grevillea plants
  • hsct - Haematopoietic stem cell transplant
  • plate - Geographical locations of earthquakes and tectonic plates
  • platesf - Geographical locations of earthquakes and tectonic plates
  • quake - Geographical locations of earthquakes and tectonic plates
  • quakesf - Geographical locations of earthquakes and tectonic plates
  • tempb - Daily temperature
  • unicef - Unicef child mortality - life expectancy data
  • worldbank - Development indicators from the World Bank Group

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

105 exports 6 stars 8.72 score 12 dependencies 252 dependents 45 mentions 736 scripts 24.2k downloads

Last updated 8 months agofrom:0a2107d0d1. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-win-x86_64OKSep 12 2024
R-4.5-linux-x86_64OKSep 12 2024
R-4.4-win-x86_64OKSep 12 2024
R-4.4-mac-x86_64OKSep 12 2024
R-4.4-mac-aarch64OKSep 12 2024
R-4.3-win-x86_64OKSep 12 2024
R-4.3-mac-x86_64OKSep 12 2024
R-4.3-mac-aarch64OKSep 12 2024

Exports:amise.mixtbinningcomparecompare.kda.cvcompare.kda.diag.cvcontourLevelscontourProbscontourSizesdckdedkdedmvnorm.mixtdmvt.mixtdnorm.mixtdwsuppgetRowhamise.mixtHamise.mixtHamise.mixt.diagHbcvHbcv.diaghistdehkdaHkdaHkda.diaghlscvHlscvHlscv.diaghmise.mixtHmise.mixtHmise.mixt.diaghnmHnmHnm.diaghnsHnsHns.diaghns.kcdeHns.kcdehpiHpiHpi.diagHpi.diag.kcdeHpi.diag.kfehpi.kcdeHpi.kcdehpi.kfeHpi.kfehscvHscvHscv.diaghucvHucvHucv.diaginvvecinvvechise.mixtkcdekcopulakcopula.dekcurvkdakdcdekddekdde.truncatekdekde.balloonkde.boundarykde.local.testkde.spkde.testkde.truncatekdrkdr.segmentkfekfskmskms.partkrocksuppLpdiffmatrix.sqrtmise.mixtmurmvnorm.mixt.modemvnorm.mixt.partnurnurspkdeplotmixtpre.scalepre.sphereqkdeQrreg.ucvrkdermvnorm.mixtrmvt.mixtrnorm.mixtrowKpowSdrSdrvsymconv.1dsymconv.ndvecvech

Dependencies:FNNkernlabKernSmoothlatticeMatrixmclustmgcvmulticoolmvtnormnlmepracmaRcpp

kde

Rendered fromkde.Rnwusingutils::Sweaveon Sep 12 2024.

Last update: 2022-11-24
Started: 2013-07-05

Readme and manuals

Help Manual

Help pageTopics
ksks-package ks
Air quality measurements in an underground train stationair
Linear binning for multivariate databinning
Foetal cardiotocogramscardio
Contour functionscontourLevels contourLevels.kda contourLevels.kdde contourLevels.kde contourProbs contourSizes
Geographical locations of grevillea plantsgrevillea
Biased cross-validation (BCV) bandwidth matrix selector for bivariate dataHbcv Hbcv.diag
Histogram density estimatehistde predict.histde
Least-squares cross-validation (LSCV) bandwidth matrix selector for multivariate dataHlscv hlscv Hlscv.diag Hucv hucv Hucv.diag
Normal mixture bandwidthHnm hnm Hnm.diag
Normal scale bandwidthHns hns Hns.diag Hns.kcde hns.kcde
Plug-in bandwidth selectorHpi hpi Hpi.diag
Haematopoietic stem cell transplanthsct
Smoothed cross-validation (SCV) bandwidth selectorHscv hscv Hscv.diag
Squared error bandwidth matrix selectors for normal mixture densitiesamise.mixt Hamise.mixt hamise.mixt Hamise.mixt.diag Hmise.mixt hmise.mixt Hmise.mixt.diag ise.mixt mise.mixt
Kernel cumulative distribution/survival function estimateHpi.diag.kcde Hpi.kcde hpi.kcde kcde predict.kcde
Kernel copula (density) estimatekcopula kcopula.de
Kernel discriminant analysis (kernel classification)compare compare.kda.cv compare.kda.diag.cv Hkda hkda Hkda.diag kda predict.kda
Deconvolution kernel density derivative estimatedckde kdcde
Kernel density derivative estimatekcurv kdde predict.kdde
Kernel density estimatekde predict.kde
Kernel density estimate for bounded datakde.boundary
Kernel density based local two-sample comparison testkde.local.test
Kernel density based global two-sample comparison testkde.test
Truncated kernel density derivative estimatekdde.truncate kde.truncate
Kernel density ridge estimationkdr kdr.segment plot.kdr
Kernel functional estimateHpi.diag.kfe Hpi.kfe hpi.kfe kfe
Kernel feature significancekfs
Kernel mean shift clusteringkms plot.kms summary.kms
Kernel receiver operating characteristic (ROC) curvekroc predict.kroc summary.kroc
Kernel support estimateksupp plot.ksupp
Normal and t-mixture distributionsdmvnorm.mixt dmvt.mixt dnorm.mixt mvnorm.mixt.mode rmvnorm.mixt rmvt.mixt rnorm.mixt
Plot for histogram density estimateplot.histde
Plot for kernel cumulative distribution estimateplot.kcde
Plot for kernel discriminant analysisplot.kda
Plot for kernel density derivative estimateplot.kdde
Plot for kernel density estimateplot.kde
Plot for kernel local significant difference regionsplot.kde.loctest
Partition plot for kernel density clusteringkms.part mvnorm.mixt.part plot.kde.part
Plot for kernel feature significanceplot.kfs
Plot for kernel receiver operating characteristic curve (ROC) estimateplot.kroc
Plot for 1- to 3-dimensional normal and t-mixture density functionsplotmixt
Pre-sphering and pre-scalingpre.scale pre.sphere
Geographical locations of earthquakes and tectonic platesplate platesf quake quakesf
Derived quantities from kernel density estimatesdkde pkde qkde rkde
Daily temperaturetempb
Unicef child mortality - life expectancy dataunicef
Vector and vector half operatorsinvvec invvech vec vech
Variable kernel density estimate.kde.balloon kde.sp
Development indicators from the World Bank Groupworldbank