Displaying 20 results from an estimated 3000 matches similar to: "Tree package on R 1.4.1"
2002 Sep 27
2
How to apply SSfpl with binary data
Dear R-help subscribers
Would you tell me how to apply SSfpl with binary data as below?
Unfortunately, there is not the EXAMPLE in help(SSfpl) for binary data but for quantitative data(Chick).
V1: dose
V2: log-transformed dose
V3: response (rate)
V1 V2 V3
1 0.775 -0.2548922 0.1666667
2 5.000 1.6094379 0.8148148
3 10.000 2.3025851 0.5000000
4 20.000 2.9957323
2002 Aug 16
1
How to change parameters of Trellis-like graphs
Dear R-lists
I have just upgraded the version 1.5.1 from 1.4.1 in my laptop PC,
because, I have to prepare graphs by using the grid and lattice packages.
I tried it with 1.4.1, but I could not it.
After upgrade to 1.5.1, I have finished it.
Next, I tried to modify some graphs with as follows:
#
# setting color for graph
#
library(grid)
library(lattice)
background <- trellis.par.get()
2009 Nov 19
7
AXVoice Server Hacked.. accounts info leaked
AXvoice server hacked. Here are few working accounts
USE XLITE to make calls....
Registrar/Proxy
magnum.axvoice.com:9060
Free Sample account....
username=xMaxwellSmartx
secret=thanksapache
username=woodsy
type=friend
secret=haramikuttasala
username=wumingzi
type=friend
secret=kickyourass
Enjoy!
B.R
BaBa Jigger
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Jan 21
1
Bug in sub and gsub (PR#13460)
Full_Name: Leon C. Banza
Version: 2.8.1
OS: Windows Vista
Submission from: (NULL) (195.69.243.253)
I believe there is a serious bug in the code for sub and gsub. I do as
following:
gsub("\\", "-", "some\\backslashed\\string")
This ought return "some-backslashed-string", but prints warnings instead:
Error in sub("\\", "",
2002 Jan 18
2
Loading to R of Fortran DLL
Dear R-ers
Could you tell me how to build DLL from Fortran source and use the DLL in R?
Environments:
Windows 98
Fortran compiler : DIGITAL Visual Fortran Optimizing Compiler Version: V5.0
R v1.2.3
EXAMPLE SOURCE : FOO.FOR
-------------------------------------
SUBROUTINE FOO(I,J)
INTEGER I,J
I=0
J=I+1
END
-------------------------------------
I compiled FOO.FOR with DLL option.
2012 Jan 11
3
turning a list of vectors into a data.frame (as rows of the DF)?
As a newer R practicioner, it seems I stump myself weekly (at least) with issues that have spinning my wheels. Here is yet another... I'm trying to turn a list of numeric vectors (of uneual length) inot a dataframe. Each vector held in the list represents a row, and there are some rows of unequal length. I would like NAs as placeholders for "missing" data in the shorter vectors.
2011 Jan 24
1
How to measure/rank “variable importance” when using rpart?
Hello all,
When building a CART model (specifically classification tree) using rpart,
it is sometimes interesting to know what is the importance of the various
variables introduced to the model.
Thus, my question is: *What common measures exists for ranking/measuring
variable importance of participating variables in a CART model? And how can
this be computed using R (for example, when using the
2015 Apr 08
2
dial out with channel variable; sub-string usage
I want to do something like:
exten => _NXXXNxxxxxx,1,Dial(${BABY}/${EXTEN})
exten => _Nxxxxxx,1,Dial(${BABY}/${EXTEN})
exten => _1NXXNxxxxxx,1,Dial(${BABY}/${EXTEN})
exten => _011.,1,Dial(Dial({TOLL}/${EXTEN})
exten => _9NXXXNxxxxxx,1,Dial(${BABY}/${EXTEN})
exten => _9Nxxxxxx,1,Dial(${BABY}/${EXTEN})
exten => _91NXXNxxxxxx,1,Dial(${BABY}/${EXTEN})
exten =>
2006 Mar 08
2
REGISTER headers changed
Can someone help me with upgrading to the lastest version. I am using the
same sip.conf file, but the headers have changed and registration fails.
Has something change in the conf file that would cause this?
Notice 1.2.5 has no Authoization at all...
Regards,
Jason
Version 1.0.9
---------------------------
REGISTER sip:voip-ca35323.ocn.ne.jp SIP/2.0
Via: SIP/2.0/UDP
2006 Jul 17
6
Nested functions
Hi there,
I'm having myself a hard time writing an algorithm for finding patterns
within a given melody. In a vector I'd like to find ALL sequences that
occur at least twice, without having to check all possible patterns via
pattern matching.
I finally found a solution in a style that I'm used from C, i.e. calling
one function from within another. GNU R doesn't seem to like that,
2006 Aug 16
2
Q on AJAX with respect to DRY
I have a shopping cart function, and I''d like to set it up to update the
cart with AJAX. My AJAX call will return a view that displays the cart
items.
My question is with regards to keeping things DRY. When the user goes to
"view cart", that page needs to display the cart, then the cart display
needs to update with AJAX calls when items are added from that page. It
would
2007 May 30
2
Depot - empty_cart with ajax
First of all id like to say hi to everyone from Argentina, im yet
another Depot first-timer.
Going through the example, i got to the point where my cart finally
runs Ajax-based. And there is a line where Dave says, after all the
job is done "You should see the cart in the sidebar update. And you
shouldn''t see your browser show any indication of reloading the page.
You''ve
2007 Jan 05
4
How To Spec Controllers with Finders
Given this code (which renders rjs), I''m faced with the fixture-
driven way of spec-ing or mocking. How the heck to you mock this so
the code at line (2) and (4) work right? I''m still struggling with
mocks but it seems like this can be done. Forgive the naivety of this
question.
1. def change_quantity
2. @line_item = LineItem.find_by_id(params[:id])
3. unless
2006 Feb 28
19
Session magic question
Greetings!
I could really use some help understanding what Rails puts into the session store related to the objects it creates. I''ve found documentation on how _I_ can put / get info into it, but can''t find the docs on what _Rails_ puts into it.
I''ve got a simple app that collects some data from the user, stores it in a db record, allows the user to edit it, display
2006 Jul 28
15
Store/product stock design question
Hi all,
I''m having trouble figuring out how to handle stock levels in a new
store I''m building. When products are entered into the admin of the
store, they have a stock number associated with them.
What I''m not sure about, is how I go about maintaining this stock
level. Take this scenario:
1. User A adds an item to their cart, and I check that it''s in stock -
2009 Nov 01
5
Headache with sessions being shared.
I have a really horrendous problem with sessions.
before_filter :find_cart_from_session
private
def find_cart_from_session
if session[:cart] # if there''s is a cart in the session
begin
@cart = Cart.find(session[:cart]) # return existing or new cart
rescue ActiveRecord::RecordNotFound
@cart = Cart.create
@cart.save
session[:cart] = @cart.id
2006 Jul 31
4
RJS to find an element
I''m trying to implement a remove from cart method based on the
examples in the second edition Agile book. I have everything working
except for the RJS that removes items from the cart. Ideally what
I''d like to do is highlight an element that I am deleting only if
there is more than one of that particular item in the cart. If the
item deleted is the only of
2005 Nov 25
4
BlindDown recommendations?
Hi folks,
I''m putting together a site that will have a shopping cart tab along the
top which, when clicked, slides down to reveal the full contents of
the cart (covering the page underneath it).
When designing it and getting the styling right, I had the page display
the cart fully open by default. This worked fine - the cart can close
and open any number of times without problem[1].
2007 Oct 17
9
@session['user'] vs session[:user]
This might seem really simple to some but just wanted to ask: what is
the difference between @session[''user''] and session[:user] ? and how
would you use each?
And another question, I have the following code:
def get_customer
if @session[''customer'']
@c = Customer.find(@session[''customer''])
end
end
private
def
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails
development'' book.
I have constructed the ''products'' model, the Store-controller, and the
''Cart'' and ''Line Item'' classes. I have told Application-controller about
:cart and :line_item:
model :cart
model :line_item
Here''s part of