diff --git a/docs/404.html b/docs/404.html index a271a88..8c80bbf 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@
diff --git a/docs/CODE_OF_CONDUCT.html b/docs/CODE_OF_CONDUCT.html index 7005b09..fd27571 100644 --- a/docs/CODE_OF_CONDUCT.html +++ b/docs/CODE_OF_CONDUCT.html @@ -17,7 +17,7 @@ diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index a5e282d..a1b1450 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -17,7 +17,7 @@ diff --git a/docs/LICENSE.html b/docs/LICENSE.html index 4f3c1a6..026975f 100644 --- a/docs/LICENSE.html +++ b/docs/LICENSE.html @@ -17,7 +17,7 @@ diff --git a/docs/authors.html b/docs/authors.html index 3caa924..7e26b88 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ @@ -70,13 +70,13 @@Devisscher S, Pallemaerts L, Delva S, Cartuyvels E, Bollen M (2024). fistools: Tools & data used for wildlife management & invasive species in Flanders. -R package version 1.2.10. +R package version 1.2.13.
@Manual{, title = {fistools: Tools & data used for wildlife management & invasive species in Flanders}, author = {Sander Devisscher and Lynn Pallemaerts and Soria Delva and Emma Cartuyvels and Martijn Bollen}, year = {2024}, - note = {R package version 1.2.10}, + note = {R package version 1.2.13}, }diff --git a/docs/index.html b/docs/index.html index c56faed..894be7d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 5298252..d4b830f 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,4 +2,4 @@ pandoc: 2.9.2.1 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2024-10-10T13:48Z +last_built: 2024-11-13T15:22Z diff --git a/docs/reference/CRS_extracter.html b/docs/reference/CRS_extracter.html index 473bed0..c9cfc91 100644 --- a/docs/reference/CRS_extracter.html +++ b/docs/reference/CRS_extracter.html @@ -19,7 +19,7 @@ diff --git a/docs/reference/UUID_List.html b/docs/reference/UUID_List.html index 468268f..4d3061c 100644 --- a/docs/reference/UUID_List.html +++ b/docs/reference/UUID_List.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/apply_grtsdb.html b/docs/reference/apply_grtsdb.html index 2e9cfca..533a626 100644 --- a/docs/reference/apply_grtsdb.html +++ b/docs/reference/apply_grtsdb.html @@ -18,7 +18,7 @@ diff --git a/docs/reference/boswachterijen.html b/docs/reference/boswachterijen.html index 01477ec..eb01a85 100644 --- a/docs/reference/boswachterijen.html +++ b/docs/reference/boswachterijen.html @@ -18,7 +18,7 @@ diff --git a/docs/reference/calculate_polygon_centroid.html b/docs/reference/calculate_polygon_centroid.html index 0dfe8a8..3148238 100644 --- a/docs/reference/calculate_polygon_centroid.html +++ b/docs/reference/calculate_polygon_centroid.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/check.html b/docs/reference/check.html index 0a430d6..1a8cea0 100644 --- a/docs/reference/check.html +++ b/docs/reference/check.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/cleanup_sqlite.html b/docs/reference/cleanup_sqlite.html index 254c575..9c0e208 100644 --- a/docs/reference/cleanup_sqlite.html +++ b/docs/reference/cleanup_sqlite.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/col_content_compare.html b/docs/reference/col_content_compare.html index fe77da1..55f56d3 100644 --- a/docs/reference/col_content_compare.html +++ b/docs/reference/col_content_compare.html @@ -19,7 +19,7 @@ diff --git a/docs/reference/colcompare.html b/docs/reference/colcompare.html index f106ee0..2015d3c 100644 --- a/docs/reference/colcompare.html +++ b/docs/reference/colcompare.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/collect_osm_features.html b/docs/reference/collect_osm_features.html index 89f66b3..631b464 100644 --- a/docs/reference/collect_osm_features.html +++ b/docs/reference/collect_osm_features.html @@ -23,7 +23,7 @@ diff --git a/docs/reference/download_dep_media.html b/docs/reference/download_dep_media.html index a17140e..4980453 100644 --- a/docs/reference/download_dep_media.html +++ b/docs/reference/download_dep_media.html @@ -18,7 +18,7 @@ diff --git a/docs/reference/download_gdrive_if_missing.html b/docs/reference/download_gdrive_if_missing.html index 10585db..4709ab0 100644 --- a/docs/reference/download_gdrive_if_missing.html +++ b/docs/reference/download_gdrive_if_missing.html @@ -19,7 +19,7 @@ diff --git a/docs/reference/download_seq_media.html b/docs/reference/download_seq_media.html index 4ed9c0c..14037d3 100644 --- a/docs/reference/download_seq_media.html +++ b/docs/reference/download_seq_media.html @@ -18,7 +18,7 @@ diff --git a/docs/reference/drg_example.html b/docs/reference/drg_example.html index 9ca6625..64114a4 100644 --- a/docs/reference/drg_example.html +++ b/docs/reference/drg_example.html @@ -17,7 +17,7 @@ diff --git a/docs/reference/index.html b/docs/reference/index.html index 97fabd2..23a94b6 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ @@ -85,6 +85,22 @@
download_seq_media()
Download sequence media
Potential conflict index (first variant)
Potential conflict index (second variant)
Distance matrix for qd_pci2
qd_pci1.Rd
questionnaire data analysis: potential conflict index
+qd_pci1(x, scale_values = c(-2:2), x_is_table = FALSE)
PCI-score (potential for conflict index)
+if (FALSE) { # \dontrun{
+ set.seed(201)
+ Xv <- sample(-2:2, size = 100, replace = TRUE) #random responses
+ Yv <- rep(c(-2,2),50) #most extreme difference
+ Zv <- rep(2,100) #minimal difference
+ #qd_pci1
+ qd_pci1(Xv, scale_values = -2:2, x_is_table = FALSE) # 0.4
+ qd_pci1(Yv, scale_values = -2:2, x_is_table = FALSE) # 1
+ qd_pci1(Zv, scale_values = -2:2, x_is_table = FALSE) # 0
+} # }
+
+
qd_pci2.Rd
Calculates the potential conflict index based on the distance matrix between responses.
+qd_pci2(
+ x,
+ scale_values = c(-2:2),
+ x_is_table = FALSE,
+ m = 1,
+ p = 1,
+ print = FALSE
+)
PCI-score (potential for conflict index)
+if (FALSE) { # \dontrun{
+set.seed(201)
+Xv <- sample(-2:2, size = 100, replace = TRUE) #random responses
+Yv <- rep(c(-2,2),50) #most extreme difference
+Zv <- rep(2,100) #minimal difference
+#qd_pci2 - using D2 (m=1)
+qd_pci2(Xv, scale_values = -2:2, x_is_table = FALSE, m = 1, p = 1) # 0.37
+qd_pci2(Yv, scale_values = -2:2, x_is_table = FALSE, m = 1, p = 1) # 1
+qd_pci2(Zv, scale_values = -2:2, x_is_table = FALSE, m = 1, p = 1) # 0
+qd_pci2(Xv, scale_values = -2:2, x_is_table = FALSE, m = 2, p = 1) # 0.31
+qd_pci2(Yv, scale_values = -2:2, x_is_table = FALSE, m = 2, p = 1) # 1
+qd_pci2(Zv, scale_values = -2:2, x_is_table = FALSE, m = 2, p = 1) # 0
+} # }
+
qd_pci2_D.Rd
Calculates distance matrix for the function qd_pci2
+qd_pci2_D(x, m = 1, p = 1)
single value containing pci index
+$$Dp_{x,y} = (|r_{x} - r_{y}|) - (m-1))^{p}$$ +$$if sign(r_{x} \neq r_{y}) \\ +else d_{x,y} = 0$$ +Dp_x,y = (|r_x - r_y| - (m-1))^p
+