code_r_ssd {ssd4mosaic}R Documentation

Generate a script according to user in-app inputs

Description

Generate a script according to user in-app inputs

Usage

code_r_ssd(
  data,
  distributions,
  censored = FALSE,
  logscale = TRUE,
  unit = "arbitrary unit",
  names = FALSE,
  groups = FALSE,
  CI.level = 0.95
)

Arguments

data

If censored = TRUE, a data.frame with columns left and right. If censored = FALSE, a data.frame with a column conc.

distributions

A list of the names of the distributions to apply (e.g., 'lnorm', 'llogis')

censored

A Boolean, whether the given data is to be interpreted as censored

logscale

A logical

unit

A character string

names

A logical

groups

A logical

CI.level

A numerical

Value

A character string containing a R script.


[Package ssd4mosaic version 1.0.1 Index]