Description Usage Arguments Value Author(s) Examples
This function simulates intensity dependent variables.
1 |
data |
The data matrix of simulated data the user wishes to adjust. |
variable |
The variable the user wishes to introduce. |
spline.dim |
Dimension of intensity dependent function |
sample.from |
A list specifying a function that coefficients can be sampled from (e.g. rnorm, rchisq, etc.) and the relevant parameters (e.g. mean, sd, df, etc). The first item in the list should be named func and the second named params. |
rows |
Either a number between 0 and 1 or a vector of row IDs. A number between 0 and 1 specifies the proportion of data to be influenced by the variable. A vector specifies the rows to be influenced. Equal to 1 by default. |
Matrix of dimension equal to that of data containing the intensity-dependent effects.
Brig Mecham <brig.mecham@sagebase.org>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.