Displaying 20 results from an estimated 7194 matches for "este".
Did you mean:
elte
2006 Apr 10
2
seq
Can someone, please, help explain to me why the following two calls
return the same set:
> seq(from=as.POSIXlt('2005-12-4'), to=as.POSIXlt('2006-4-2'), by='weeks')
[1] "2005-12-04 EST" "2005-12-11 EST" "2005-12-18 EST" "2005-12-25 EST"
[5] "2006-01-01 EST" "2006-01-08 EST" "2006-01-15 EST"
2009 Jan 23
2
Dates in Common
I have two collections of dates and I want to figure out what dates they have
in common. This is not giving me what I want (I don't know what it is giving
me). What is the best way to do this?
Tom
> data1
[1] "1948-02-24 EST" "1949-04-12 EST" "1950-05-29 EDT" "1951-05-21 EDT"
[5] "1951-12-20 EST" "1953-01-22 EST"
2010 Oct 07
3
reshape from wide to long, ordering of "varying"
Hello,
I have data in the following form
age sex Int.Prev.Est.1 Int.Prev.Est.2 Int.Prev.Est.3
Int.Prev.Est.4 Int.Prev.Est.5
93110 93 0 23.75482 57.86592 9.755003
4.343534 4.280714
93610 93 1 53.36475 39.47247 4.381618
1.622119 1.159044
94110 94 0 23.47514 58.23936 10.789339
3.690415 3.805741
94610 94 1
2005 Jun 07
5
Functions within functions in R and S-Plus
Sorry to bother you about a S-Plus related problem, but I hope someone
can help.
I have tried to "translate" some code from R to S-Plus (I have colleague
that insists on using S-Plus. And yes, I have tried to make him change
to R...)
The following code works out fine in R, but in S-Plus (S-PLUS 6.2 for
Windows Professional Ed.) I get the error message "Problem in
est.theta(x):
2008 May 16
2
How to swap and rearrange rows?
Dear R-expert,
How to swap and rearrange the row so that I will have
Jan-Dec in order?
> est31
??????????? p0 est.alpha est.beta? est.rate
Jan? 0.8802867 0.7321440 7.241757 0.1380880
Mar? 0.8598566 0.7096567 7.376367 0.1355681
May? 0.6204301 0.8657272 6.036106 0.1656697
July 0.5032258 0.9928488 4.027408 0.2482986
Aug? 0.5322581 0.9625738 4.103121 0.2437169
Oct? 0.6792115 0.8526226 5.105218
2004 Dec 06
0
R doesn't understand dates prior to 1 Jan 1970
I'm installing R on an Irix 6.5 machine and R fails to understand dates
prior to 1 Jan 1970. This first cropped up early in the test scripts
(Examples/base-Ex.R):
> > seq(as.Date("1910/1/1"), as.Date("1999/1/1"), "years")
> Error in fromchar(x) : character string is not in a standard unambiguous format
The root there is the
2012 Mar 07
4
problem with data
Good Afternoon,
?? I have a small problem with the following code.
# The x.sub$Time[[1]] 2006-10-31 19:03:01 EST
# when put in variable star give-me
star<-x.sub$Time[[1]]
print(star)
print(x.sub$Time[[1]])
[1] 1 36 32 -........
do not understand why
--
View this message in context: http://r.789695.n4.nabble.com/problem-with-data-tp4453510p4453510.html
Sent from the R help mailing
2006 Nov 22
2
problems with garchFit
Hi all,
I post it on both r-help and r-finance since I don't know where is most
appropriate for this topic. Sorry if it bothers you.
I did garch fitting on S&P500 monthly returns with garchFit from fSeries. I
got same coefficients from all cond.dist except normal. I thought that is
probabaly usual for the data. But when I play with it, I got another
question.
I plot skew normal with
2010 May 28
2
problem with a function
Hi all,
I have a function rho.f which gives a list of estimators. I have the
following problems.
rho.f(0.3) gives me the right answer. However, if I use rho.f(corr[4]) give
me a different
answer, even though corr[4]==0.3.
This prevents me from using a for loop. Can someone give me some help?
Thank you very much in advance.
Hannah
>
2011 Apr 03
1
style question
Hi everyone,
I am trying to build a table putting standard errors horizontally. I
haven't been able to do it.
library(memisc)
berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions)
berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial")
berk1 <-
glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial")
berk2 <-
2003 Aug 20
2
Method of L-BFGS-B of optim evaluate function outside of box constraints
Hi, R guys:
I'm using L-BFGS-B method of optim for minimization problem. My function
called besselI function which need non-negative parameter and the besselI
will overflow if the parameter is too large. So I set the constraint box
which is reasonable for my problem. But the point outside the box was
test, and I got error. My program and the error follows. This program
depends on CircStats
2009 Mar 10
4
puzzled by math on date-time objects
Hi,
I don't understand the following. When I create a small artificial set
of date information in class POSIXct, I can calculate the mean and the
median:
a = as.POSIXct(Sys.time())
a = a + 60*0:10; a
[1] "2009-03-10 11:30:16 EDT" "2009-03-10 11:31:16 EDT" "2009-03-10
11:32:16 EDT"
[4] "2009-03-10 11:33:16 EDT" "2009-03-10 11:34:16
2005 Oct 17
1
as.POSIXct before and after 1970
Can someone, please, explain the difference in as.POSIXct results
before 1970 and on and after 1970 as illustrated below.
After 1970, the use of 'EST' or "EST+5EDT' as the timezone does not
affect the result of asPOSIXct, but before 1970 on 10/28 the results
are different.
> as.POSIXct('1970-10-29', tz='EST')+1
[1] "1970-10-29 00:00:01 EST"
>
2012 Feb 05
1
Grouping miliseconds By Hours
I have a list of numbers corresponding to timestamps, a sample of which follows:
c(1327211358, 1327221999, 1327527296, 1327555433, 1327701042,
1327761389, 1327780993, 1327815670, 1327822964, 1327897497, 1327897527,
1327937072, 1327938300, 1327957589, 1328044466, 1328127921, 1328157588,
1328213951, 1328236836, 1328300276, 1328335936, 1328429102)
I would like to group these into hours. In other
2006 Jun 20
1
Help with dimnames()
Hi R people:
I'm trying to set the dimnames of a data frame called "ests" and am
having trouble!
First, I check to see if "ests" is a data.frame...
> is.data.frame( ests )
[1] TRUE
... and it is a data frame!
Next, I try to assign dimnames to that data frame....
> dimnames( ests )[[ 1 ]] <- as.character( ests$stfips )
Error in
2011 Sep 12
1
as.POSIXct on vector weird output
I don't know R, so maybe I've done something wrong, but I'm working off an
example I saw on the web and wondering why as.POXIXct isn't returning the
same result on f$V1 as it is on z. Did I do something wrong? Or is it a
problem with my build?
> f$V1
[1] 09/11/2011 13:46:39 09/11/2011 13:45:18 09/11/2011 13:44:58
[4] 09/11/2011 13:40:02 09/11/2011 13:37:58 09/11/2011
2010 Mar 20
1
POSIXct conversion stops part way through a df column
I have a date/time imported from Excel in my dataframe oooi (with
several hundred thousand rows), for example the input data near row 3100 is
ActualOnLocal
11/12/2008 21:35
11/12/2008 22:03
11/12/2008 22:12
11/12/2008 22:38
11/12/2008 23:16
11/12/2008 23:23
11/13/2008 7:00
11/13/2008 7:03
11/13/2008 7:05
11/13/2008 7:11
I want to convert the column to POSIXct
oooi$dpt <-
2019 Sep 24
2
VI Xornada de Usuarios de R en Galicia [10/10/2019]
...esta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas....
2009 Aug 20
1
Understanding R code
What is
1. par.ests <- optimfit$par
2. fisher <- hessb(negloglik, par.ests, maxvalue=maxima);
3. varcov <- solve(fisher);
4. par.ses <- sqrt(diag(varcov));
Thanks a lot,
fit.GEV <- function(maxima)
{
sigma0 <- sqrt((6. * var(maxima))/pi)
mu0 <- mean(maxima) - 0.57722 * sigma0
xi0 <- 0.1
theta <- c(xi0, mu0, sigma0)
#10/5/2007: removed assign() for maxima.nl
2009 Dec 22
1
as.Date function yields inconsistent results (PR#14166)
Full_Name: Mario Luoni
Version: 2.10.0
OS: Windows XP HE SP3
Submission from: (NULL) (217.194.59.134)
This piece of code:
zzz1 <- as.POSIXct("1999-03-18", tz="CET")
zzz2 <- as.POSIXlt("1999-03-18", tz="CET")
zzz1 == zzz2
as.Date(zzz1)
as.Date(zzz2)
yields TRUE for "zzz1==zzz2", but the two dates returned by as.Date are
different:
>