FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stringdist/examples/seq_qgrams.R at master · markvanderloo/stringdist · GitHub
markvanderloo
stringdist
Repository navigation
Code
Issues
24
(24)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
stringdist
/
examples
/
seq_qgrams.R
Copy path
More file actions
More file actions
Latest commit
History
History
History
6 lines (4 loc) · 164 Bytes
Breadcrumbs
stringdist
/
examples
/
seq_qgrams.R
Copy path
File metadata and controls
6 lines (4 loc) · 164 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
#
compare the 2-gram overlap between sequences 1:3 and 2:4
seq_qgrams(
x
=
1
:
3
,
y
=
2
:
4
,
q
=
2
)
#
behavior when NA's are present.
seq_qgrams(
1
:
3
,c(
1
,
NA
,
2
),
NA_integer_
)
Back
|
FazBrowse Home
|
New Git URL