search for: attractor

Displaying 15 results from an estimated 15 matches for "attractor".

2017 Nov 01
2
Function to save results
Hi Eric,I tried as you suggested but I could not find the output in the text file I created (attr.txt) net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") sink() attr <- getAttractors(net, type="asynchronous") ?Priya On Wednesday, 1 November...
2017 Nov 01
0
Function to save results
...te: > Hi,I want the results to be saved automatically in a output text file > after the script has finished running. > > I used the sink function in the following example, but the results file > (output.txt) was empty. > > net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all > genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")# > First I loaded theinput file for which I want to identify attractors > attr <- sink("C://Users//Priya//Desktop//Attractor analysis_all > genes//synaptogenesis//output.txt")# used...
2017 Nov 01
0
Function to save results
Hi Priya, You did not follow the logic of the pseudo-code. The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement. You need (possibly) to do: sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//attr.txt") net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt") attr <- getAttractors(net, type="asynchronous") sink() HTH, Eric...
2017 Nov 01
2
Function to save results
Hi,I want the results to be saved automatically in a output text file after the script has finished running. I used the sink function in the following example, but the results file (output.txt) was empty. net <- loadNetwork("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//regulationof_dopamine_signaling_submodule3.txt")# First I loaded theinput file for which I want to identify attractors attr <- sink("C://Users//Priya//Desktop//Attractor analysis_all genes//synaptogenesis//output.txt")# used the sink function to...
2017 Nov 01
3
Function to save results
...r at gmail.com> wrote: Hi Priya, You did not follow the logic of the pseudo-code.?The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement.You need (possibly) to do: sink("C://Users//Priya// Desktop//Attractor analysis_all genes//synaptogenesis//attr. txt") net <- loadNetwork("C://Users//Priya/ /Desktop//Attractor analysis_all genes//synaptogenesis// regulationof_dopamine_ signaling_submodule3.txt")attr <- getAttractors(net, type="asynchronous") sink() HTH,Eric ? On Wed,...
2017 Nov 01
0
Function to save results
...r at gmail.com> wrote: Hi Priya, You did not follow the logic of the pseudo-code.?The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement.You need (possibly) to do: sink("C://Users//Priya// Desktop//Attractor analysis_all genes//synaptogenesis//attr. txt") net <- loadNetwork("C://Users//Priya/ /Desktop//Attractor analysis_all genes//synaptogenesis// regulationof_dopamine_ signaling_submodule3.txt")attr <- getAttractors(net, type="asynchronous") sink() HTH,Eric ? On Wed,...
2017 Nov 01
1
Function to save results
Hi David,Thank you for the example.When I try to use the cat function, I get an error cat(attr<-getAttractors(net, type="asynchronous"))Error in cat(attr <- getAttractors(net, type = "asynchronous")) : argument 1 (type 'pairlist') cannot be handled by 'cat' Please let me know, if I have used the function in right way?. Thank you Priya ? On Wednesday...
2011 Dec 23
2
missing value where TRUE/FALSE needed
...FindGradient <- function(x){ XmY <- t(x - t(X)) sqsum <- rowSums(XmY * XmY) K <- sapply(sqsum, Kexp) dens <- ((c1 * c3) ** -1) * sum(K) grad <- -1 * ((c1 * c2) ** -1) * colSums(K * XmY) return (list(gradient = grad, density = dens)) } attractors <- matrix(0, n.rows, n.cols) densities <- matrix(0, n.rows) > density.attractors <- sapply(rep(1:n.rows), function(i) { notconverged <- TRUE # For each row loop through and find the attractor and density value. x <- (X[i, ]) iters <- as.integer(...
2017 Nov 01
0
Function to save results
...ted out put that results from those commands. It will not save attr, but you did not ask how to do that. David C On Nov 1, 2017 12:21 PM, Priya Arasu <galaxie2485 at yahoo.co.in> wrote: Hi David, Thank you for the example. When I try to use the cat function, I get an error cat(attr<-getAttractors(net, type="asynchronous")) Error in cat(attr <- getAttractors(net, type = "asynchronous")) : argument 1 (type 'pairlist') cannot be handled by 'cat' Please let me know, if I have used the function in right way?. Thank you Priya On Wednesday, 1...
2003 Aug 04
3
Breusch-Godfrey Test
> Dear R Helpers! > > bgtest{lmtest} performs the Breusch-Godfrey test for higher > order serial > correlation. > > Is the Higher Order Correlation function already programmed in > R I couldn't find it? > > Sergei Petrov > ?acf ?pacf HTH, Bernhard ---------------------------------------------------------------------- If you have received this e-mail
2018 Sep 20
4
Bias in R's random integers?
...starting to be convinced that the default sample() should > be fixed. I find this discussion fascinating. I normally test random numbers in different languages every now and again using various methods. One simple check that I do is to use Michal Zalewski's method when he studied Strange Attractors and Initial TCP/IP Sequence Numbers: http://lcamtuf.coredump.cx/newtcp/ https://pdfs.semanticscholar.org/ adb7/069984e3fa48505cd5081ec118ccb95529a3.pdf The technique works by mapping the dynamics of the generated numbers into a three-dimensional phase space. This is then plotted in a graph so t...
2018 Sep 21
0
Bias in R's random integers?
...at the default sample() should > > be fixed. > > I find this discussion fascinating. I normally test random numbers in > different languages every now and again using various methods. One simple > check that I do is to use Michal Zalewski's method when he studied Strange > Attractors and Initial TCP/IP Sequence Numbers: > > http://lcamtuf.coredump.cx/newtcp/ > https://pdfs.semanticscholar.org/ > adb7/069984e3fa48505cd5081ec118ccb95529a3.pdf > > The technique works by mapping the dynamics of the generated numbers into a > three-dimensional phase space. Th...
2009 Apr 03
4
embed?
I have a question on the function 'embed'. I ran the example x <- 1:10 embed(x, dimension=3) This gives the output: [,1] [,2] [,3] [1,] 3 2 1 [2,] 4 3 2 [3,] 5 4 3 [4,] 6 5 4 [5,] 7 6 5 [6,] 8 7 6 [7,] 9 8 7 [8,] 10 9 8 I don't quite understand the output and why it is useful. First, there are only 8
2018 Sep 21
3
Bias in R's random integers?
...) should >>> be fixed. >> >> I find this discussion fascinating. I normally test random numbers in >> different languages every now and again using various methods. One simple >> check that I do is to use Michal Zalewski's method when he studied Strange >> Attractors and Initial TCP/IP Sequence Numbers: >> >> http://lcamtuf.coredump.cx/newtcp/ >> https://pdfs.semanticscholar.org/ >> adb7/069984e3fa48505cd5081ec118ccb95529a3.pdf >> >> The technique works by mapping the dynamics of the generated numbers into a >> three-d...
2018 Sep 20
5
Bias in R's random integers?
On 9/20/18 1:43 AM, Carl Boettiger wrote: > For a well-tested C algorithm, based on my reading of Lemire, the unbiased > "algorithm 3" in https://arxiv.org/abs/1805.10941 is part already of the C > standard library in OpenBSD and macOS (as arc4random_uniform), and in the > GNU standard library. Lemire also provides C++ code in the appendix of his > piece for both this and