diff --git a/articles/MDR.html b/articles/MDR.html index 18bde32e..bc5fa4d1 100644 --- a/articles/MDR.html +++ b/articles/MDR.html @@ -402,18 +402,18 @@ names or codes, this would have worked exactly the same way:

 head(my_TB_data)
 #>   rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-#> 1          R         I            R          S            R            S
-#> 2          R         S            I          S            S            S
-#> 3          R         R            I          R            I            R
-#> 4          I         S            I          R            R            I
-#> 5          R         I            R          I            R            S
-#> 6          I         I            I          I            S            I
+#> 1          S         S            I          R            R            S
+#> 2          S         R            I          S            S            I
+#> 3          S         S            I          S            R            R
+#> 4          I         S            R          I            S            I
+#> 5          I         I            R          S            R            I
+#> 6          R         S            I          I            R            I
 #>   kanamycin
-#> 1         S
+#> 1         I
 #> 2         I
 #> 3         S
-#> 4         I
-#> 5         S
+#> 4         S
+#> 5         R
 #> 6         I

We can now add the interpretation of MDR-TB to our data set. You can use:

@@ -455,40 +455,40 @@ Unique: 5

1 Mono-resistant -3216 -64.32% -3216 -64.32% +3189 +63.78% +3189 +63.78% 2 Negative -988 -19.76% -4204 -84.08% +986 +19.72% +4175 +83.50% 3 Multi-drug-resistant -464 -9.28% -4668 -93.36% +454 +9.08% +4629 +92.58% 4 Poly-resistant -235 -4.70% -4903 -98.06% +255 +5.10% +4884 +97.68% 5 Extensively drug-resistant -97 -1.94% +116 +2.32% 5000 100.00% diff --git a/articles/PCA.html b/articles/PCA.html index e5507906..eaf5c25a 100644 --- a/articles/PCA.html +++ b/articles/PCA.html @@ -307,7 +307,7 @@ function:

#> [1] "Caryophanales" "Enterobacterales" "Lactobacillales" "Pseudomonadales" #> Importance of components: #> PC1 PC2 PC3 PC4 PC5 PC6 PC7 -#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 1.232e-16 +#> Standard deviation 2.1539 1.6807 0.6138 0.33879 0.20808 0.03140 9.577e-17 #> Proportion of Variance 0.5799 0.3531 0.0471 0.01435 0.00541 0.00012 0.000e+00 #> Cumulative Proportion 0.5799 0.9330 0.9801 0.99446 0.99988 1.00000 1.000e+00
#> Groups (n=4, named as 'order'):
diff --git a/pkgdown.yml b/pkgdown.yml
index ddc27c36..b76dee0a 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -11,7 +11,7 @@ articles:
   other_pkg: other_pkg.html
   resistance_predict: resistance_predict.html
   welcome_to_AMR: welcome_to_AMR.html
-last_built: 2023-07-13T08:47Z
+last_built: 2023-07-13T11:49Z
 urls:
   reference: https://msberends.github.io/AMR/reference
   article: https://msberends.github.io/AMR/articles
diff --git a/reference/age.html b/reference/age.html
index 8141c60c..397ca206 100644
--- a/reference/age.html
+++ b/reference/age.html
@@ -222,16 +222,16 @@
 
 df
 #>    birth_date age age_exact age_at_y2k
-#> 1  1974-07-20  48  48.98082         25
-#> 2  1985-06-21  38  38.06027         14
-#> 3  1985-06-04  38  38.10685         14
-#> 4  1942-11-20  80  80.64384         57
-#> 5  1958-04-27  65  65.21096         41
-#> 6  1942-12-21  80  80.55890         57
-#> 7  1960-02-09  63  63.42192         39
-#> 8  1968-07-27  54  54.96164         31
-#> 9  1980-11-10  42  42.67123         19
-#> 10 1953-04-23  70  70.22192         46
+#> 1  1974-05-02  49  49.19726         25
+#> 2  1970-02-15  53  53.40548         29
+#> 3  1936-11-01  86  86.69589         63
+#> 4  1986-10-02  36  36.77808         13
+#> 5  1948-11-26  74  74.62740         51
+#> 6  1982-06-24  41  41.05205         17
+#> 7  1996-04-04  27  27.27397          3
+#> 8  1935-03-13  88  88.33425         64
+#> 9  1939-06-15  84  84.07671         60
+#> 10 1935-01-02  88  88.52603         64