Displaying 20 results from an estimated 2000 matches similar to: "Histogram of gaps"
2012 Oct 16
1
cannot open gplots libray
hi all
i'm trying to open gplots library but i keep on getting this error:
/Loading required package: gdata
Error in readRDS(mapfile) : embedded nul in string: 'ref\0\0\002\0\0\0\0'
Error : unable to load R code in package ?gdata?
Error: package ?gdata? could not be loaded/
if i run session info the results are:
/> print(sessionInfo())
R version 2.15.1 (2012-06-22)
Platform:
2006 Jun 14
2
loading library from network share (PR#8982)
Full_Name: roy kuraisa
Version: 2.2.1
OS: Windows XP SP2
Submission from: (NULL) (155.91.28.232)
When loading a library from network share drive (e.g., \\nnn\f1\f2\p1), when
First.lib is called, the libray name contains "/" instead of "\" resulting in an
invalid Windows filepath.
Here's an example:
>From R,
>
2005 Sep 10
1
AGI problem with library path
Hi List,
My AGI seems work well in asterisk -vvvc mode,
other than that it doesn't work.
Its seems to me, when I run asterisk as daemon (service asterisk start ..
on fc4), it doesn't know about my library path.
How can pass libray path to my AGI script or asterisk?
Thanks
2008 Feb 04
1
garchFit (PR#10698)
Full_Name: Scott Yonker
Version: R for OSX Cocoa
OS: Mac OSX
Submission from: (NULL) (24.208.185.211)
The garchFit function in the Rmetrics libray cannot estimate ARCH models,
meaning that the number of beta terms in the model must be greater than zero.
For this function neither p nor q can be set to zero without an error. The
problem lies in both the specification of the objective function
2011 Sep 14
1
[nut-commits] svn commit r3225 - trunk/tools/nut-scanner
On Wed, 2011-09-14 at 12:24 +0000, Charles Lepple wrote:
> Author: clepple-guest
> Date: Wed Sep 14 12:24:58 2011
> New Revision: 3225
> URL: http://trac.networkupstools.org/projects/nut/changeset/3225
>
> Log:
> Silence redefined PACKAGE_ macro warnings
>
> This should be fixed properly upstream, but in the mean time, the SNMP-based
> tools can't use these
2005 Apr 12
1
R Package: mmlcr and/or flexmix
Greetings
I'm a relatively new R user and I'm trying to build a latent class model.
I've used the 'R Site Search' and it appears there's not much dialogue on
these packages
On mmlcr, I've gotten it working, but not sure if I'm using it correctly.
On flexmix, I can only seem to get results for one class.
I'm attaching my code below - if anyone
2013 Mar 07
2
A==A false?
>
> as.numeric(ImpVol[1,5,57]) == 0.0001
[1] FALSE
>
> as.numeric(ImpVol[1,5,57])
[1] 1e-04
>
> 0.0001
[1] 1e-04
>
Any tips?
Thanks
Sean
R 2.15.3
windows 7
2013 Apr 29
1
how to add new rows in a dataframe?
Hi,
dat1<- read.table(text="
id??????????????? t???????????????????? scores
2???????????????? 0??????????????????????? 1.2
2???????????????? 2???????????????????????? 2.3
2???????????????? 3??????????????????????? 3.6
2???????????????? 4??????????????????????? 5.6
2???????????????? 6??????????????????????? 7.8
3???????????????? 0??????????????????????? 1.6
3????????????????
2008 May 30
3
Strptime
Hi
This code should explain what I'm trying to do
> strptime("30-Jan-08", "%d-%b-%y")
[1] "2008-01-30"
>
> format(strptime("30-Jan-08", "%d-%b-%y") , "%b-%y")
[1] "Jan-08"
>
> strptime(format(strptime("30-Jan-08", "%d-%b-%y") , "%b-%y") ,
"%b-%y")
[1] NA
I have a
2015 Mar 29
2
quota setup assistance (postfix+dovecot+mysql)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
rooster wrote:
>
>> On 2015-03-23, at 1:34 AM, rooster <yawowb+dovecot at nuclei.ca>
>> wrote:
>>
>> Hello list,
>>
>> I have been struggling with establishing a working installation
>> of dovecot with mySQL quota support. I have not been able to find
>> a guide or tutorial that works for the
2006 Sep 17
2
histogram frequency weighing
Fellow R-helpers,
Suppose we create a histogram as follows (although it could be any vector
with zeroes in it):
R> lenh <- hist(iris$Sepal.Length, br=seq(4, 8, 0.05))
R> lenh$counts
[1] 0 0 0 0 0 1 0 3 0 1 0 4 0 2 0 5 0 6 0 10 0 9 0 4 0
[26] 1 0 6 0 7 0 6 0 8 0 7 0 3 0 6 0 6 0 4 0 9 0 7 0 5
[51] 0 2 0 8 0 3 0 4 0 1 0 1 0 3
2012 Oct 18
1
filling NA gaps according to previous data mean and following data mean
Hi everybody,
I have a little problem about filling some gaps of NAs in my data.
These gaps are between nearly constant data (temperature under snow). Here's
a fake example to illustrate how it looks like approximately:
DF <-
data.frame(data=c(-0.51,-0.51,-0.48,-0.6,-0.54,-0.38,-0.6,-0.42,NA,NA,NA,NA,NA,NA,NA,
-0.25,-0.41,-0.5,-0.5,-0.35,-0.7,-1,-0.87))
I would like to replace my NAs
2008 May 18
4
[LLVMdev] Forward: Discussion about custom memory allocators for STL
Hi Chris,
Thanks a lot for a detailed opinion and explanation!
It really answers the original question, without going to far
into political discussions about boost and generic allocators
pros/cons aspects.
----- Ursprüngliche Mail ----
> Von: Chris Lattner <sabre at nondot.org>
> An: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Gesendet: Sonntag, den 18. Mai
2007 Oct 11
1
Interpolation across merged zoo columns
Hi
I have a collection of about 16 time series with occasional missing
data. A few of these time-series start later than the rest. There is a
relatively high correlation between them (they are hourly temps at
various locations around the UK). The longest series contains about
40000 points
I have constructed each time series into a zoo object and then merged
each of these objects in to one (zoo
2008 May 08
2
Microseconds for a zoo object?
Hello
I have a string which contains microseconds, can anyone help on
constructing this in to a time object, with the microseconds, that I can
take to a ZOO file?
Thanks
Sean
> UK[1,3]
[1] "17:09:53.824"
> UK[1,1]
[1] "2007-12-11 00:00:00"
> mydates <- paste( substr(UK[,1], 1, 10), UK[,3])
> mydates[1]
[1] "2007-12-11 17:09:53.824"
>
2005 Jun 24
1
r programming help II
Dear List,
Suppose we have a variable K.JUN defined as (with
1=wet, 0=dry):
K.JUN1984 = c(1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
K.JUN1985 = c(0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1,
1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1)
K.JUN1986 = c(0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1,
1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1)
2012 Oct 16
2
cannot coerce class '"rle"' into a data.frame
why?
> rle
Run Length Encoding
lengths: int [1:1650061] 2 2 8 2 4 5 6 3 26 46 ...
values : chr [1:1650061] "4bbf9e94cbceb70c BG bg" "4fbbf2c67e0fb867 SK sk" ...
> as.data.frame(rle)
Error in as.data.frame.default(vertices.rle) :
cannot coerce class '"rle"' into a data.frame
it seems that
rle.df <-
2013 Mar 26
2
Feed rle() output to hist()
I want to make a histogram from the lengths vector which is part of the
output of rle. But I don't know how to access that vector so that I use it
as an argument of hist(). What argument must I use so that I use the
lengths vector as an input to hist()?
Example output is:
Run Length Encoding
lengths: int [1:4] 1 2 3 3
values : num [1:4] -1 1 -1 1
A printout of the function rle() may
2011 Jun 17
3
rle on large data . . . without a for loop!
I think need to do something like this:
dat<-data.frame(state=sample(id=rep(1:5,each=200),1:3, 1000,
replace=T,prob=c(0.7,0.05,0.25)),V1=runif(1,10,1000),V2=rnorm(1000))
rle.dat<-rle(dat$state)
temp<-1
out<-data.frame(id=1:length(rle.dat$length))
for(i in 1:length(rle.dat$length)){
temp2<-temp+rle.dat$length[[i]]
out$V1[i]<-mean(dat$V1[temp:temp2])
2008 Apr 23
2
ROracle error at step 1
Hi
I Can't connect to the Oracle database, any tips? Has anybody actually
got ROracle up and running on windows?
>> unable to find an inherited method for function "dbConnect",
for signature "OraDriver"
I can happily connect to the same database through RODBC. Oracle client,
version 9.2 installed, amongst others.
Sean
> library(DBI)
> library(ROracle)