powered by
Create a ggplot object of two dimensional feature space using the first two pricipal component returned by get_pc_space.
get_pc_space
gg_featurespace(object, ...)
Object of class “pcoddstream”.
pcoddstream
Other plotting parameters to affect the plot.
A ggplot object of two dimensional feature space.
find_odd_streams, extract_tsfeatures, get_pc_space, set_outlier_threshold
find_odd_streams
extract_tsfeatures
set_outlier_threshold
# NOT RUN { features <- extract_tsfeatures(anomalous_stream[1:100, 1:100]) pc <- get_pc_space(features) p <- gg_featurespace(pc) p + ggplot2::geom_density_2d() # }
Run the code above in your browser using DataLab