Description Usage Arguments Value Author(s) References See Also Examples

View source: R/simTSrestingstate.R

Synthesizes a single time series x representing resting state activity. The fluctuation frequencies f are limited to a square passband 0.01 Hz <= f <= 0.1 Hz. TR is the repetition time (needed to compute the passband limits), expressed in seconds. N is the required number of samples (needs not be a power of 2).

1 2 3 4 |

`nscan` |
Number of scans. |

`base` |
Baseline value of the time series. |

`TR` |
Repetition time in seconds. |

`SNR` |
Signal-to-noise ratio of the time series. |

`noise` |
Type of noise (white is default). |

`type` |
If |

`weights` |
If |

`verbose` |
Logical indicating if warnings should be returned. |

`rho` |
If |

`freq.low` |
If |

`freq.heart` |
If |

`freq.resp` |
If |

`vee` |
If |

A vector representing the resting state time series

J. Durnez, G. Verdoolaege, M. Welvaert

[1] C.G. Fox, Computers & Geoscience, Vol. 13, pp. 369-374, 1987.

[2] M. Fukunaga, Magnetic Resonance Imaging, Vol. 24, pp. 979-992, 2006.

1 2 | ```
out <- simTSrestingstate(nscan=50, TR=2, SNR=1, noise="none")
## Not run: plot(out, type="l")
``` |

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.