make_ShinyCGNM_observationData: make_ShinyCGNM_observationData

View source: R/shinyCGNM_related.R

make_ShinyCGNM_observationDataR Documentation

make_ShinyCGNM_observationData

Description

A helper function to write out the csv file that can be read in as the observation file in shinyCGNM

Usage

make_ShinyCGNM_observationData(
  ID,
  time,
  Observation_expression,
  Observed_value,
  ResidualError_model,
  Memo = NA,
  fileName = NA
)

Arguments

ID

(required input) string or vector

time

(required input) number or numeric vector

Observation_expression

(required input) string or string vector

Observed_value

(required input) number or numeric vector

ResidualError_model

(required input) 0 or 1 0: additive residual model, 1: relative residual model

Memo

(default: NA) NA, string, or string vector If TRUE plot absolute values of the residual.

fileName

(default: NA) NA or string

Value

data.frame if fileName is NA Null if fileName is not NA but instead write out the csv file

Examples


make_ShinyCGNM_observationData(
ID=1,
time=c(1,2,3,6,12,24),
Observation_expression="C_central",
Observed_value=c(0.1, 0.3, 0.6, 0.1, 0.05, 0.01),
ResidualError_model=1
)


CGNM documentation built on April 4, 2025, 5:22 a.m.