### [SOLVED] gaussian anamorphosis

Posted:

**Fri Jun 16, 2017 9:52 am**Dear Friends,

I'm trying to tranform the Zn concentration (very skewed) into Gaussian.

I attempted such task in the following way:

Z_obs<-as.numeric(Chem_data.L1$Zn)

#Create a standard db-class and define its type (Grid or Point)

dbZ_obs<-db.create(Z_obs, flag.grid = FALSE, nx = NA, x0 = NA, dx = NA,

nech = NA, angles=NA, ndim = NA, nvar = NA, autoname = TRUE)

azmin<-min(Z_obs)

azmax<-max(Z_obs)

#Fit the Anamorphosis parameter

anam.fit(dbZ_obs, name="Z", type="gaus", nbpoly = 50, azmin =azmin, azmax = azmin, aymin = 0, aymax = 1,

ndisc= NA, sigma2e=NA, zcut=NA, maf=NA, draw=TRUE,verbose=FALSE)

but get the following error:

Error: Error in R_anam_fit_hermitian

Can someone help me??

ciao

eman

I'm trying to tranform the Zn concentration (very skewed) into Gaussian.

I attempted such task in the following way:

Z_obs<-as.numeric(Chem_data.L1$Zn)

#Create a standard db-class and define its type (Grid or Point)

dbZ_obs<-db.create(Z_obs, flag.grid = FALSE, nx = NA, x0 = NA, dx = NA,

nech = NA, angles=NA, ndim = NA, nvar = NA, autoname = TRUE)

azmin<-min(Z_obs)

azmax<-max(Z_obs)

#Fit the Anamorphosis parameter

anam.fit(dbZ_obs, name="Z", type="gaus", nbpoly = 50, azmin =azmin, azmax = azmin, aymin = 0, aymax = 1,

ndisc= NA, sigma2e=NA, zcut=NA, maf=NA, draw=TRUE,verbose=FALSE)

but get the following error:

Error: Error in R_anam_fit_hermitian

Can someone help me??

ciao

eman