take: take Function

Description Usage Arguments Details Value Examples

View source: R/take.R

Description

Import the dataset file, attribute the class of the dataset, and then score it.

Usage

1
take(path, type, multiple = FALSE)

Arguments

path

A string for the path of dataset file.

type

A variable indicating the data stage, default to be raw data.

multiple

A Boolean variable indicating whether this questionnaire has been used in multiple sessions.

Details

The function is used to read and score dataset.

Value

An object with both raw and scored data.

Examples

1
2
3
4
 ## Not run: 
     BBSIQ <- take("BBSIQ.csv","BBSIQ",TRUE)
   
## End(Not run)

Diheng/MTScorer documentation built on May 21, 2020, 11:01 p.m.