deepRun: Runs the DEEP Transformation, DEEP Split and Hierarchical...

Description Usage Arguments Examples

View source: R/deepStart.R

Description

deepRun Runs the DEEP Transformation, DEEP Split and Hierarchical Bayes algorithm. Takes in a filepath for the Qualtrics/Limesurvey output along with a working directory and the DEEP type specification. If no working directory is provided, it defaults to the current directory. If no file_path is provided it will request that one be given using the GUI. If your survey contains multiple DEEP outputs, e.g. two DEEP Risk surveys or a DEEP Risk and a DEEP Time survey, you must specify the name/identifier of the question used in Qualtrics/LimeSurvey.Otherwise an error will be produced (Note: If you have a single DEEP survey, you may still specify the question identifier in this parameter).

Usage

1
2
deepRun(DEEPtype, WD = getwd(), file_path = NULL, filter_by,
  collaborate = FALSE)

Arguments

DEEPtype

character string that specifies whether output is DEEP "risk" or "time".

WD

allows the user to specify a working directory. Uses the current directory if no directory is specified.

file_path

contains the file path to the Limesurvey/Qualtrics output.

filter_by

specifies the name/identifier of the question you want to isolate for analysis. This parameter is used to analyze a dataset that contains multiple DEEP outputs but is optional when analyzing a single DEEP output.

collaborate

allows you to specify if you want to contribute anonymously to the DEEP database. Defaulted to TRUE.

Examples

1
2
3
4
5
6
7
## Not run: 
deepRun(DEEPtype = "risk", file_path = "/MyDocuments/myQualtricsOutput.csv")
deepRun(DEEPtype = "risk", WD = "/MyCurrentProject/DEEP")
deepRun(DEEPtype = "risk", WD = "/MyCurrentProject/DEEP", file_path = "/MyDocuments/myQualtricsOutput.csv")
deepRun(DEEPtype = "time", WD = "/MyCurrentProject/DEEP", file_path = "/MyDocuments/TimeSurveyOutput.csv", filter_by = "myDEEPtimeQuestion")

## End(Not run)

ColumbiaCDS/DEEPAnalysis documentation built on June 2, 2017, 2:26 a.m.