post.tseries: Show fitted time series of active voxel

Description Usage Arguments Details Author(s) See Also Examples

View source: R/post.tseries.R

Description

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

Usage

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

Arguments

out

output of MCMC simulation

slicedata

list(slice=slice, niislicets=niislicets, mask=mask, dsgn=dsgn); input slicedata used in simulation as returned by read.fmrislice

ymaskdata

list(yn = yn, kin = kin, nreg = nreg); masked and standardised slice data as returned by premask

vreg

number of the active variable to visualize; default(vreg=2).

Details

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

Author(s)

A. Ferreira da Silva, Universidade Nova de Lisboa, Faculdade de Ciencias e Tecnologia,
afs@fct.unl.pt.

See Also

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

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## 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)

## End(Not run)

cudaBayesreg documentation built on May 29, 2017, 6:19 p.m.