transformRSdata {ccrs} | R Documentation |
Transform data by the estimated response function
Description
Transforms data matrix by estimated response functions.
Usage
transformRSdata(X,Beta=Beta,Mmat.q=Mmat.q)
Arguments
X |
An n by m categorical data matrix. |
Beta |
An n by q-1 matrix of coefficiets for response functions. |
Mmat.q |
A q by 3+1 matrix of I-spline basis functions, evaluated at the midpoints between boundaries. |
Value
Returns a list with the following elements.
Y.hat |
An n by m matrix of corrected data matrix. |
MB |
An n by q matrix of values of response functions evaluated at the midpoint between boundaries. |
[Package ccrs version 0.1.0 Index]