Learn R Programming

jmvconnect (version 2.5.7)

read: Reads a data set from jamovi

Description

Reads a data set from jamovi

Usage

read(id, columns)

Value

the data set as a data frame

Arguments

id

the number, or the title of the data set to read

columns

(optional) only reads the columns named

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab