[R] Optim function returning always initial value for parameter to be optimized

2018-02-09 Thread BARLAS Marios 247554
first trial it worked but right now the output of optim for the parameter to get optimized is EXACTLY the same as the initial estimate whatever the initial estimate value is. Please, any ideas why ? I can't see the error at this moment. Thanks in advance, Marios Barlas ___

[R] Specification: Bi variate minimization problem

2018-01-20 Thread BARLAS Marios 247554
unctions in mind that can help with parts of this problem ? It's not impossible to write the algorithm but it will take time and things like convergence and robustness need to be checked ! thank you for your help. Best regards, Marios Barlas

[R] Bi variate minimization problem

2018-01-20 Thread BARLAS Marios 247554
y1 have some functions in mind that can help with parts of this problem ? It's not impossible to write the algorithm but it will take time and things like convergence and robustness need to be checked ! thank you for your help. Best regards, Marios Barlas

Re: [R] Changing ggplot2 legend key/title to custom text

2017-06-29 Thread BARLAS Marios 247554
ublication-ready-plots I want to change the "sex" in "sex subscript 2" or " (sex/sex[2]+Q) Thanks again, Marios Barlas PhD Candidate CMOS & Memory Integration Advanced Memory Group Leti, technology research institute Commissariat à l’énergie atomique et aux énergies a

[R] Changing ggplot2 legend key/title to custom text

2017-06-29 Thread BARLAS Marios 247554
nt' seem to work. Also tried bquote for super/ subscripts xlab(bquote(~x~/(~x~ + ~MO[2]~)* '(%)')) but I get an error that the / operator is not recognized. Any ideas on how I can solve these issues ? Thanks in advance, Marios Barlas _

[R] fdaPDE Documentation and examples

2016-11-21 Thread BARLAS Marios 247554
Hello, I'm trying to use R for solving PDEs ( heat and Poisson equations) in R. I found fdaPDE as a package implementing FEMs, has any1 used it before ? I find it severely lacks documentation and examples on its usage. Any feedback is welcome! Thanks in advance, Marios Barlas PhD Cand

[R] PDE Solver and Modeling with R

2016-11-09 Thread BARLAS Marios 247554
model. Otherwise, do you think I can plug into the old FORTRAN libraries like SLATEC ? I've never used R for this type of modeling so far, any advice on where to start from is more than welcome! Thank you in advance, Marios Barlas PhD Candidate CMOS & Memory Integration Advanced Memo

Re: [R] Create a colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
AM To: BARLAS Marios 247554 Subject: Re: [R] Create a colour scale for different data sets Hi Marios, One way to get a common color scale for a number of different sets of values is the color.scale (plotrix) function. By setting the "xrange" argument to the range of all values, the color

[R] Create a colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
Hello Every1, I'm working on analysing some data and I want to make some cartography maps. Since I treat data in batch, I need to have a common reference colour scale for all the datasets I need to plot. This is important otherwise it becomes hard to quickly assert visually changes from one e

[R] Create a common wafer map colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
terpolates colors according to set value ranges: for values from 0 to 1.5e4 interpolate gradient between lightgreen and green for values from 1.5e4 to 5e5 interpolate gradient between green and yellow for values from 5e5 to max interpolate gradient between yellow and red Any1 has some ideas o

[R] Numerical differentiation of a vector of values

2015-12-18 Thread BARLAS Marios 247554
Hi everyone, I have sets of experimental values representing I-V curves. I want to get the derivative of such numerical data but in r there doesn' seem to be a premade function. I can write something of my own, but I was wondering if there is a standard package out there? Thanks in advance! _

[R] Importing data by targeting in filenames inside a nested list

2015-12-08 Thread BARLAS Marios 247554
Hello everyone, So, rookie me is trying to write a smart code, so here's what I'm doing: I have a list of a couple of hundrend files, some of which refer to different experiments. The naming of the file refers to the experiment and the serial number to the topological reference on my sample.

Re: [R] Ordering Filenames stored in list or vector

2015-12-07 Thread BARLAS Marios 247554
tarting my PhD I feel like I want something more "integrated" Thanks, Mario From: Mark Sharp [msh...@txbiomed.org] Sent: Friday, December 04, 2015 5:25 PM To: BARLAS Marios 247554 Cc: r-help@r-project.org Subject: Re: [R] Ordering Filenames stor

[R] Ordering Filenames stored in list or vector

2015-12-04 Thread BARLAS Marios 247554
Hello everyone, I am an R rookie and I'm learning as I program. I am working on a script to process a large amount of data: I read a pattern of filenames in the folder I want and import their data filenames = list.files(path, pattern="*Q_Read_prist*") myfiles = lapply(filenames, function(x) re

Re: [R] total indirect effects in structural equation modeling using lavaan

2013-02-22 Thread Marios
Waow awesome!! It worked perfectly! Thanks heaps Yves! Greatly appreciated! Marios On 22 February 2013 12:45, yrosseel wrote: > On 02/22/2013 11:40 AM, Marios wrote: > >> Thank you very much Yves! >> >> I have managed to get the total indirect effects that i wanted

Re: [R] total indirect effects in structural equation modeling using lavaan

2013-02-22 Thread Marios
te" (unstandardized) column for the new parameters defined by the ":=" operator. All other parameters i.e. using "~" have been standardized. How do i go about calculating the indirect effects based on standardized coefficients? Thanks again, Marios On 22 February 20

[R] total indirect effects in structural equation modeling using lavaan

2013-02-21 Thread Marios
Hi all, I am using package lavaan and have created a structural equation model with two exogenous and seven endogenous variables with the following relationships #specify the model m1 = ' # regressions D ~ ma + hs + b4 + b5 + b15 + b16 ma ~ hs + b4 + b5 + b15 + b16