sse_null_decaying_decay | R Documentation |

For a model that uses a constant decay rate or a decaying decay rate, calculates the sum of the squared errors (differences between the supplied data points and the modeled values based on alpha and/or beta values). For these models all treatments are assumed to have the same `a`

(alpha) and/or `b`

(beta).

```
sse_null_decaying_decay(a, b, m, t)
sse_null_const_decay(a, m, t)
```

`a` |
alpha value |

`b` |
beta value |

`m` |
mRNA abundance values |

`t` |
time points of |

Returns the sum of the squared errors

```
sse_null_decaying_decay(a=0.05, b = 0.001,
m = c(1,1,1,0.99,0.5,0.5,0.5,0.49,0.25,0.25,0.25,0.24,0.12,0.125,0.125,0.126),
t = rep(c(0,10,20,30),each = 4))
sse_null_const_decay(a=0.05,
m = c(1,1,1,0.99,0.5,0.5,0.5,0.49,0.25,0.25,0.25,0.24,0.12,0.125,0.125,0.126),
t = rep(c(0,10,20,30),each = 4))
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.