Description Usage Arguments Value Examples
Creates word vectors from parsed sourec code objects. If
type=="vars"
then the names of all.vars(.)
,
type=="funs"
then the namas of setdiff(all.names(.), all.vars(.)
, and
type=="names"
then the names of all.names(.)
are used.
1 2 3 4 5 6 7 |
prgs |
prgs sourcecode object |
type |
character: either |
ignore.case |
logical: If TRUE, case is ignored for computing (default: |
minlen |
integer: minimal name length to be considered (default: |
... |
unused |
a
1 2 3 4 5 | # example files are taken from https://CRAN.R-project.org/package=SimilaR
files <- list.files(system.file("examples", package="rscc"), "*.R$", full.names=TRUE)
prgs <- sourcecode(files, basename=TRUE)
docs <- documents(prgs)
docs
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.