Learn R Programming

marqLevAlg (version 1.1)

print.marqLevAlg: Summary of a marqLevAlg object

Description

The function provides a summary of a marqLevAlg optimisation.

Usage

# S3 method for marqLevAlg
print(x, digits, …)

Arguments

x

an marqLevAlg object.

digits

Number of digits to print in outputs. Default value is 8.

other unusued arguments.

See Also

marqLevAlg, summary.marqLevAlg

Examples

Run this code
# NOT RUN {
f1 <- function(b){	
	return(4*(b[1]-5)^2+(b[2]-6)^2)	
}
test.marq <- marqLevAlg(b=c(8,9),m=2,maxiter=100,epsa=0.001,epsb=0.001,
epsd=0.001,fn=f1)

test.marq
# }

Run the code above in your browser using DataLab