Description Usage Arguments Details Value Note Author(s) References See Also Examples

This function generates a sample trivariate data set.

1 | ```
std(func,xMin,xMax,yMin,yMax,n,Rsq)
``` |

`func` |
a user supplied function of two variables, z = func(x,y), near which data is generated |

`xMin` |
min value for the x domain of func |

`xMax` |
max value for the x domain of func |

`yMin` |
min value for the y domain of func |

`yMax` |
max value for the y 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 trivariate data set of n samples is generated with correlation coefficients all set to sqrt(Rsq). If func is passed by the user then n sample points are scattered about z=func(x,y) with variance governed by the Rsq parameter.

Returns an n x 3 trivariate 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 7 8 9 10 |

```
[1] 0.6340628
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.