# Generate data from a non-functional dependence

### Description

Generate data from a non-functional dependence called 'patchwork copula'. Like a copula the data is uniform in x and y but it has a dependence between x and yy that has a block like structure

### Usage

1 2 3 |

### Arguments

`p` |
matrix, starting mass distribution on the grid |

`alpha` |
decimal, parameter of beta distribution used for |

`beta` |
decimal, parameter of beta distribution used for |

`c` |
decimal, concentration factor (default |

`npoints` |
decimal, sample size |

`bins` |
decimal, number of bins of the bins*bins grid |

`returnmi` |
boolean, whether to return the mutual information |

`plot` |
boolean, whether to plot the dependence |

### Value

list with the following elements

`x` |
matrix of x-coordinates, each column corresponds to a noise level from |

`y` |
matrix of y-coordinates, each column corresponds to a noise level from |

`mi` |
mutual information of the dependence, only return if |

### Author(s)

Sebastian Dümcke duemcke@mpipz.mpg.de

### Examples

1 | ```
generate.patchwork.copula(bins=20,plot=TRUE)
``` |