search for: scionforbai

Displaying 20 results from an estimated 20 matches for "scionforbai".

2007 Dec 20
2
plot3d, wireframe, persp help
...(60,000 rows down) From my homework, the persp function only works with evenly spaced data points with the z data beeing in a matrix. my data is not in that format. the wireframe fxn gives me an error, no applicable method for "wireframe" the plot3d fxn I got working thanks to Scionforbai's help. However it does not represent the data like wireframe or persp would. Any help would be appreciated. thanks --------------------------------- [[alternative HTML version deleted]]
2007 Nov 24
5
how to calculate the return?
Hi, R-users, data is a matrix like this AMR BS GE HR MO UK SP500 1974 -0.3505 -0.1154 -0.4246 -0.2107 -0.0758 0.2331 -0.2647 1975 0.7083 0.2472 0.3719 0.2227 0.0213 0.3569 0.3720 1976 0.7329 0.3665 0.2550 0.5815 0.1276 0.0781 0.2384 1977 -0.2034 -0.4271 -0.0490 -0.0938 0.0712 -0.2721 -0.0718 1978 0.1663 -0.0452 -0.0573 0.2751 0.1372 -0.1346
2006 Oct 18
8
Automatic File Reading
Dear All, I am given a set of files names as: velocity1.txt velocity2.txt and so on. I am sure there must be a way to read them automatically in R. It is really taking me longer to read them than to analyze them. Anybody has a suggestion to help me out with this? Many thanks Lorenzo
2009 Jan 22
1
Accessing a c-level complicated structure from R
Hello, R-devel seems to be the appropriated list for what I'm to ask: soory if I'm wrong. I am a c newbie but nevertheless I am trying to 'couple' an extern c software with R. The compiled library is actually a stand-alone c program, which uses text file for input and output. It uses *lots* of differents and (to me) rather complicated and nested "struct"s to represent
2010 Dec 15
5
Solution to differential equation
Hello, I am trying to find the analytical solution to this differential equation dR/dt = k1*(R^k2)*(1-(R/Rmax)); R(0) = Ro k1 and k2 are parameters that need to fitted, while Ro and Rmax are the baseline and max value (which can be fitted or fixed). The response (R) increases initially at an exponential rate governed by the rate constants k1 and k2. Response has a S-shaped curve as a function
2007 Oct 16
9
Import from excel 2007
Hey Seniors, Really new to R, please has anyone imported a dataset from MS office excel 2007 into R yet? It seem to be giving me hard times which I did not expect as it use to go well with the previous versions. Thanks in advance. arnoldo --------------------------------- [[alternative HTML version deleted]]
2006 Dec 12
3
expression()
Hi, I'm trying to use expression() to write a text to a graphic in the margin. Using: mtext(expression(beta),side=1,line=2) writes a perfect beta greek character, but I need to add a subindex "max", and I'm trying: mtext(paste(expression(beta),"max"),side=1,line=2) simply writes "beta max" in the plot. Please, Could you tell me what I'm doing wrong?
2006 Dec 13
2
(no subject)
Hi, Let us suppose I have a list x = list () x $ name1 = 1 x $ name2 = 'a' in the work environment. Let us suppose that in the body of a function I want to acces to a component of x by using its name as argument of that function. How can this by done? For instance, I was expecting f = function ( name ) x $ name to output 1 ( that is, x $ name1 ) when I command f ( name1 ) or f (
2007 Oct 01
1
Speeding up image plots
Dear R-users, I wonder whether it is possible to speed up plots of 2-dimensional images (such as image() or levelplot()) in order to export lower quality versions of the resulting plots. I intend to export a large number of images in order to construct animated gifs. For this purpose, I used the png()-function in conncection with image() and levelplot(). But the underlying arrays are so big
2007 Nov 14
2
Generating log transformed random numbers
Dear R users, My question is that how it is possible to generate some random numbers using rnorm( ) function but in log transformed values. Thank you, Tobias --------------------------------- [[alternative HTML version deleted]]
2007 Dec 09
1
how to let R read different equations I write and execute it?
Hello All, I am a newcomer to R. Currently, I am trying to write an interactive code in R to let it read the equation which I write and execute the equation in a curve function. For example: I want to plot curve by using: curve (equation, -2,2, n=1000) what I want is that the R code ask me what equation I want to use (which I know how to write this code): then, I type for example 3*x. then 3*x
2007 Dec 18
1
3d plotting
I am trying to dp a 3d plot. I tried persp but my data is not a matrix. the 3dplot function returns this error, (list) object cannot be coerced to 'double' heres my code, td<-read.csv("td.csv", header=TRUE) price<-read.csv("price.csv", header=TRUE) contractdate<-read.csv("contractdate.csv", header=TRUE) library(rgl)
2007 Mar 06
1
Obtaining figures with exactly placed points
Dear list, I have to plot some geometrical shape given as list of points. My need is the following: let's say my shape is a 1 inch large square; how can I plot it with R in a graphic format that gives me an image *exactly* 1 inch large? I tried to set oma, mar and fin parameters, but with no success. I'm currently using the xfig driver for the final images are to be included in latex
2006 Dec 08
5
Remove " from a string
Hi all! I have lots of functions called in the following pattern 'NameOfFunctionNumber' where the name always stays the same and the number varies from 1 to 98. Another function which I run in advance returns the number of the function which has to be called next. Now I want to combine 'NameOfFunction' with the 'Number' returned so that i can call the desired function. I
2007 Oct 05
8
Linux editor for R+LaTeX, but not Emacs
Using Tinn-R (in windows) is possible to run latex and R from the same editor, which was great. Now, I am using Ubuntu-linux, which has been better than WinXP. Currently, I am using Emacs (and then install ESS) for running LaTeX and R from a same editor-program (like i was doing with Tinn-R in windows). Nevertheless, and even though i have been using Emacs for almost 2 years, it is not as
2008 Oct 02
4
Load a program at the front end
I want to run a R program, prog.R, interactively. My question is, is there a way I can start prog.R on the shell terminal when invoking R, instead of using source() inside R? TIA, Gang
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
Dear R-users. I eventually bought myself a new computer with the following characteristics: Processor AMD ATHLON 64 DUAL CORE 4000+ (socket AM2) Mother board ASR SK-AM2 2 Ram Corsair Value 1 GB DDR2 800 Mhz Hard Disk WESTERN DIGITAL 160 GB SATA2 8MB I'm a newcomer to the Linux world. I started using it (Ubuntu 7.10 at work and FC4 on laptop) on a regular basis on May. I must say I'm
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
Dear R-users. I eventually bought myself a new computer with the following characteristics: Processor AMD ATHLON 64 DUAL CORE 4000+ (socket AM2) Mother board ASR SK-AM2 2 Ram Corsair Value 1 GB DDR2 800 Mhz Hard Disk WESTERN DIGITAL 160 GB SATA2 8MB I'm a newcomer to the Linux world. I started using it (Ubuntu 7.10 at work and FC4 on laptop) on a regular basis on May. I must say I'm
2006 Dec 13
3
Error to install fMultivar package
Hi, I tried to install fMultivar package but an error occurs that I could not understand. (I've been worked with linux / Ubuntu 6.06 LTS) > install.packages("fMultivar") Warning in install.packages("fMultivar") : argument 'lib' is missing: using /usr /local/lib/R/site-library --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk
2007 Nov 23
0
R users in Cyprus
...arison in ANOVA (Qiu Anqi) 10. Re: NA values (Eleni Christodoulou) 11. uniq -c (Alexy Khrabrov) 12. Re: display basename (mysimbaa) 13. multiple comparison (glht) problem (Anqi Qiu) 14. Re: uniq -c (Marc Schwartz) 15. Re: uniq -c (Henrique Dallazuanna) 16. Re: R as server application (Scionforbai) 17. Re: multiple comparison (glht) problem (Chuck Cleland) 18. Re: Logarithmic axis -- now in new version of 'sfsmisc' (Martin Maechler) 19. Re: R as server application (Henrik Bengtsson) 20. Re: R as server application (Henrik Bengtsson) 21. Reconstruct array dataset (marc...