We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
graph.lcf()
1 parent 4321fc3 commit b548ab9Copy full SHA for b548ab9
R/make.R
@@ -383,20 +383,8 @@ graph.star <- function(
383
graph.lcf <- function(n, shifts, repeats = 1) {
384
# nocov start
385
lifecycle::deprecate_soft("2.1.0", "graph.lcf()", "graph_from_lcf()")
386
- # Argument checks
387
- n <- as.numeric(n)
388
- shifts <- as.numeric(shifts)
389
- repeats <- as.numeric(repeats)
390
-
391
- on.exit(.Call(R_igraph_finalizer))
392
- # Function call
393
- res <- .Call(R_igraph_lcf_vector, n, shifts, repeats)
394
395
- if (igraph_opt("add.params")) {
396
- res$name <- "LCF graph"
397
- }
398
399
- res
+ # Use the _impl function
+ lcf_vector_impl(n = n, shifts = shifts, repeats = repeats)
400
} # nocov end
401
402
#' Create a lattice graph
0 commit comments