Learn R Programming

cudaBayesreg (version 0.3-13)

post.tseries: Show fitted time series of active voxel

Description

post.tseries plots the fitted time series of a voxel estimated as active.

Usage

post.tseries(out, slicedata, ymaskdata, vreg=2)

Arguments

Details

Use the estimated regression coefficients to visualize the fitted time series in an active voxel.

See Also

cudaMultireg.slice, post.simul.hist, post.simul.betadraw, post.ppm

Examples

Run this code
## read data and load MCMC simulation 
slicedata <- read.fmrislice(fbase="fmri", slice=3, swap=TRUE)
ymaskdata <- premask(slicedata)
fsave <- paste(tempdir(),"/simultest1",fileext = ".sav", sep="")
load(fsave)
post.tseries(out=out, slicedata=slicedata, ymaskdata=ymaskdata, vreg=2)

Run the code above in your browser using DataLab