build_data: build_data

Description Usage Arguments Details Value Examples

View source: R/encapsulated_data_build.R

Description

This function takes a raw csv file and formats it in a generic fashion so that the processing and fitting steps are able to operate over it.

Usage

1
build_data(basedata, ID, Dyad, obs, mod, Dist, time_name)

Arguments

time_name

Details

Refer to the vignette for questions about how data should look before going into build_data

Value

this returns a dataframe that has "id","dyad","dial","diastolic","sexm","time" as column names. There are additional Dist1 and Dist0 that help to add or drop information in the fitting steps much later.

Examples

1
trimmed_data  <- build_data(basedat_physio,"id","dyad","dial","diastolic","sexm","time")

DevinBayly/Remofiles documentation built on May 6, 2019, 2:12 p.m.