Learn R Programming

vows (version 0.5)

rlrt4d: Voxelwise restricted likelihood ratio tests

Description

A wrapper function for rlrt.mp to handle 3D image responses.

Usage

rlrt4d(arr4d, x = NULL, nbasis = 15, norder = 4, nulldim = NULL, loginvsp, get.df = FALSE, B = NULL, P = NULL)

Arguments

arr4d
a 4-dimensional response array, where the first 3 dimensions refer to spatial coordinates and the last dimension corresponds to different images.
x, nbasis, norder, nulldim, loginvsp, get.df, B, P
see rlrt.mp.

Value

A massively parallel RLRT object, as produced by rlrt.mp.

See Also

plot.rlrt4d, rlrt.mp

Examples

Run this code

data(test)
d4 = test$d4
x = test$x
rlrtobj = rlrt4d(d4, x, loginvsp = -5:5)
plot(rlrtobj, d4, slice=5)

Run the code above in your browser using DataLab