Hi malika,
You don't seem to have defined your functions correctly. For example:
H<-function(u,x1)
would define an empty function H if that command worked, but it doesn't
Jim
On Tue, Aug 7, 2018 at 3:51 PM, malika yassa via R-help
wrote:
> hellothis is my programmeyou can help me, i cann't fo
Well, maybe. Whether it's +24 or -24 depends on what you mean by "one day
lag." I suspect you mean -24, but perhaps this will help you decide:
test <- ts(1:72, frequency = 24)
plot(lag(test,24))
plot(lag(test,-24))
Note that the +24 moves the time base back 24 observable units (= hours)
and -24 m
I have an hourly database and I defined a variable as follows:
time<-ts(data$variable, frequency=24)
If i need to create the variables with one day lag, the corresponding
command is lag(time,24)?
Thank you
[[alternative HTML version deleted]]
Hello,
If it is not running as you want it, you should say what went wrong.
Post the code that you have tried and the expected output, please.
(In fact, the lack of expected output was the reason why my suggestion
was completely off target.)
Rui Barradas
On 07/08/2018 09:20, Maija Sirkjärvi w
dear members,
I am using R in AWS. I am currently using RHEL AMI
in ec2 instance. I want to shift to Amazon LINUX AMI to lower costs.
How do you install R in Amazon lINUX AMI? I have searched the web, and , to my
disappointment have not found any articles on how to in
Hi Kenneth,
My guess is that you have tried to send screenshots of your output and
these were blocked. Try to cut and paste the output into your message.
Jim
On Tue, Aug 7, 2018 at 6:38 PM, John wrote:
> On Mon, 6 Aug 2018 20:18:38 +0200
> kenneth Barnhoorn wrote:
>
> Your examples did not app
On Mon, 6 Aug 2018 20:18:38 +0200
kenneth Barnhoorn wrote:
Your examples did not appear. Remember to use plain text rather
than html.
JWDougherty
> I have a problem with a linear regression output.
>
> In January I made an analysis of some data and received an certain
> output, if I run the
Thanks, but I didn't quite get it. And I don't get it running as it should.
ti 7. elok. 2018 klo 10.47 Martin Maechler (maech...@stat.math.ethz.ch)
kirjoitti:
>
> > Thanks for help!
> > However, changing the index from i to j for the column vector changes the
> > output. I would like the matrix t
> Thanks for help!
> However, changing the index from i to j for the column vector changes the
> output. I would like the matrix to be the following:
> -1 1 0 0 0 0 0
> 0 -1 1 0 0 0 0
> 0 0 -1 1 0 0 0
> .
> etc.
> How to code it?
as Enrico Schumann showed you: Without any loop, a very nic
Thanks for help!
However, changing the index from i to j for the column vector changes the
output. I would like the matrix to be the following:
-1 1 0 0 0 0 0
0 -1 1 0 0 0 0
0 0 -1 1 0 0 0
.
etc.
How to code it?
Best,
Maija
>> myMatrix <- matrix(0,5,12)
>> for(i in 1:nrow(myMatrix)) {
>>
10 matches
Mail list logo