inst/doc/dfba_gamma.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(DFBA)

## -----------------------------------------------------------------------------
N <- matrix(c(38, 4, 5, 0, 6, 40, 1, 2, 4, 8, 20, 30),
            ncol = 4,
            byrow = TRUE)
           
colnames(N) <- c('C1', 'C2', 'C3', 'C4')

rownames(N) <- c('R1', 'R2', 'R3')

A <- dfba_gamma(N)

A


## ----fig.width = 7, fig.height = 4--------------------------------------------

plot(A)

Try the DFBA package in your browser

Any scripts or data that you put into this service are public.

DFBA documentation built on May 29, 2024, 10:36 a.m.