View source: R/main.R View source: R/main.R
read | R Documentation |
Reads a data set from jamovi
read(id, columns)
id |
the number, or the title of the data set to read |
columns |
(optional) only reads the columns named |
the data set as a data frame
## Not run:
jmvconnect::what()
# Available Data Sets
# -------------------------------------
# Title Rows Cols
# -------------------------------------
# 1 iris 150 5
# 2 Tooth Growth 60 3
# -------------------------------------
data <- jmvconnect::read('Tooth Growth')
# or
data <- jmvconnect::read(2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.