Hello,
I am drawing contour lines for a function of 2 variables at one level of
the value of the function and want to include a small arrow in any
direction of increase of the function. Is there some way to do that?
Below is an example that creates the contour lines. How do I add one small
arrow
Thanks for both comments. Indeed the sep = "" is needed.
On Sun, Oct 9, 2011 at 9:43 PM, Rolf Turner wrote:
> On 10/10/11 04:53, R. Michael Weylandt wrote:
>
>
>
> Try this:
>>
>> for (i in 1990:2009) {
>> varName = paste("pci", i, collapse = "")
>> assign(varName, log(get(varName))
>>
in R?
Thanks a lot in advance.
Deepankar
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
in R?
Thanks a lot in advance.
Deepankar
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and pr
NA
But this gives me an NA value for the unit C, which I thought I had
already left out. How do I ensure that the computation (in the last
step) is limited to only the units I have selected in the first step?
Deepankar
__
R-help@r-project.org mailing
rework this part of the code will, I think,
improve overall efficiency.
Thanks in advance for your time.
Deepankar
On Sun, 2007-12-02 at 20:54 -0500, jim holtman wrote:
> One thing that I would suggest that you do is to use Rprof on a subset
> of the data that runs for 10-15 minutes and s
0
as.data.frame 0.02 0.0 0.00 0.0
$sampling.time
[1] 565.42
>
Deepankar
On Sun, 2007-12-02 at 20:54 -0500, jim holtman wrote:
> One thing that I would suggest that you do is to use Rprof on a subset
> of the data that runs for 10-15 minutes and see where so
.
Thanks.
Deepankar
- begin code ---
LLK1 <- function(paramets, data.frame, ...) { # DEFINING THE LOGLIKELIHOOD
FUNCTION
# paramets IS A 1x27 VECTOR OF PARAMETERS OVER WHICH THE FUNCTION WILL BE
MAXIMISED
# data.frame IS A DATA FRAME. THE DATA FRAME CONTA
Thanks for the help.
On Tue, 2007-11-06 at 14:48 -0200, Alberto Monteiro wrote:
> Deepankar Basu wrote:
> >
> > I am trying to do an ML estimation in R. My likelihood function has
> > several nested loops and so it takes a lot of time (days when I use the
> > genetic
++ and calling it from within R when using *optim()*. I found that
one can call C functions (once they have been compiled) from within R
with
> dyn.load("file.so")
and
> .C("function", ...)
Can the same be done for C++ code?
Deepankar
_
Thanks a lot for all the comments and suggestions. It has helped me
solve the problem. I find the "wide" to "long" transformation of the
data especially helpful. I used this in STATA but was not aware that I
could do the same in R.
Deepankar
On Fri, 2007-10-26 at 08:44
1 NA NA
Thanks in advance.
Deepankar
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reprodu
' for computation
}
How can this be done in R?
Deepankar
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, mi
13 matches
Mail list logo