Description Usage Arguments Value Examples

Create various images such as circle, rectangle and random dots.

1 |

`nx` |
- Width of an image. |

`ny` |
- Length of an image. |

`Type` |
- Type of an image: 1, 2, and 3 for rectangle, circle, and random dots, respectively. |

`bNoise` |
- Option for including noise: TRUE or FALSE. |

`sig_noise` |
- Strength of noise: numeric value between 0 and 0.5. |

A list of information of a generated image.

ImgMat - a matrix whose entries are pixel values of a generated image.

S1 - an n1x2 matrix whose entries denote coordinates of white pixels of the image. n1 denotes the number of the white pixels.

S2 - an n2x2 matrix whose entries denote coordinates of black pixels of the image. n2 denotes the number of the black pixels.

1 2 3 4 5 6 7 8 9 |

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.