get_data: get_data

Description Usage Value Examples

View source: R/fct_get_data.R

Description

A function that captures the objects that work with stargazer, such as 'lm' objects. It is necessary since the user has to choose the objects he/she wants to put in the table. Function coming from [this answer](https://community.rstudio.com/t/how-can-i-access-the-users-global-environment/62688/2)

Usage

1

Value

A list containing the objects in Global Environment that stargazer can deal with.

Examples

1
2
3
4
5
# make a random regression and create a random dataframe
regression <- lm(mpg ~ drat + hp + disp, data = datasets::mtcars)
test <- mtcars
# store in a list only the objects whose class is supported by {stargazer}
## Not run: get_data()

etiennebacher/mobilier documentation built on Nov. 15, 2020, 2:21 p.m.