Learn R Programming

mrfDepth (version 1.0.1)

characterTrajectories: Character Trajectories Data Set

Description

Subset of the 'Character Trajectories Data Set' from the UCI Machine Learning Repository. The data set consists of trajectories of the tip of a pen whilst writing the letter 'a'. All samples are from the same writer. Original data has been processed.

Usage

data(characterTrajectories)

Arguments

Format

Three dimensional array. The first dimension represents time. The second dimension corresponds to the observation number. The third dimensions contains the X and Y coordinates.

Source

Williams B.H., Toussaint M. and Storkey A.J. (2006) Extracting motion primitives from natural handwriting data. In ICANN, volume 2, pages 634--643, . Bache K. and Lichman, M. (2013). UCI Machine Learning Repository [http://archive.ics.uci.edu/ml]. Irvine, CA: University of California, School of Information and Computer Science. Hubert M., Rousseeuw P.J., Segaert P. (2016). Multivariate and functional classification using depth and distance. Advances in Data Analysis and Classification

Examples

Run this code
data(characterTrajectories)
characterTrajectories
matplot(y=characterTrajectories[,,1],
        type="l",col="black",lty=1,xlab="Time",ylab="X position of the pen")
matplot(y=characterTrajectories[,,2],
        type="l",col="black",lty=1,xlab="Time",ylab="Y position of the pen")

Run the code above in your browser using DataLab