16001 5500519
> #20 ok 2010-01-15 06:19:59 40193.51 64 17016001 5500519
>
> #If you need a rolling max,
> library(zoo)
> rollapply(A$lig,2,max,align="right",fill=NA)
> #[1] NA 64 64 44 32 22 13 4 8 8 0 45 64 64 64 64 64 64 51 64
>
>
> A.K.
>
>
>
y(zoo)
rollapply(A$lig,2,max,align="right",fill=NA)
#[1] NA 64 64 44 32 22 13 4 8 8 0 45 64 64 64 64 64 64 51 64
A.K.
- Original Message -
From: zuzana zajkova
To: Rui Barradas
Cc: r-help@r-project.org
Sent: Tuesday, February 12, 2013 6:53 PM
Subject: Re: [R] M
Hi,
sorry for not useable data...
When I tried to use the dput function to the dataframe let's call it A, had
some problems with the time and clock variables... however I attach an
other dataframe B, which is created by merging A with other dataframe. The
B dataframe has a little different struct
Hello,
Your data example is a mess. Can't you please use ?dput to post it?
Supposing your data is named 'dat', use
dput(head(dat, 20)) # Paste the output of this in a post
Hope this helps,
Rui Barradas
Em 12-02-2013 15:30, zuzana zajkova escreveu:
Hello,
I would like to ask you for help
Hello,
I would like to ask you for help. I have quite a big dataframe (119 313
rows), this is a part of it:
"jul" "ind" "time" "secs" "geo" "act" "lig" "date.x" "clock" "h" "m" "s"
"d" "mo" "y" "dtime" "land" "date.y" "sriseIC" "ssetIC" "dssetIC" "dsriseIC"
"1207" 14628 5500519 2010-01-19 15:14:5
Hi
>
> On 2012-05-15 08:36, Melissa Rosenkranz wrote:
> > Here is an R problem I am struggling with:
> > My dataset is organized like this...
> >
> > subject sessionvariable_x variable_y
> > 01 11
> > 01 1
On 2012-05-15 08:36, Melissa Rosenkranz wrote:
Here is an R problem I am struggling with:
My dataset is organized like this...
subject sessionvariable_x variable_y
01 11
01 12
01 1
Here is an R problem I am struggling with:
My dataset is organized like this...
subject sessionvariable_x variable_y
01 11
01 12
01 13
01 2
On 01/11/2012 12:01 PM, Rui Esteves wrote:
> Is there any constant that represents the maximum value of an integer?
Yes, there is (assuming you refer to the 'integer' type). See ?.Machine.
> .Machine$integer.max
[1] 2147483647
> as.integer(2147483647)
[1] 2147483647
> as.integer(2147483648)
[1]
rmx wrote
>
> Hi.
> Is there any constant that represents the maximum value of an integer?
> If I need to setup by myself what is the maximum value?
>
?.Machine
i.e.
.Machine$integer.max
Berend
--
View this message in context:
http://r.789695.n4.nabble.com/Max-value-of-an-integer-tp428495
Hi.
Is there any constant that represents the maximum value of an integer?
If I need to setup by myself what is the maximum value?
Best,
Rui
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guid
11 matches
Mail list logo