rpp_read: Read function

Description Usage Arguments Value Author(s)

View source: R/Rpp_read.r

Description

This function reads data from the selected file, and assign it to a dataframe

Usage

1
rpp_read(filename, header = TRUE, selected = c(2, 3, 4, 0, 0, 1, 0, 0), ...)

Arguments

filename

the name of the file to read

header

TRUE if colnames are present FALSE if colnames are not present

selected

the user should input the number of the columns that represent strain-smoothed (gamma), strain rate-smoothed (gamma dot), stress smoothed (tau recon), Elast-Stress (FTtau_e), Visco-Stress (FTtau_v), raw time (time), raw stress (tau), raw strain (gamma) i.e. selected=c(2, 3, 4, 0, 0, 1, 0, 0) means that the second column of your data is the strain rate smoothed, the third column is the stress smoothed, the stress smoothed is the fourth column in the original data, and finally that we do not have data for the raw stress and raw strain

...

parameters of read.csv

Value

a dataframe with all the columns assigned

Author(s)

Giorgio Luciano and Serena Berretta, Simon Rogers Group for Soft Matter (matlab version)


oreo documentation built on March 11, 2021, 1:07 a.m.

Related to rpp_read in oreo...