design_matrix: Generic function for creating design matrices

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

These functions call the appropriate methods depending on the class of the object obj to create RBF design matrices.

Usage

1
2
3
4
5
6
7
design_matrix(obj, ...)

## Default S3 method:
design_matrix(obj, ...)

## S3 method for class 'rbf'
design_matrix(obj, obs, ...)

Arguments

obj

A basis function object.

...

Additional parameters.

obs

A vector of observations.

Value

A design matrix object

Author(s)

Hongen Kang geneprophet@163.com


geneprophet/BSDMR documentation built on March 3, 2021, 5:50 a.m.