Support Package for Statistical Software End Project

adj_angle_sum_variance | Variance of the sum of adjacent angles |

angle_variance | Variance of the angles at vertices |

centroid_distance_variance | Variance of the distance from the centroid |

classify_shape | Classify a shape |

clip | Clip image border |

extract_fields | Extract fields from an image, given the boundaries |

get_boundaries | Get coordinates of boundaries of fields |

get_field_predictors | Calculate specified predictors for given fields |

get_shape_predictors | Get predictors for a shape |

get_shapes | Get a list of shapes on the image |

get_sides | Get sides of shape |

get_vertices | Get possible vertices |

moving_average | Smooth vector using moving averages |

plot.shape | Function for plotting shape objects |

rgb2col | Get the nearest color name from rgb |

shape_from_pixset | Make a 'shape' object from a pixset |

shape_predictors | We'll define a vector of names of predictor functions which... |

shift | Shift a vector cyclically |

side_length_variance | Variance of the lengths of sides (distance between vertices) |

slide_matrix | Slide a matrix in a given direction |

slide_matrix_single | Internal function used to slide a matrix in a single... |

solid_blobs | Find solid color connected areas in the image |

vertex_count | Number of possible vertices |

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.