Description Usage Arguments Examples
View source: R/quickreadfiles.R
quickreadfiles builts a data frame from several txt files. It
assumes that in each file, the first row has the names of the variables.
| 1 | quickreadfiles(path = getwd(), extension = "txt", ...)
 | 
| path | Path of the file (default is the working directory). | 
| extension | Specify whether the file extension is 'txt' or 'csv'. | 
| ... | arguments of the form name_var = c('value1', 'value2',..). A new column with variable name name_var is addes to the data frame. | 
| 1 2 3 4 5 6 | # download the 3 files in
# https://github.com/danilinares/quickpsy/tree/master/inst/extdata/example1
# and add them to your working directory
# dat <- quickreadfiles(subject = c('aa', 'bb', 'cc'), session = c('1', '2'))
# fit <- quickpsy(dat, phase, resp, grouping=.(subject), lapses = T, guess = T)
# plotcurves(fit)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.