I'm pretty new to using R and I am certainly unsure on how to plug in and graph equations. For an example I have to plot the Goldmann-Hodgkin-Katz equation
(since my reputation is too low I can't send a nice equation so here's a link)
http://www.cnbc.cmu.edu/~bard/passive2/node3.html
This is for a neuroscience class and I'm pretty savvy with coding in java but struggle with terminal based languages.
Thanks for all your help!
To get started, check out http://stat.ethz.ch/R-manual/R-devel/library/graphics/html/curve.html.
Here is an example:
curve(3*x^2 + 2)
Related
My idea is to start using lp solve in order to solve a linear programming model. As a result, I studied the lp function and his components.
However, one thing which is not clear to me is how do I display all possible optimal solutions using lp solve in R without my variables be binary?
I would appreciate an easy example to better understand.
Thanks,
David
I've been searching paper about method review in graph clustering but not satisfied me,
please tell me what is best method (according to you) in graph clustering, so sorry if my question very general
Thanks
With such an open question, I guess I can recommend you to try WEKA.
It has a nice set of user interfaces to let you import your dataset and then try and compare various classification and clustering algorithms on your data, without writing even one line of code.
After you identified an algorithm that works for your problem, you can then search for a nice and fast implementation in the programming language of your choice.
EDIT: since you mentioned the graph tag, maybe you should have a look at Markov Cluster Algorithm, or else, you will have a hard time trying to represent your graph data in a format suitable for the distance based clustering algorithms in WEKA.
Is there a ready template to run evolutionary\genetic algorithms in R?
I am interested in a code that would allow me to add graphical output and user input between iterations.
Thanks for reading!
p.s. found this posting Is there any Genetic Programming code written R
I don't know about genetic programming code written in R, but there is a program called HeuristicLab you can use.
There you can add an External Evaluator in R code and there you can add your graphical output.
Here is a link on how to do it:
http://dev.heuristiclab.com/trac/hl/core/wiki/UsersHowtosOptimizingExternalApplications
Its an open source program and the staff that wrote it usually answers any question you have very quickly.
Here is the download page: http://dev.heuristiclab.com/trac/hl/core/wiki
good luck!
Yep, i think http://rsymbolic.org/projects/show/rgp is exactly what you're looking for.
This is really the very first try.. so all kind of suggestions are welcome. I am looking for software that recognizes a mathematical function from a bitmap / jpg. E.g. if you have the graph of some log(x) as jpg and you´d enter the x,y scales the program should tell that log(x) was used to create this. Maybe some OMR software might help, maybe it´s rather some math tool.
Is it possible at all?
If you have a bitmap - convert it to a 2 column data (for example "x y" of black pixels and ignore the white) set so that software can easily analyze it.
If you know the possible choice of functions that it could be (log, sin, exp) then you can use a simple minimization routine like Levenberg-Marquadt to fit a function and look at the fitness score (whichever one has lowest wins!)
If you have no idea what the function is - http://www.zunzun.com/
Good luck!
hi
you must creat a neural net(mlp or hopfield) then with a set of matrices:p for entry and t for target learning your net. after you sure of the performance of your net, you can use from yor net to recognize all picture(bitmap) that convert to a matrix. all of this possible in matlab, however you most first learn neural net.
I am doing matrix operations on large matrices in my C++ program. I need to verify the results that I get, I used to use WolframAlpha for the task up until now. But my inputs are very large now, and the web interface does NOT accept such large values (textfield is limited).
I am looking for a better solution to quickly cross-check/do math problems.
I know there is Matlab but I have never used it and I don't know if thats what will suffice my needs and how steep the learning curve would be?
Is this the time to make the jump? or there are other solutions?
If you don't mind using python, numpy might be an option.
Apart from the license costs, MATLAB is the state of the art numerical math tool. There is octave as free open source alternative, with a similar syntax. The learning curve is for both tools absolutely smooth!
WolframAlpha is web interface to Wolfram Mathematica. The command syntax is exactly the same. If you have access to Mathematica at your university, it would be most smooth choice for you since you already have experience with WolframAlpha.
You may also try some packages to convert Mathematica commands to MATLAB:
ToMatlab
Mathematica Symbolic Toolbox for MATLAB 2.0
Let us know in more details what is your validation process. How your data look like and what commands have you used in WolframALpha? Then we can help you with MATLAB alternative.