Other packages > Find by keyword >

nnspat  

Nearest Neighbor Methods for Spatial Patterns
View on CRAN: Click here


Download and install nnspat package within the R console
Install from CRAN:
install.packages("nnspat")

Install from Github:
library("remotes")
install_github("cran/nnspat")

Install by package version:
library("remotes")
install_version("nnspat", "0.1.2")



Attach the package and use:
library("nnspat")
Maintained by
Elvan Ceyhan
[Scholar Profile | Author Map]
First Published: 2021-05-10
Latest Update: 2023-12-19
Description:
Contains the functions for testing the spatial patterns (of segregation, spatial symmetry, association, disease clustering, species correspondence, and reflexivity) based on nearest neighbor relations, especially using contingency tables such as nearest neighbor contingency tables (Ceyhan (2010) and Ceyhan (2017) and references therein), nearest neighbor symmetry contingency tables (Ceyhan (2014) ), species correspondence contingency tables and reflexivity contingency tables (Ceyhan (2018) for two (or higher) dimensional data. The package also contains functions for generating patterns of segregation, association, uniformity in a multi-class setting (Ceyhan (2014) ), and various non-random labeling patterns for disease clustering in two dimensional cases (Ceyhan (2014) ), and for visualization of all these patterns for the two dimensional data. The tests are usually (asymptotic) normal z-tests or chi-square tests.
How to cite:
Elvan Ceyhan (2021). nnspat: Nearest Neighbor Methods for Spatial Patterns. R package version 0.1.2, https://cran.r-project.org/web/packages/nnspat. Accessed 17 Apr. 2025.
Previous versions and publish date:
0.1.0 (2021-05-10 09:30), 0.1.1 (2022-08-30 09:00)
Other packages that cited nnspat R package
View nnspat citation profile
Other R packages that nnspat depends, imports, suggests or enhances
Complete documentation for nnspat
Functions, R codes and Examples using the nnspat R package
Some associated functions: EV.Nii . EV.Tcomb . EV.Tkinv . EV.nnct . EV.rct . EV.tct . EV.tctI . NN . NNdist . NNdist2cl . NNsub . Ninv . Nt.def . Ntkl . QRval . Qsym.ct . Qsym.test . SkewTk . Tcomb . Tval . Wmat . Xsq.ceTk . Xsq.nnsym . ZTcomb . ZTrun . ZceTk . Znnsym . Znnsym2cl . aij.theta . asycovTkTl . asyvarTk . bvnorm.pdf . ceTk . ceTkinv . ceTrun . cellsTij . cov.nnct . cov.nnsym . cov.seg.coeff . cov.tct . covNrow2col . covTcomb . covTkTl . dist.std.data . dist2full . dot-onAttach . dot-onLoad . euc.dist . exact.nnct . exact.pval1s . exact.pval2s . funs.auxcovtct . funs.base.class.spec . funs.cell.spec.ss . funs.class.spec . funs.covNii . funs.covtct . funs.kNNdist . funs.kNNdist2cl . funs.overall.nnct . funs.overall.seg . funs.overall.tct . funs.pijPij . funs.scct . funs.seg.coeff . funs.varNii . funs.vartct . funsAijmat . funsC_MI_II . funsExpTk . funsExpTrun . funsNNclass.spec . funsN_I_II . funsOnevsRest . funsPseg.ss . funsQandR . funsRowColSums . funsVarTk . funsVarTrun . funsW345values . funsXsq.nnref . funsXsq.nnsym.dx . funsXsq.nnsym.ss . funsXsq.seg.coeff . funsXsq.spec.cor . funsZTkinv . funsZcell.nnct . funsZcell.nnct.pval . funsZcell.spec . funsZcell.tct . funsZdir.nnct . funsZdir.nnct.ss . funsZmixed.nonref . funsZnnref . funsZnnself . funsZnnself.sum . funsZnnsym.dx . funsZnnsym.ss . funsZnnsym2cl.dx . funsZnnsym2cl.ss . funsZseg.coeff . funsZsegind . funsZself.ref . ind.nnsym . ind.seg.coeff . ipd.mat.euc . ipd.mat . kNN . mat2vec . matrix.sqrt . nnct.boot.dis . nnct . nnct.sub . nnspat-package . pairwise.lab . pick.min.max . pk . plot.Clusters . plot.SpatPatterns . print.Chisqtest . print.Clusters . print.SpatPatterns . print.cellhtest . print.classhtest . print.refhtest . print.summary.Clusters . print.summary.SpatPatterns . prob.nnct . rassoc . rassocC . rassocG . rassocI . rassocU . rct . rdiag.clust . rhor.clust . rnonRL . rnonRLI . rnonRLII . rnonRLIII . rnonRLIV . rrot.clust . rseg . rself.ref . runif.circ . seg.ind . sharedNNmc . summary.Clusters . summary.SpatPatterns . swamptrees . tct . tocher.cor . var.nnct . var.nnsym . var.seg.coeff . var.tct . varPseg.coeff . varTkinv.sim . 
Some associated R codes: ClassFunctions.R . NNCTFunctions.R . StartupFunctions.R . data.R . nnspat.R .  Full nnspat package functions and examples
Downloads during the last 30 days
03/1803/2003/2103/2203/2303/2403/2503/2703/2803/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/16Downloads for nnspat02468101214161820TrendBars

Today's Hot Picks in Authors and Packages

anyLib  
Install and Load Any Package from CRAN, Bioconductor or Github
Made to make your life simpler with packages, by installing and loading a list of packages, whether ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
SmarterPoland  
Tools for Accessing Various Datasets Developed by the Foundation SmarterPoland.pl
Tools for accessing and processing datasets prepared by the Foundation SmarterPoland.pl. Among all: ...
Download / Learn more Package Citations See dependency  
ARCensReg  
Fitting Univariate Censored Linear Regression Model with Autoregressive Errors
It fits a univariate left, right, or interval censored linear regression model with autoregressive ...
Download / Learn more Package Citations See dependency  
ZetaSuite  
Analyze High-Dimensional High-Throughput Dataset and Quality Control Single-Cell RNA-Seq
The advent of genomic technologies has enabled the generation of two-dimensional or even multi-dimen ...
Download / Learn more Package Citations See dependency  
puls  
Partitioning Using Local Subregions
A method of clustering functional data using subregion information of the curves. It is intended to ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA