Displaying 20 results from an estimated 4000 matches similar to: "Processing large datasets"
2011 May 25
1
[Fwd: Re: the mgcv package can not be loaded]
Sorry, I forgot to be more specific.
I am using Windows XP.
I am using R.12.2
I installed both packages from the install packages menu.
I always write library(name.of.library), and it is enough.
But when I write library(nlme), R does not find nlme right away
I load nlme first and it says package was downloaded succesfully.
However, when I try to do this again in another day, R cannot find
2009 Oct 19
7
Running dtrace sript for defined period of time?
Hello,
I''m building some simple monitoring tools to watch zfs storage servers.
Is this possible to run dtrace script for example 10 seconds? (Of course it is, I just trying to figure out how). Right know it has to be stopped by "CTRL-C"
I''m particulary interested in scripts like iscsiio.d, iscsiwho.d from
2010 May 18
2
Fatal error that doesn't let me start R
Hi, all.
I have R installed in my computer. I guess I did something in my previous
session, and now every time I start R, I find the following message:
"Fatal error: unable to restore saved data in .RData"
I uninstalled R and installed it again and I'm still getting this message.
Can anyone help me?
Gilbert
2012 Aug 24
3
mgcv package, problems with NAs in gam
Hi there,
I'm using presence-absence data in a gam (i.e. 0 or 1 as values)
I am trying to run a gam with 'dummy covariates' i.e. 1~1
unfortunately my model:
*
model<-gam(1~1, data=bats, family=negbin)*
keeps putting out:
*
Error in gam(1 ~ 1, data = bats, family = negbin) :
Not enough (non-NA) data to do anything meaningful*
Is there a specific reason it would do this? I have
2011 Jun 25
1
Moving average in a data table
Hi,
I'm trying to figure out common approach on calculating MA on a dataset
that contains column "time".
After digging around, I believe functions rollmean and rollaply should
be used.
However I don't quite understand the requirements for the underlying data.
Should it be zoo object type? Formatted in a special way?
As an example, I'm looking to get calculated
2006 Jul 02
2
nil.- what the heck...
Okay first off here''s the error:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.-
Here''s the code in the model:
def highest_bid
@bid = nil
@oldbid = 0
self.bids.each do |bid|
if @bid == nil
@bid = bid.max
else
if bid.max > @bid
@oldbid,@bid =
2006 Jul 06
2
@oldbid = 0 why?
Okay I''ve been working on a little biding system. In my model I have
class Item < ActiveRecord::Base
has_many :bids
def highest_bid
@bid = 0
self.bids.each do |bid|
if @bid == nil
@bid = bid.max
else
if bid.max > @bid
@oldbid,@bid = @bid,bid.max
end
end
end
if @oldbid == 0
"#{@bid} - #{@oldbid+1} = #{@bid -= @oldbid+1}"
else
dif =
2010 Oct 04
3
Loop too slow for Bid calc - BUT cannot figure out how to do with matrix
Hi,
I am trying to create Bid/Ask for each second from a high volume stock and
the only way I have been able to solve this is using loops to create the
target matrix from the source tick data matrix. Looping is too slow and
not practical to use on multiple stocks. For example:
Bids Matrix (a real one is 400,000++ length):
Bid Time
10.03 11:05:03.124
10.04 11:05:03.348
10.05
2006 Nov 17
2
Data table in C
After getting one list done, I am now struggling to form a data frame in C.
I tried to do a list of lists which gives me :
$<NA>
$<NA>[[1]]
[1] "BID"
$<NA>[[2]]
[1] 0.6718
$<NA>[[3]]
[1] 3e+06
$<NA>
$<NA>[[1]]
[1] "BID"
$<NA>[[2]]
[1] 0.6717
$<NA>[[3]]
[1] 5e+06
$<NA>
$<NA>[[1]]
[1] "BID"
2012 Mar 25
2
Weird POSIXct behaviour
Friends
I have an xts that I wish to access.
Browse[2]> DATA.ba[[p]]["2012-03-20 00:59:57","bid"]
bid
2012-03-20 00:59:57 1.4993
So far so good.
Now putting the index into a variable:
Browse[2]> Time
[1] "2012-03-20 00:59:57 NZDT"
Browse[2]> DATA.ba[[p]][Time, "bid"]
bid
Where has it gone?
Looking closer....
2012 Jul 09
1
Using the effects package
I've been looking into the effects package and it seems to be a great tool
for plotting the probabilities of the
response variable by the predictors. However, I'm wonder if I can use the
effects package to plot the probabilities
on the y axis and one predictor on the x axis, with the curve having the
info for another predictor.
So let's say our response variable is win, a binary
2005 Jun 25
2
observing a habtm association
Is there some way to observe when an association is added in a habtm
relationship?
I know I could turn the relationship into a model, but I don''t want to
give up using
:include in my finds...
joshua
2012 Aug 08
1
Calculating percentages across multiple columns
I have the following data and am trying to find the percentage of bid
values purchased for that price.
So let's say I have a bid of 5 and it's sold 2 times for $3 and $5. Since
the original bid was $5, the
percentage of times that that bid value results in a sold purchase AT that
specific bid level was
1/3 because of the three time where the bid was three, it ended up being
sold for $5
2012 Jul 05
2
Plotting the probability curve from a logit model with 10 predictors
I have a logit model with about 10 predictors and I am trying to plot the
probability curve for the model.
Y=1 = 1 / 1+e^-z where z=B0 + B1X1 + ... + BnXi
If the model had only one predictor, I know to do something like below.
mod1 = glm(factor(won) ~ as.numeric(bid), data=mydat,
family=binomial(link="logit"))
all.x <- expand.grid(won=unique(won), bid=unique(bid))
y.hat.new
2012 Sep 15
4
how to view only readings of a selected data from a column while the other columns remain
Hi Friends
I am new here and have a problem
Year Market Winner BID
1 1990 ABC Apple 0.1260
2 1990 ABC Apple 0.1395
3 1990 EFG Pear 0.1350
4 1991 EFG Apple 0.1113
5 1991 EFG Orange 0.1094
For each year and separately for the two
2003 Jan 21
2
WARNING : no network interfaces found.
i get the following error
WARNING : no network interfaces found.
when i run smbclient or nmblookup etc.
the following is the settings in my computer.
workgroup = TRIDENTMUMBAI
security = domain
password server = 10.160.128.152
netbios name = smbsys
interfaces = 192.168.1.225
encrypt passwords = yes
--
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy the
2005 Feb 08
2
Data manipulation
Content-Type: text/plain; charset="iso-8859-1"
Received-SPF: none (hypatia: domain of hellik at web.de does not designate permitted sender hosts)
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hypatia.math.ethz.ch id j186djX0017423
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
2006 Nov 21
1
Is there any way to know when a field is blank
I have many text files in the format below and in certain rare instances
such as below there can be nothing in one of the fields so
a double comma is written but I won't know this because I am reading in
many,many files sequentially.
# TEXT FILE
2004-02-10 00:01:31.00000,,105.60000000
2004-02-10 00:01:32.00001,,105.60000000
2004-02-10 00:01:45.00000,,105.60000000
2004-02-10
2017 Dec 01
2
Using Scalar Evolution to Identify Expressions Evolving in terms of Loop induction variables
Hi,
I am using Scalar Evolution to extract access expressions (for load and store instructions) in terms of the loop induction variables.
I observe that the Scalar Evolution analysis is returning more expressions than I expect - including ones that are not defined
in terms of the loop induction variable. For instance in the following code:
for(unsigned long int bid = 0; bid < no_of_queries;
2006 Oct 28
1
labelling of horizontal axis in acf function
this one is not a false alarm like my previous message.
i have cut and paste the code below so if anyone could run it would be
appreciated. basically,
my question is why the horizontal axis of the acf plot is labelled with
such huge numbers when
the labels should be 1 through 10 since may lag.max = 10 ?
i looked at the cdoe of acf but it was pretty much beyond me. i think it
has something to