[R] 3d graph with contours lines

2017-05-07 Thread Fernando de Souza Bastos
Can anyone help solve this issue? I thank you! http://stackoverflow.com/questions/43817083/3d-graph-with-contours-lines Best, Fernando de Souza Bastos Assistant professor Federal University of Viçosa (UFV) Campus UFV - Florestal PhD Student in Statistics Federal University of Minas Gerais

[R] Return of the gradient function when using Optim functions and colSums

2017-01-02 Thread Fernando de Souza Bastos
-functions-and-colsums Thank you! best regards, Fernando de Souza Bastos Teacher of Mathematics and Statistics Universidade Federal de Viçosa (UFV) Campus UFV - Florestal PhD in progress in Statistics Universidade Federal de Minas Gerais (UFMG) [[alternative HTML versi

Re: [R] Function implemented in R returns the wrong value

2016-12-11 Thread Fernando de Souza Bastos
Thank you Duncan, it really was that! Fernando de Souza Bastos Professor Assistente Universidade Federal de Viçosa (UFV) Campus UFV - Florestal Doutorando em Estatística Universidade Federal de Minas Gerais (UFMG) Cel: (31) 99751-6586 2016-12-11 11:25 GMT-02:00 Duncan Murdoch <murdoch.

[R] Function implemented in R returns the wrong value

2016-12-10 Thread Fernando de Souza Bastos
The Log.lik function below returns the value '-INF' when it should return the value -5836.219. I can not figure out the error, does anyone have any suggestions? rm(list=ls()) library(ssmrob) data(MEPS2001) attach(MEPS2001) n<-nrow(MEPS2001) Log.lik <- function(par,X,W,y){