Displaying 20 results from an estimated 9000 matches similar to: "Explain how it gets back out?"
2011 Jul 23
2
An infinite recursion error please explain!
Probability <- function(N, f, w, b, y, t, q) {
#N is the number of lymph nodes
#f is the fraction of Dendritic cells (in the correct node) that have the
antigen
#w is time in terms of hours
#b is the starting position (somewhere in the node or somewhere in the gap
between nodes. It is a number between 1 and (x+t))
#y is the number of time steps it takes to traverse the gap (8hr/y)
#t is
2011 Aug 17
1
Why does the graph converge?
I have a set of functions:
Probability <- function(N, f, w, b, l, n, q) {
#N is the number of lymph nodes
#f is the fraction of Dendritic cells (in the correct node) that have the
antigen
#w is time in terms of hours
#b is the starting position (somewhere in the node or somewhere in the gap
between nodes. It is a number between 1 and (x+t))
#q is the length of the time step
#l is the LN
2011 Jul 11
1
Summation resulting in a list?
Probability <- function(N, f, m, b, x, t) {
#N is the number of lymph nodes
#f is the fraction of Dendritic cells (in the correct node) that have the
antigen
#m is the number of time steps
#b is the starting position (somewhere in the node or somewhere in the gap
between nodes. It is a number between 1 and (x+t))
#x is the number of time steps it takes to traverse the gap
#t is the number
2011 Jun 04
1
nonparametric logistic regression based on locally weighted scatterplot smoothing (lowess)
Dear UseRs:
Recently, I have read an article regarding the association between age and
lymph node metastases.
http://jco.ascopubs.org/content/27/18/2931.long
In statistical analysis, the authors stated "Because a nonlinear
relationship between age and lymph node involvement was expected based on
existing literature, lymph node involvement was also regressed on age using
nonparametric
2011 Jul 13
1
exponent function help??
I'm trying to make a function that will output the exponent... so f2(2,2) = 4
and f2(2,3)=8. But I don't want to just use the x^n function, I want to do
it another way, and without a recursion. I did the follow code but for some
reason it doesn't work. Help please?
f2 <- function(x, n) #without recursion {
y <- 1
if (n==0) {return(1)} else {
if (length(y) < (n+1) {
y
2002 Mar 23
4
Antigen Notification:Antigen found FILE FILTER= *.pif file
Antigen for Exchange found Gizn.pif matching FILE FILTER= *.pif file filter.
The file is currently Purged. The message, "Have a humour Lady Day", was
sent from konkurs and was discovered in IMC Queues\Inbound
located at WRQ/Seattle/ABRA.
2006 Jan 27
2
Antigen forwarded attachment
The entire message "Re: [R] regular expressions, sub", originally sent to you by r-help-bounces at stat.math.ethz.ch (r-help-bounces at stat.math.ethz.ch), has been forwarded to you from the Antigen Quarantine area.
This message may have been re-scanned by Antigen and handled according to the appropriate scan job's settings.
<<Entire Message.eml>>
-------------- next
2004 Dec 14
1
Antigen forwarded attachment
The entire message "[R] Several questions in R", originally sent to you by r-help-bounces at stat.math.ethz.ch (r-help-bounces at stat.math.ethz.ch), has been forwarded to you from the Antigen Quarantine area.
This message may have been re-scanned by Antigen and handled according to the appropriate scan job's settings.
<<Entire Message.eml>>
-------------- next part
2001 Feb 17
1
Antigen found Unknown (?) virus
Antigen for Exchange found term_on_rekey_rq.patch infected with Unknown (?) virus.
The file is currently Detected. The message, "terminate on re-key request (patch)", was
sent from Marko Asplund and was discovered in SMTP Messages\Inbound
located at Unknown/Unknown/MSMAIL.
2010 Sep 07
0
AHRQ - Creation of Comorbidity Variables
If there are any other users who use AHRQ's SAS code comoanaly2010 and
comformat2010 to create comorbidity variables, I thought you might be
interested in the following PRELIM code we wrote to mimic its functionality
in R. It seems to yield similar results, but may contain errors. Please feel
free to comment (kindly) or enhance. I'm sure there are better ways to skin
this cat, but we at
2018 Feb 11
4
Parallel assignments and goto
Hi guys,
I am working on some code for automatically translating recursive functions into looping functions to implemented tail-recursion optimisations. See https://github.com/mailund/tailr
As a toy-example, consider the factorial function
factorial <- function(n, acc = 1) {
if (n <= 1) acc
else factorial(n - 1, acc * n)
}
I can automatically translate this into the loop-version
2018 Feb 27
2
Parallel assignments and goto
Interestingly, the <<- operator is also a lot faster than using a namespace explicitly, and only slightly slower than using <- with local variables, see below. But, surely, both must at some point insert values in a given environment ? either the local one, for <-, or an enclosing one, for <<- ? so I guess I am asking if there is a more low-level assignment operation I can get my
2018 May 09
0
Pruning a dendrogram based on frequencies
Hi Franklin,
plot.dendrite was not designed to be pruned. I have had a look at the
problem, and I may be able to suggest a way to drop values in the
"dendrite" object that is the input to plot.dendrite. I'll let you
know.
Jim
On Tue, May 8, 2018 at 11:46 PM, Franklin Mairura via R-help
<r-help at r-project.org> wrote:
> How can one prune a dendrogram (plot.dendrite,
2018 Feb 26
0
Parallel assignments and goto
Following up on this attempt of implementing the tail-recursion optimisation ? now that I?ve finally had the chance to look at it again ? I find that non-local return implemented with callCC doesn?t actually incur much overhead once I do it more sensibly. I haven?t found a good way to handle parallel assignments that isn?t vastly slower than simply introducing extra variables, so I am going with
2018 Feb 27
0
Parallel assignments and goto
No clue, but see ?assign perhaps if you have not done so already.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 27, 2018 at 6:51 AM, Thomas Mailund <thomas.mailund at gmail.com>
wrote:
> Interestingly, the
2018 Feb 11
0
Parallel assignments and goto
> On Feb 11, 2018, at 7:48 AM, Thomas Mailund <thomas.mailund at gmail.com> wrote:
>
> Hi guys,
>
> I am working on some code for automatically translating recursive functions into looping functions to implemented tail-recursion optimisations. See https://github.com/mailund/tailr
>
> As a toy-example, consider the factorial function
>
> factorial <-
2018 May 08
2
Pruning a dendrogram based on frequencies
How can one prune a dendrogram (plot.dendrite, plotrix) based on a minimum level of frequencies?. Franklin.?
[[alternative HTML version deleted]]
2003 Feb 14
2
factorial function
Sorry for the stupid question, but is there the factorial function in
R? I tried to find it using help.search('factorial') but got nothing
appropriate.
Many thanks,
-Serge
2007 Jul 26
5
ROC curve in R
Hi,
I need to build ROC curve in R, can you please provide data steps / code
or guide me through it.
Thanks and Regards
Rithesh M Mohan
[[alternative HTML version deleted]]
2012 Jun 12
1
Analyzing large files faster
I'm trying to analyze the following data set (sample):
"ID" "adj.P.Val" "logFC" "Gene.symbol"
"1419156_at" "5.32e-12" "2.6462565" "Sox4"
"1433575_at" "5.32e-12" "3.9417089" "Sox4"
"1428942_at" "2.64e-11"