Plus, current dates are an awful lot of seconds since 1970-01-01, so the
relative error on second-scale differences is bigger than you might think:
> as.numeric(Sys.time())
[1] 1441874878
and since relative representation errors are of the order 1e-16, the
corresponding absolute errors are abou
Looks like R FAQ 7.31 to me.
https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
On Wed, Sep 9, 2015 at 4:19 AM, DE wrote:
> Hi,
>
> I'd like to create a date-time seq with a period of 0.05 s, over several
> days.
>
> # try :
> start<-strptime(nom_f
Hi,
I'd like to create a date-time seq with a period of 0.05 s, over several
days.
# try :
start<-strptime(nom_fich,format="%y%m%d")
time<-seq(from=start, by=0.05, length.out = 86400*20*3)
print(as.POSIXlt(time[2])$sec)
# result is 0.0495 and not 0.05 as expected
But If I am looking at the
On 15/05/2014 11:19, ilias.khatt...@bbox.fr wrote:
Hi,
I'm an engineer student who work on a project with hadoop & R. I installed
the ODBC driver and configure it and it works with excel but I earn some
problems with R.
I think it's maybe because of my OS which is a Mavericks
Hi,
I'm an engineer student who work on a project with hadoop & R. I installed
the ODBC driver and configure it and it works with excel but I earn some
problems with R.
I think it's maybe because of my OS which is a Mavericks. I saw there are no
binaries files for my OS in the RO
Hello,
I have the following problem. After a PACS upgrade in our hospital, the dynamic
3D images acquired after contrast media injection with a 3T Philips MRI are all
saved in a single 4D file instead of a series of 2D images containing multiple
3D images over time. I used to convert this serie
Hi,
does anyone know if it is possible to construct sets of S4 objects?
It seems the constructor set does not like it:
Error in as.vector(x, "character") :
cannot coerce type 'environment' to vector of type 'character'
Regards
Johnny
[[alternative HTML version deleted]]
On 29/08/2011 3:29 PM, Imbeaud (Inserm U674) wrote:
Hi,
I have to deal with a huge .txt table (~485.577 rows and 469 columns,> 1.5
Go file)
I used the read.table function
> tmp=read.table("data.txt", header=TRUE, sep="\t", fill=TRUE,
na.strings="NA", comment.char="", stringsAsFactors = FALSE)
Hi,
I have to deal with a huge .txt table (~485.577 rows and 469 columns, > 1.5
Go file)
I used the read.table function
> tmp=read.table("data.txt", header=TRUE, sep="\t", fill=TRUE,
na.strings="NA", comment.char="", stringsAsFactors = FALSE)
However, I encounter troubles in interpreting some "\t"
On Wed, 2 Mar 2011, Xavier Bodin wrote:
Hi R-help community,
Can anyone tell me why, while using :
x <- seq(as.Date("2001-01-01"),as.Date("2001-01-01") +
nrow(volcano)-1,1)
y <- seq(1, ncol(volcano),1)
when I plot the volcano matrix with that command :
filled.contour(x,y,volcano)
the
Hi R-help community,
Can anyone tell me why, while using :
x <- seq(as.Date("2001-01-01"),as.Date("2001-01-01") +
nrow(volcano)-1,1)
y <- seq(1, ncol(volcano),1)
when I plot the volcano matrix with that command :
filled.contour(x,y,volcano)
the graph has a Date format on X-axis, ok ..
Behalf Of Nicolas Turenne
Sent: Wednesday, November 04, 2009 12:17 PM
To: r-help@r-project.org
Subject: [R] pb with optimimization and fitdistr
Hello
i try to fit a data series (N below) with a model consisting of a
mixture of two beta distributions
for that i am using fitdistr of package MASS
a
Hello
i try to fit a data series (N below) with a model consisting of a
mixture of two beta distributions
for that i am using fitdistr of package MASS
as follows
> library(MASS)
> N=c(796,3586,4089,3364,2745,1992,1120,432,99,10,0,0)
> d2 = (N-min(N)+0.01)/(max(N)-min(N)+0.002)
> mixtBet
13 matches
Mail list logo