Displaying 20 results from an estimated 4000 matches similar to: "R for Engineering (Mechanical, Industrial , Civil, etc.)"
2017 Jan 23
2
Early legalization pass ? Doing early legalization in an existing pass ?
Hi all,
Some non trivial legalization of operations which aren't supported by the
backend would benefit from having the optimizer pass on them. I noticed
some example trying to optimize various pieces of code over the past weeks.
One offender is the cttz/ctlz intrinsic when defined on 0. On X86, BSR and
NSF are undefined on 0, and only recent CPU have the LZCNT and TZCNT
instructions that
2017 Jan 24
3
Early legalization pass ? Doing early legalization in an existing pass ?
I may be wrong here, but legalizing early seems like something that is more
likely to prevent optimizations than it is to encourage them.
But I guess I don't follow why things like TTI, TII and TLI queries don't
suffice for this. CodeGenPrepare will break this sequence up. I would
imagine that if the target returns false for isCheapToSpeculateCtlz() and
false for canInsertSelect(), the
2001 Oct 04
1
sort data.frame and contour()
Dear all,
I would like to know if there is a function for sorting a data.frame based
on one column. sort() does it for a single vector but not for the whole
data. order() does it if there are relations between the columns but in my
case it is simply a data.frame.
Further, I would like to plot other data,
pop.size<- c(800, 800, 1500, 1000, 158, 300, 740, 250, 2000, 1500, 250, 700)
2008 Dec 16
1
Prediction intervals for zero inflated Poisson regression
Dear all,
I'm using zeroinfl() from the pscl-package for zero inflated Poisson
regression. I would like to calculate (aproximate) prediction intervals
for the fitted values. The package itself does not provide them. Can
this be calculated analyticaly? Or do I have to use bootstrap?
What I tried until now is to use bootstrap to estimate these intervals.
Any comments on the code are welcome.
2007 Dec 20
2
Multicore computation in Windows network: How to set up Rmpi
R-users,
My question is related to earlier posts about benefits of quadcore over
dualcore computers; I am trying to setup a cluster of windows xp
computers so that eventually I could make use of 10-20 cpu:s, but for
learning how to do this, I am playing around with two laptops.
I thought that the package snow would come handy in this situation, but
to use snow, I would probably need to install
2006 Jan 18
4
negative predicted values in poisson glm
Dear R helpers,
running the following code of a glm model of the family poisson, gives
predicted values < 0. Why?
library(MASS)
library(stats)
library(mvtnorm)
library(pscl)
data(bioChemists)
poisson_glm <- glm(art ~ fem + mar + kid5 + phd + ment, data = bioChemists,
family = poisson)
predicted.values = predict(poisson_glm)
range(predicted.values)
Thank you in advance for any hints.
2008 Nov 06
1
trouble with html help
I have this problem with R 2.6.1 and 2.7.1 (have not tried others)
running on Windows XP:
Html help has wrong links to help files. The index.html is correctly
found from
file:///C:/PROGRA~1/R/R-26~1.1/doc/html/index.html
as well as the search engine
file:///C:/PROGRA~1/R/R-26~1.1/doc/html/search/SearchEngine.html
However, when I search for, say, "paste", I will be pointed to
2008 Apr 25
2
force glm estimates to be nonnegative
Is there a way to force certain formula parameters to be nonnegative?
What I want to do is to estimate student capacity over time, namely by
> capacity ~ Student + Student:Day
I add this formula to a glm call and obtain negative learning slope estimates (Student:Day) in some cases.
However, I don't want to allow for that. In such a case, glm should solve
> capacity ~ Student
and
2007 Dec 28
4
Return Value of TCl/Tk window in R
Hello,
I have the TCl/Tk command
"tkmessageBox(titel="",message="x",icon="question",type="okcancel")" in my R
script. Now I want to perform some operation in relation to the user's
choice, something like
"if (okpressed) xxx else yyy"
What values does this command give and how are they used?
Thank you, Richard
--
Richard M?ller -
2004 Mar 04
0
WSEAS NEWSLETTER in MECHANICAL ENGINEERING
If you want to contact us, the Subject of your email must contains the code:
WSEAS
CALL FOR PAPERS -- CALL FOR REVIEWERS -- CALL FOR SPECIAL SESSIONS
wseas at canada.com
http://wseas.freeservers.com
****************************************************************
Udine, Italy, March 25-27, 2004:
IASME/WSEAS 2004 Int.Conf. on MECHANICS and MECHATRONICS
2011 Mar 07
4
png inside loop
hello list! I'm sorry, I just stumbled over this strange behaviour (at
least I am not able to explain the behaviour, therefore I assume it to
be a strange behaviour):
attach(water) # I know, this is not recommended
names(water[3:10])
[1] "temp" "pH" "DO" "BOD" "COD" "no3" "no2" "po4"
for (i in
2006 May 18
0
Re: WebServices and DateTime - 3 elements of civil date are
> -----Original Message-----
> From: rails-bounces@lists.rubyonrails.org
> [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of
> Chris Goodwin
> Sent: Thursday, May 18, 2006 2:24 PM
> To: rails@lists.rubyonrails.org
> Subject: [Rails] Re: WebServices and DateTime - 3 elements of
> civil date are
>
>
> Are you using Windows? I ran into the same problem.
2006 May 18
4
WebServices and DateTime - 3 elements of civil date are necessary
I simply trying to receive an array of objects, retrieved by
ActiveRecord from table with datetime column and I have:
test_list(SoapControllerApiTest):
ArgumentError: 3 elements of civil date are necessary
/usr/lib/ruby/1.8/date.rb:1214:in `new_with_hash''
/usr/lib/ruby/1.8/date.rb:1258:in `parse''
....
It''s a bug or I am wrong somewhere?
2005 Sep 13
0
[Re: civil emergency comms: Asterisk + HAM]]
-----Forwarded Message-----
From: IEG <dennis.andring@gmail.com>
To: derek@kfuq.net
Subject: Re: [Fwd: Re: [Asterisk-Users] civil emergency comms: Asterisk
+ HAM]
Date: Tue, 13 Sep 2005 03:04:42 -0700
The answer is a multiplexed terminal node controller (TNC) This was the
very thought behind "trunked" communications around 800mhz. Gee ...
there are a bunch of cell phone
2007 Oct 07
2
@dim = Date.civil(2007,8,1).day fails on OS X
the above line of code always produces an "invalid date" when run via a
controller on OS X, ROR v1.2.3 install via MacPorts.
I ran the same controller on Kubunut 7 with no issue
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core"
2009 Oct 31
1
Help me improving my code
Hi,
I am new to R. My problem is with the ordered logistic model. Here is my
question:
Generate an order discrete variable using the variable
wrwage1 = wages in first full calendar quarter after benefit application
in the following way:
*
wage*1*Ordered *=
1 *if*0 *· wrwage*1 *< *1000
2 *if*1000 *· wrwage*1 *< *2000
3 *if*2000 *· wrwage*1 *< *3000
4 *if*3000 *· wrwage*1 *<
2009 Apr 05
2
AGEod American Civil War vs. Wine 1.1.18
Hi,
I'm trying to run AACW (and WIA) under Ubuntu 8.10 x84. I installed Wine 1.1.18, Winetricks and installed AACW and patched the game up to 1.13b. Unfortenately, the game won't start because of an error ("Exception EAccessViolation dans le module AACW.exe dans 00004054. Violation d'access a l'adresse 00404054 dans le module 'AACW.exe'. Lecture de l'adresse
2010 Sep 30
7
how to make list() return a list of *named* elements
If I combine elements into a list
b <- c(22.4, 12.2, 10.9, 8.5, 9.2)
my.c <- sample.int(round(2*mean(b)), 5)
my.list <- list(b, my.c)
the names of the elements seems to get lost in the process:
> str(my.list)
List of 2
$ : num [1:5] 22.4 12.2 10.9 8.5 9.2
$ : int [1:5] 11 8 6 9 20
If I explicitly name the elements at list-creation, I get what I want:
my.list <- list(b=b,
2008 Dec 09
4
Pre-model Variable Reduction
Hello All,
I am trying to carry out variable reduction. I do not have information
about the dependent variable, and have only the X variables as it
were.
In selecting variables I wish to keep, I have considered the following criteria.
1) Percentage of missing value in each column/variable
2) Variance of each variable, with a cut-off value.
I recently came across Weka and found that there is an
2011 Mar 03
3
R usage survey
Hi R users,
I request members of the R community to consider filling a short survey
regarding the use of R.
The survey can be found at http://goo.gl/jw1ig
Please accept my apologies for posting here for a non-technical reason.
The data collected will be suitably analyzed and I'll post a link to the
results in the coming weeks.
Thank you all for your interest and for sharing your R usage