Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavlushko committed Jul 18, 2015
1 parent 780345d commit b853fac
Show file tree
Hide file tree
Showing 57 changed files with 6 additions and 258 deletions.
Binary file not shown.
Binary file not shown.
Binary file added Documentation/Model Based Cluster Analysis.pdf
Binary file not shown.
Binary file removed Documentation/Semiparametric regression.pdf
Binary file not shown.
Binary file added ModelBasedClustering.aprx
Binary file not shown.
Binary file added ModelBasedClustering.mxd
Binary file not shown.
Binary file added R Sample Tools.tbx
Binary file not shown.
3 changes: 0 additions & 3 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ R Example Tools

<[email protected]>

Dimistry Pavlushko, Mark Janikas, Konstantin Krivoruchko, Shaun Walbridge and Steve Kopp, Esri Inc


Sample ArcMap MXD and ArcGIS Pro Project

Add .tbx files
Expand Down
Binary file removed RToolbox.tbx
Binary file not shown.
Binary file modified data.gdb/a00000001.TablesByName.atx
Binary file not shown.
Binary file modified data.gdb/a00000001.freelist
Binary file not shown.
Binary file modified data.gdb/a00000001.gdbtable
Binary file not shown.
Binary file modified data.gdb/a00000001.gdbtablx
Binary file not shown.
Binary file modified data.gdb/a00000004.CatItemsByPhysicalName.atx
Binary file not shown.
Binary file modified data.gdb/a00000004.CatItemsByType.atx
Binary file not shown.
Binary file modified data.gdb/a00000004.FDO_UUID.atx
Binary file not shown.
Binary file modified data.gdb/a00000004.freelist
Binary file not shown.
Binary file modified data.gdb/a00000004.gdbtable
Binary file not shown.
Binary file modified data.gdb/a00000004.gdbtablx
Binary file not shown.
Binary file modified data.gdb/a00000004.spx
Binary file not shown.
Binary file modified data.gdb/a00000006.CatRelsByDestinationID.atx
Binary file not shown.
Binary file modified data.gdb/a00000006.CatRelsByOriginID.atx
Binary file not shown.
Binary file modified data.gdb/a00000006.CatRelsByType.atx
Binary file not shown.
Binary file modified data.gdb/a00000006.FDO_UUID.atx
Binary file not shown.
Binary file modified data.gdb/a00000006.freelist
Binary file not shown.
Binary file modified data.gdb/a00000006.gdbtable
Binary file not shown.
Binary file modified data.gdb/a00000006.gdbtablx
Binary file not shown.
Binary file removed data.gdb/a0000000b.gdbtable
Binary file not shown.
Binary file removed data.gdb/a0000000b.gdbtablx
Binary file not shown.
Binary file removed data.gdb/a0000000b.spx
Binary file not shown.
Binary file removed data.gdb/a0000000c.gdbindexes
Binary file not shown.
Binary file removed data.gdb/a0000000c.gdbtable
Binary file not shown.
Binary file removed data.gdb/a0000000c.spx
Binary file not shown.
Binary file removed data.gdb/a0000000d.freelist
Binary file not shown.
Binary file removed data.gdb/a0000000d.gdbindexes
Binary file not shown.
Binary file removed data.gdb/a0000000d.gdbtable
Binary file not shown.
Binary file removed data.gdb/a0000000d.gdbtablx
Binary file not shown.
Binary file removed data.gdb/a0000000d.spx
Binary file not shown.
Binary file removed data.gdb/a0000000e.gdbindexes
Binary file not shown.
Binary file removed data.gdb/a0000000e.gdbtable
Binary file not shown.
Binary file removed data.gdb/a0000000e.gdbtablx
Binary file not shown.
Binary file removed data.gdb/a0000000e.spx
Binary file not shown.
Binary file removed data.gdb/a00000010.freelist
Binary file not shown.
Binary file removed data.gdb/a00000010.gdbindexes
Binary file not shown.
Binary file removed data.gdb/a00000010.gdbtable
Binary file not shown.
Binary file removed data.gdb/a00000010.gdbtablx
Binary file not shown.
Binary file removed data.gdb/a00000010.spx
Binary file not shown.
File renamed without changes.
Binary file added data.gdb/a00000011.gdbtable
Binary file not shown.
Binary file not shown.
Binary file added data.gdb/a00000011.spx
Binary file not shown.
Binary file modified data.gdb/timestamps
Binary file not shown.
Binary file removed gambia.mxd
Binary file not shown.
160 changes: 0 additions & 160 deletions scripts/brcm.R

This file was deleted.

11 changes: 6 additions & 5 deletions scripts/clustering.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# case study using mclust package
tool_exec <- function(in_params, out_prams)
{
#message(getOption("repos"))
if (!requireNamespace("sp", quietly = TRUE))
install.packages("sp")
if (!requireNamespace("mclust", quietly = TRUE))
Expand All @@ -10,22 +9,24 @@ tool_exec <- function(in_params, out_prams)
require(sp)

source_dataset = in_params[[1]]
nclust = NULL #in_params[[2]]
#nclust = in_params[[2]]
out_table = out_prams[[1]]
out_ellipses = out_prams[[2]]
out_dens = out_prams[[3]]
out_sim = out_prams[[4]]

### read data
arc.progress_label("Loading Dataset")
data <- arc.select(arc.open(source_dataset))
d <- arc.open(source_dataset)
# read only OID field
data <- arc.select(d, names(d@fields[d@fields == "OID"]))
data_shp <- arc.shape(data)

data.xy <- cbind(data_shp$x, data_shp$y) # or data.frame(x=data_shp$x, y=data_shp$y)

#########
arc.progress_label("Bayesian Information Criterion for Model-Based Clustering...")
patternBIC <- mclustBIC(data.xy, G = nclust)
patternBIC <- mclustBIC(data.xy) # G = nclust)

patternModel <- summary(patternBIC, data.xy)
print(patternModel)

Expand Down
90 changes: 0 additions & 90 deletions scripts/semi_par_regression.R

This file was deleted.

Binary file added symbology/DensityPoints_Symbology.lyr
Binary file not shown.

0 comments on commit b853fac

Please sign in to comment.