简体   繁体   中英

Accessing a dataframe inside a package in R

The dataframe CHAIN is defined in the package "mi" in R.

I would like to access it without having to open/attach.

Is it possible to reference it from outside ? What would be its fully qualified name ?

data(CHAIN, package = "mi")

will load it in for you without needing to load 'mi'. Now you can just refer to it as CHAIN.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM