stringr

stringr

文字列を操作するパッケージ

正規表現

パターンを含む要素の抽出

str_detect(string, pattern, negate = FALSE)

文字列ベクトル string を渡して、 pattern と一致する文字列に対して TRUE を返す。negate = FALSE なら反転した結果を返す。

str_starts(string, pattern, negate = FALSE)

str_ends(string, pattern, negate = FALSE)

文字列 string の先頭または末端に pattern と一致する文字列があるなら TRUE を返す

No worries.

I did score calibration, and value of calibrated score is halved in the areas where footprints overlap.

So I could estimate the number of AIS vessels that should be detected by VIIRS in the Squid Fishing Area by summing up all the calibrated scores in the area.

Corrently I am trying to compare it with the number of VIIRS-AIS matching result.