Displaying 20 results from an estimated 1100 matches similar to: "qr.qy and qr.qty give an error message when y is integer and LAPACK=TRUE"
2007 May 15
2
QR Decompositon and qr.qty
Dear R people,
I do not have much knowledge about linear algebra but currently I need
to understand what the function qr.qty is actually doing. The
documentation states that it calculates t(Q) %*% y via a previously
performed QR matrix decomposition.
In order to do that, I tried following basic example:
m<-matrix(c(1,0,0,0,1,0,0,0,1,0,0,1),ncol=3) # 4x3 matrix
2011 Aug 23
0
Matrix:::qr.qy and signature(qr = "sparseQR", y = "dgCMatrix")
> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Matrix_0.999375-50 lattice_0.19-30
loaded via a namespace (and not attached):
[1] grid_2.13.1
2004 Mar 01
0
se.contrast ....too hard??? .... Too easy????? .....too trivial???? ...... Too boring.....too????????
Hi all,
Regular and avid readers of this column will know that Don Driscoll and
I have recently posted two messages requesting assistance concerning an
apparent failure of "se.contrast" to produce an se for a contrast. So
far, an ominous silence rings in our ears, but read on Gentle Reader,
and see if even the machinations of "debug" doesn't stimulate you to
respond with a
2014 Oct 07
1
Issue installing Matrix Package
Hi,
I installed R-3.1.1 on AIX-5.3 and my installation hanged up while
installing Matrix Package.
so i killed the gmake ; gmake install the software nad tired installing
Matrix package manually -
[ncmr0202][/gpfs1/home/shivali/gang/R-3.1.1/bin/package]>
/gpfs1/home/shivali/gang/R-3.1.1/bin/R CMD INSTALL Matrix
the package compiled successfully but while loading Matrix package the
2011 May 27
1
Unable to Plot using headers.
Hello List!
Thank you for your input so far. I have successfully imported my data
into R but have hit a snag in plotting. Simple plot commands are unable
to find my headers when I try and plot my data on an x/y scatter.
My data is a 2 column 8000 row table (saved as .txt file) imported into
R.
>demand=read.delim("C:\\Documents and Settings\\E066582\\My
2006 Jul 13
8
can''t convert true into integer
I have a method:
? def reduceProuctInventoryBy(product_id, reduction)
? ? t=Product.find(:first, :conditions =>["id = ?", product_id])
? ? t.qty=(t.qty-reduction)
? ? t.save
? end
and the model:
class Product < ActiveRecord::Base
? validates_presence_of :qty, :specialDescription
? validates_numericality_of :qty
end
but when i run my method, I get this:
"can''t
1999 Feb 09
1
bug on cancor (PR#116)
When I use the function cancor of mva package, I found that it doesn't
work when one of the matrix has only one column, or both have only
one column. The function in Splus 5 with the same name works under those
situations.
The version of R I am using is 0.63.2 (released on Jan., 1999) on Solaris.
Kenny Ye
Assistant Professor
Department of Applied Math and Statistics
SUNY at Stony Brook
2001 Mar 22
1
lazy evaluation and DUP=F
I am having some difficulty understanding the implication of lazy evaluation mixed
with DUP=F in a .Fortran call. In qr.qty from base DUP is not used as an argument so
defaults to T. I am calling qr.qty with a very large array and would like to set
DUP=F in the .Fortran call so that qr.qty would be defined as copied below. Is there
some risk that a variable used as the argument in the original
2009 May 27
4
Sale, pop and product
Hi,
I couldn''t find a better word for pop, but let''s go:
There are 3 models: sale, pop and product
sale:
-total:integer
pop:
-quantity:integer
-discount:float
product:
-name:string
-price:float
A sale can have many different products, each one has a quantity and
discount associated.
So each sale has_many :products through => pops
And each product has_many :sales
2011 May 27
1
FW: FW: Unable to Plot using headers (converting to Numeric)
I tried command
as.numeric(Qty) #converting column"Qty" in object "demand" to
numeric. However it remains a non-numeric value.
What is the best way to convert a column of data to a numeric value in
R?
What is the best way to convert dates into a numeric format (or some
format able to be used in an x,y scatter) while still maintaining its
inherent "date" property?
2011 May 27
1
FW: Unable to Plot using headers.
-----Original Message-----
From: Struckmeier, Nathanael
Sent: Friday, May 27, 2011 1:39 PM
To: 'stephen's mailinglist account'
Subject: RE: [R] Unable to Plot using headers.
Thanks for the input. Despite both graphing directly and with "attach" I
am still getting a screwed up graphical output as well as an error.
My table is object "demand" w/ columns Date and
2006 Apr 07
3
RJS removing content of div, but not div itself
Hi,
I''m creating a list of ingredients on a page. When the user clicks the ''Add Ingredient'' button a record gets added to the db and the ingredient gets added to the page. On the page, each record is represented by a <div> with three <span>s inside. One of the <span>s has a link_to_remote to ''delete'' the ingredient. When the link
2012 Aug 20
1
function case in sqldf (datas from oracle) with a null value
I use sqldf to join 2 dataframes from 2 distinct databases : a and b come
from old sqldf's.
sqldf("select a.*, b.*, case a.QTY when null then b.QTY else a.QTY end as
NEW_QTY"
from a inner join b on a.OBJECT=b.OBJECT")
R doesn't understand "when null". I tried with "when NA", "when '' ", "when
' ' " but it doesn't
2005 Dec 20
1
nls problem
Hi list,
I tried to use nls to do some nonlinear least square fitting on my data with
340 observations and 10 variables, but as I called nls() function, I got
this error message:
Error in qr.qty(QR, resid) : 'qr' and 'y' must have the same number of rows
Then I traced back a little bit into nls() function, the error seemed to
happen when calling nlsiter() internal function, but
2010 Jun 23
2
Analyzing large transition matrix
Let's say you have a dataframe of car trade-ins. For example, each row
contains
oldcar newcar qty
and a typical entry could be
lexus bmw 1
I put the qty column to allow for fleet purchases, where one purchase
may convert multiple cars at once.
I'd like to show what's going on. I could do a histogram of newcar to
show the frequency each type of car is bought. If there
2009 Nov 12
0
QR-decomposition using the base package vs. Matrix package
I need to perform a QR-decomposition of a sparse matrix, so I've been
trying to use the Matrix package. Unfortunately I don't seem to be getting
exactly the same results as if I had used the qr() command from the base
package. Here is an example of what I'm doing.
> spdata <-rpois(50,1)
> y <- rnorm(10,0,1)
> S <-
2011 Apr 18
1
how to update data
hi, I have json string in json request.
i want to update the database using that string.
how can i do that?
There would be a multipal object in this string.
sample string is:
2003 Apr 23
2
Problems with dri/drm using Radeon 7000 VE in -stable
Hi,
I tried applying
http://people.freebsd.org/~anholt/dri/files/drm-stable-20030411.diff to
stable from today (using device radeondrm and options DRM_LINUX).
Kernel reports drm seems to be there:
drm0: <ATI Radeon QY RV100 VE> port 0x9000-0x90ff mem
0xed000000-0xed00ffff,0xe$
info: [drm] Initialized radeon 1.8.0 20020828 on minor 0
Now, when I try to start XFree86 everything looks fine
2006 Apr 20
5
strange mysql problem
i have this model:
class LineItem < ActiveRecord::Base
belongs_to :quote
end
in the console:
>>l = LineItem.create
ActiveRecord::StatementInvalid: Mysql::Error: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '' , , , )'' at line 1:
INSERT INTO line_items (`qty`, `quote_id`,
2006 Mar 17
1
How to update values in database in this form?
Hi,
This is my rHtml page & Corresponding actions & model pages:-
===listform.rHtml=================
<h1>Products List</h1>
<%= start_form_tag(:action => "add_to_cart")%>
<table>
<tr>
<%
i=0
%>
<th>
Product No.
</th>
<th>
Unit Price
</th>
<th>
Available Qty.
</th>
<th>
Demand Qty.
</th>