Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function generates a sample bivariate data set.
1 |
func |
a user supplied function of one variable, y = func(x), near which data is generated. |
min |
min value for the domain of func |
max |
max value for the domain of func |
n |
number of sample points to generate |
Rsq |
coefficient of determination for the data set |
If func is NULL then a normal bivariate data set of n samples is generated with correlation coefficient sqrt(Rsq). If func is passed by the user then n sample points are scattered about y=func(x) with variance governed by the Rsq parameter
Returns an n x 2 bivariate data set
See examples below on how to set up user defined functions
Ben Murrell, Dan Murrell & Hugh Murrell.
Discovering general multidimensional associations, http://arxiv.org/abs/1303.1828
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.