*! version 1.0 15Jul2022

Title

searchr -- Search the similar packages in R software within Stata Command Window.

Syntax

searchr keywords [, options]

Options

NSimilar
Specify the top N observations are reported. Default value is 15.

matchit
Use the matchit routine to implement the text similar analysis. If not specified, the default approach is based on the same word count between
keywords and text.

Description

searchr make it easy for users to search the related functions in R within Stata command window.
The source data comes from R CRAN. Specify, this function is
designed to find the related packages based on similar text patterns. Two approaches are introduced.
The first one is based on the matchit routine. All the default options in this function are used. The second
one is based on the the same word count between keywords and text.

Examples

Find the related functions based on matchit

. searchr quantile regression,matchit

Based on the number of words

. searchr quantile regression

Specify the observations are listed

. searchr quantile regression,nsimilar(5)

. searchr spatial panel,nsimilar(20) matchit

Author

Wanhai, You* (游万海) School of Economics and Management, Fuzhou University, Fuzhou, China.

E-mail: ywhfzu@163.com.

Jianping, Li (李建平) School of Economics and Management, University of Chinese Academy of Sciences, Beijing, China.

E-mail: ljp@ucas.ac.cn.

Yujun, Lian (连玉君) Lingnan College, Sun Yat-Sen University, China.

E-mail: arlionn@163.com.

Blog: https://www.lianxh.cn.

For problems and suggestions

Any problems or suggestions are welcome, please Email to
ywhfzu@163.com.

Note

Please install matchit command when one use this command first time.To download it, type the following command

or click on it: ssc install matchit, all replace.

Also see

Online: help for matchit, reclink.