6767# ' res_yamaji <- slip_inversion(x, method = "yamaji")
6868# '
6969# ' res_hansen <- slip_inversion(x, method = "hansen", type = "6d")
70+ # '
71+ # ' res_wissi <- slip_inversion(x, method = 'wissi')
7072# '
7173# ' stereoplot(guides = FALSE)
7274# ' fault_plot(x, col = "gray80")
7375# ' points(res_michael$principal_axes, pch = 1:3, col = 2)
7476# ' points(res_angelier$principal_axes, pch = 1:3, col = 3)
7577# ' points(res_yamaji$principal_axes, pch = 1:3, col = 4)
7678# ' points(res_hansen$principal_axes, pch = 1:3, col = 5)
79+ # ' points(res_wissi$principal_axes, pch = 1:3, col = 6)
7780# ' legend("topleft",
7881# ' pch = 1,
79- # ' legend = c("Michael (1984)", "Angelier (1990)", "Yamaji & Sato (2006)", "Hansen (2013)"),
80- # ' col = 2:5
82+ # ' legend = c("Michael (1984)", "Angelier (1990)", "Yamaji & Sato (2006)", "Hansen (2013)", "WISSI" ),
83+ # ' col = 2:6
8184# ' )
8285# ' legend("bottomright",
8386# ' pch = 1:3,
8487# ' legend = c("S1", "S2", "S3")
8588# ' )
8689# ' }))
87- slip_inversion <- function (x , method = c(" michael" , " angelier" , " hansen" , " yamaji" ), ... ) {
90+ slip_inversion <- function (x , method = c(" michael" , " angelier" , " hansen" , " yamaji" , " wissi " ), ... ) {
8891 method <- match.arg(method )
8992
9093 if (method == " angelier" ) {
@@ -93,6 +96,8 @@ slip_inversion <- function(x, method = c("michael", "angelier", "hansen", "yamaj
9396 slip_inversion_michael(x , ... )
9497 } else if (method == " yamaji" ) {
9598 slip_inversion_yamaji_sato(x , ... )
99+ } else if (method == " wissi" ){
100+ slip_inversion_wissi(x , ... )
96101 } else {
97102 slip_inversion_hansen(x , ... )
98103 }
0 commit comments