Re: [R] R emulation of FindRoot in Mathematica

2023-01-22 Thread Leonard Mada via R-help
Dear Troels, There might be an error in one of the eqs: # [modified] TODO: check; mg2atp <- 10^(-7)*Mg*mgatp; This version works: x0 = c(     atp = 0.008,     adp = 0.1,     pi = 0.003,     pcr = 0.042,     cr = 0.004,     lactate = 0.005 ) / 30; # solved the positive value x0[1] = 1E

Re: [R] R emulation of FindRoot in Mathematica

2023-01-22 Thread Leonard Mada via R-help
Dear Troels, I send you an updated version of the response. I think that a hybrid approach is probably the best solution: - Input / Starting values = free: ATP, ADP, Crea, CreaP, lactate, inorganic phosphate; - Output: diff(Total, given total value); - I assume that the pH is given; - I did NOT

Re: [R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-22 Thread Deepayan Sarkar
On Sun, Jan 22, 2023 at 6:48 PM Laurent Rhelp wrote: > Dear RHelp-list, > > I want to choice my scale for every panel in a lattice graph according to > the ylim range of every panel, with 10 ticks and with a start from 0. > Also I want to plot a grid >according to the y ticks (I did that

[R] Info files in Windows and Mac distributions

2023-01-22 Thread Naresh Gurbuxani
Recently I installed Linux on my desktop. I discovered that R for Linux ships with info files of manuals. R for Windows and Mac only ship with html and pdf files of manuals. Why not include info files in R distributions for Windows and Mac? These are very convenient with emacs. Using pandoc

Re: [R] function doesn't exists but still runs..... (akshay kulkarni)

2023-01-22 Thread akshay kulkarni
Dear Jeff, I am indeed guilty of a highly inadvertent diction...I have to welcome your exhortations Coming back to the point, I have read Avanced R by HAdley. But its all theory...and the present issue that I ran into is, possibly, a practical application of ALL that. For

Re: [R] [EXTERNAL] Re: function doesn't exists but still runs..... (akshay kulkarni)

2023-01-22 Thread akshay kulkarni
Dear Jorgen, regrets to reply this late I got into this issue because it threw an error, and it took more than 4 days to fix this. I learnt a lot, and one things I learnt is to debug the function, even when that is a public package functioninstead of googling th

[R] lattice xyplot: trouble about the use of yscale.components to start the yscale from zero

2023-01-22 Thread Laurent Rhelp
Dear RHelp-list,  I want to choice my scale for every panel in a lattice graph according to  the ylim range of every panel, with 10 ticks and with a start from 0. Also I want to plot a grid   according to the y ticks (I did that in the panel argument with the panel.abline function) .  So I deci