[R] "matrix is not of full rank" error in package tgp

Rainer M Krug r.m.krug at gmail.com
Mon Feb 7 14:01:02 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I want to use the package tgp with its sens() function to cunduct a
sensitivity analysis of an ecological simulation model and six
independent input parameter.
I conducted 10.000 simulations based on a Latin Hypercube design to
sample the whole parameter range. Now I want to use the sens function to
conduct the sensitivity analysis.

I use the following call:

  SA <- sens(X = X, Z = Z, nn.lhs = 600, model = bgpllm, verb = 2)

where X are my 6 input parameter, and Z is the response variable.

My problem is, that I get a

X[,1:6]-matrix is not of full rank

error. I must admit ignorance, as I neither know what a "matrix of full
rank" is, and how I can fix this so that I can conduct a sensitivity
analysis by using sens().

Any help is appreciated,

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1P7Q4ACgkQoYgNqgF2egohzgCfYCHjcjsQz/v9KrJAr63etgGZ
IdUAn0I1CdV0cLis4a4zqGmHjnm6lzwJ
=bFUt
-----END PGP SIGNATURE-----



More information about the R-help mailing list