Learn R Programming

retistruct (version 0.5.11)

solveMappingCart: Optimise mapping

Description

Optimise the mapping from the flat outline to the sphere

Usage

solveMappingCart(r, alpha = 4, x0 = 0.5, nu = 1, method = "BFGS",
  plot.3d = FALSE, dev.flat = NA, dev.polar = NA, ...)

Arguments

r

reconstructedOutline object

alpha

Area penalty scaling coefficient

x0

Area penalty cutoff coefficient

nu

Power to which to raise area

method

Method to pass to optim

plot.3d

If TRUE make a 3D plot in an RGL window

dev.flat

Device handle for plotting grid to

dev.polar

Device handle for plotting ploar plot to

...

Extra arguments to pass to fire

Value

reconstructedOutline object