Displaying 20 results from an estimated 2500 matches similar to: "FW: FW: Unable to Plot using headers (converting to Numeric)"
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
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
2011 Jun 01
2
Problems Dating....
I'm trying to convert a column in a data frame with dates from a
"Factor" type to a "Date Object" but I am encountering and error. (I am
having trouble plotting an x,y scatter and I suspect it's something with
my data format). I have a table with two columns and 8,000 rows.
> dsort=read.delim("C:\\Documents and Settings\\E066582\\My
2011 May 26
1
R import glitch "missing data"
Hello!
I am trying import data into R and im running into a snag.
GOAL:
Import a 4 column, 8,000 row table into R including headers.
WHAT I'VE ATTEMPTED:
Original data was in Excel format.
Converted data to both a .txt and .csv (to see which worked better)
Imported data into R via commands as object "demand" (see below)
Please excuse the long file path.
2011 May 26
1
R-Size Limit (Confused)
Hello,
I've been banging my head against my monitor for some time now trying to
import data into R. The problem is either in my use of syntax, my data
format, or my memory. I have described what I have tried below. Please
help.
=========My GOAL==============================
>import a 4 column, 8,000 row table into R including headers.
=========WHAT I'VE
2011 Jan 03
13
Re: pvusb drivers for pvops 2.6.32.x kernel
Hello,
Jeremy: See the included patch. If it''s OK it''d be nice
to get it into xen/stable-2.6.32.x branch.
Thanks Nathanael!
-- Pasi
----- Forwarded message from Nathanael Rensen <nathanael@polymorpheus.com> -----
From: Nathanael Rensen <nathanael@polymorpheus.com>
To: Pasi Kärkkäinen <pasik@iki.fi>
Cc: n_iwamatsu@jp.fujitsu.com
Date: Mon, 3 Jan 2011
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
2012 Dec 03
1
qr.qy and qr.qty give an error message when y is integer and LAPACK=TRUE
With this example
set.seed(123)
A <- matrix(runif(40), nrow = 8)
y <- 1:nrow(A)
A.laqr <- qr(A, LAPACK=TRUE)
both qr.qy(A.laqr,y) and qr.qty(A.laqr,y) give the respective error messages
Error in qr.qy(A.laqr, y) : 'b' must be a numeric matrix
Error in qr.qty(A.laqr, y) : 'b' must be a numeric matrix
However when Lapack is not used as in
A.liqr <- qr(A,
2008 Aug 25
2
centos wiki doc in Chinese now start !
Hi?all friends here. I am Nathanael Lee from China.All of you can find my ID Nathanael in our community.It's very nice for me to meet all of you here.
I am an English interpretor freely worked in China.I am so lucky that in this year,I got Microsoft Community Influencer Certificate. In these 2 years,I keep my mind to focus on centos and make so many progress both in its daily use and server
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
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
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
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
2008 Mar 07
1
Re action Time and Time Series Analysis
Dear,
I need to analyse reaction time.
The general idea might be described as this: There are 8x8 circles. My
program light a circle at one time. The subject then click the lighted
circled as fast as possible. After the correct circle is clicked, then the
next circle will be lighted for the subject to click on, and so on.
My questions are:
1. May I use Time Series Analysis? I read that Time
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:
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>