Displaying 20 results from an estimated 10000 matches similar to: "FORTRAN in R"
2001 Mar 21
3
Output Files..
Hi,
Somehow I forgot how to do this...
Say I have a command that produced a 28 x 28 data matrix. How can I output the matrix into a txt file (rather than copy/paste the matrix)?
Thanks...
Kevin
-------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub
University of Auckland
New Zealand
2001 May 23
4
Matrix manipulation
Hi,
Suppose I have a matrix with, say 12 columns.
I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them together.
I tried with success to extract out the columns by doing:
foo <- test[,2:8]
goo <- test[,11:12]
However then I am having trouble combining foo and goo.
Helps are appreciated!
Cheers,
Kevin
-----------------------------------
Ko-Kang Kevin Wang
2001 Mar 15
2
Alternative to list()
Hi,
Suppose I have a dataset with 10 columns, let's call it "foo".
Now if I want to extract out only column 2 ~ 8, then I know I can use either:
foo[ ,2:8]
or
fooNew <- list( foo[ ,2:8] )
(Is there any other alternative, just out of curiosity?)
But, if I only want, say, column 1, 4 and 7, I tried:
fooNew <- list( x = foo[ ,1], y = foo[ ,4], z = foo[ , 7] )
2001 Aug 18
2
gam() in Splus and R
Hi,
Is there any difference in the gam() function in R and Splus?
I just tried to do an Ace Plot (plotting the result of the gam() ) on a
dataset. R gave me four (the data set has one response and four
explanatory variables) ace plot with perfectly straight lines. I kind of
felt that it is highly unlikely, so I tried it in Splus. Using the exact
commands Splus gave me four completely
2001 Aug 12
3
gam() and library( modreg )
Hi,
I'm just wonder if there is an R equivalent function of gam() - which
exist in Splus.
Also does anyone know if the library( modreg ), which comes with the
installation file of R 1.3.0 (Windows version), exists in the previous
versions of R (again, Windows version)? Or does one need to install the
library into the previous versions of R explicitly?
Thanks,
Ko-Kang Wang
2001 Aug 14
1
loess() v.s. lowess()
Hi there,
Just out of curious, is there any difference between loess() and
lowess() in R (and Splus in fact).
Which one is more often used?
Thanks,
Ko-Kang Wang
------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub (SDK)
University of Auckland
New Zealand
2002 Jan 09
3
Build R Packages (man)
Hi there,
I'm trying to get the manual for an R package (that I'm creating) to
work...
Firstly, I created the *.Rd files (by following the instructions in
"Writing R Extensions" and using prompt() in R, then edit the *.Rd
files. I then copy them into the "pkg/man" directory as suggested by the
manual. However when I load the library (successfully) in R, I cannot
2001 Jul 20
4
plotting dendrograms
Hello,
Can anyone offer any insight on graphing classification dendrograms with
the nodes marked?
plot(tree()) produces a nice tree structure but there's no acccompanying
text.
Thanks,
D
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Oct 31
3
t.test
Dear R-users,
I am learning to use R 1.3.1 on a Pentium running Windows '98. I'm
puzzled that several statistical procedures, t.test and chisq.test, do not
appear to be available on R version 1.3.1. For example, if I type
"t.test", I get the reply, "Object "t.test" not found". Is there a
package that I have to load in order to have access to these
2001 Sep 19
2
Save/Display R Work
Hi,
I was tutoring in the lab when a student asked me this question.
Is it possible to save the work done in R, then source it back in AND
display all the work within R later? I know that one can save the history
(i.e. all the codes in a session) in *.R format, then source it back in at
a later stage. However the historical codes will not be displayed within
R, only the line source(...) is
2002 Jun 08
3
contour plot for non-linear models
Hello all,
I've tried to reproduce the contour plot that appears in the book of
Venables and Ripley, at page 255. Is a F-statistic surface and a
confidence region for the regression parameters of a non-linear model.
It uses the stormer data that are in the MASS package.
I haven't been able to reproduce the plot either in R ( version 1.5 )
and S. It makes the axes and it puts the
2001 Mar 16
2
apply()
Hi,
I input this command on a data matrix:
> apply( traffic, 2, function(z){z-mean(z)})
and got the following error messages:
Error in sum(..., na.rm = na.rm) : invalid "mode" of argument
Can anyone tell me what is wrong here?
Running R1.2.2 on Windows ME.
Cheers,
Kevin
-------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division
2002 Jul 31
5
help
Hello,
I would like to apply BAGGING to classification tree. Does a package
exists on that method?
In advance I thank you for your answer and I am looking forward to
hearing from you .
Best regards,
Vincent HERNU.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2001 Aug 25
2
Writing R Library
Hi there,
I'm trying to write an R library (for Windows version) when I encountered
this problem.
I put in a dataset called mussels into a sub-folder, data (I saw this is
how it is done in other libraries). However when I load the library in R
and typed:
data(mussels)
it complains it cannot find the data set in the library.
Everything else works fine (so far), am I missing something
2001 May 02
2
Export to File...
Hi,
I've been reading the Data Import and Export manual (page 25 on Connection
chapter) but somehow I can't manage to get what I want.
I have a 28x28 distance matrix, which I would like to export to a file.
What I did was something like:
zz <- file("ex.data", "w") # open an output file connection
cat( traffic.manDist, file = zz ) # traffic.manDist is my
2001 Aug 27
1
Compile from Source.
Hi,
Can anyone tell me how I can compile R from source under Windows
environemtn (I kind of know how to do it in a UNIX enviroment)?
What I mean is, suppose I make some changes in the R base, or reorganising
the libraries, and want to compile into a Setup.exe file (like the one
located in CRAN), how should I do this?
Many thanks in advance...
Ko-Kang Wang
2001 Oct 15
1
An Introduction to R - LaTeX Code
Hi,
I am interested in seeing the LaTeX version of R manuals (such as An
Introduction to R), and I found from CRAN that:
"The texinfo sources of the latest version of these documents are
contained
in every R source distribution (in the subdirectory doc/manual of the
extracted archive). "
However when I went into that directory I only found the pdf and html
version. Are there any
2000 Apr 11
1
How to perform a stepwise selection of the best models for gee?
Hi,
How to perform a stepwise selection of the best models for gee?
Why can't step() do this job?
Thanks.
Sincerely Yours,
Jinn-Yuh Guh, M.D.
Dept. of Internal Medicine
Kaohsiung Medical College
100 Shi-Chuan 1st Road
Kaohsiung, Taiwan
FAX: 886-7-312-2810
e-mail: jyuh at mail.nsysu.edu.tw
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2001 Mar 29
1
screeplot() v.s. plot()
Hi,
Suppose I've got a data set that I found the eigenvalues and eigenvectors. Then I want to draw a screeplot for the eigenvalues. However it returns:
Error in matrix(w.m, nc = NC) : negative extents to matrix
Then I tried a plot() function on the eigenvalues of the data set, and I can successfully draw it! And the output looks like what the screeplot would show to me.
Is there any
2001 Mar 23
1
R-demo for non-statisticians/mathematicians
Hi all. A friend of mine asked me to assist with an R presentation to the
Penn State LUG in a few weeks. The audience will be predominately
computer scientists and/or engineers (I suspect) and they are just looking
for presentations of good open source software and my friend volunteered
R. We are both relatively new to R, so I thought it would be best to ask
the list for your opinion....what do