Description Usage Arguments Value See Also Examples
Obtain the beta's with a method of interest
1 2 | main.interest(boxtimings, ROI, maximum = FALSE, summation = FALSE,
all.beta = FALSE, nbox)
|
boxtimings |
The design matrix for all timings |
ROI |
A vector of |
maximum |
Interest in the maximum of all values of beta for each trial. |
summation |
Interest in the summation of all values of beta for each trial. |
all.beta |
Interest in the full betas for each box. Note that the matrix needs to be transposed. |
nbox |
The amount of boxes |
The design matrix for all timings, in which the first timing is shuffled in space.
designmatrix
, for a boxcar for a timing.
1 2 3 4 5 6 7 8 9 | ROI = c(9, -3, -7, -9, -7, -5, -9, 2, 7, 13, 20, 9, 4, 2, 7, 7, -2, -3, -5, 0)
timings = c(2, 6, 8, 10, 12, 14)
nbox = 3
lenbox = 2
TR = 1
boxtimings <- designmatrix(ROI, timings, nbox, lenbox, TR)
main.interest(boxtimings, ROI, maximum = TRUE, nbox = nbox)
t(main.interest(boxtimings, ROI, all.beta = TRUE, nbox = nbox))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.