FredHasselman / casnet

An R toolbox for studying Complex Adaptive Systems and NETworks
https://fredhasselman.github.io/casnet/
GNU General Public License v3.0
27 stars 7 forks source link

Recurrence plot axis labels don't work yet #1

Closed heinonmatti closed 8 months ago

heinonmatti commented 5 years ago

Hi,

You probably know this as you're developing the package with fervour, but just in case:

This gives an error:

rp_distance_matrix_noise <- casnet::rp(y1 = runif(n = 200, min = 0, max = 49), 
                                 doPlot = TRUE,
                                 ylab = "x-label",
                                 xlab = "y-label")

Error in (function (RM, plotDimensions = FALSE, plotMeasures = FALSE, : unused arguments (NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL, NA = NULL)

This runs, but makes the label read "runif(n = 200, min = 0, max = 49)":

rp_distance_matrix_noise <- casnet::rp(y1 = runif(n = 200, min = 0, max = 49), 
                                 doPlot = TRUE,
                                 ylab = "x-label",
                                 xlab = "y-label", 
                                 na.rm = TRUE)