Displaying 7 results from an estimated 7 matches for "zhiji19".
2010 Oct 25
2
.R file
Hello everyone
Can you please teach me how to save my homework as .R file?
I write my code in RGui. When I tried to save my work, the RGui only allows
me to save it as .RData.
By the way, after I save my work as .RData, I cannot reopen it. when I open
it, only one message comes out as following: "ARGUMENT_ignored_."
--
View this message in context:
2010 Oct 25
2
How to save R file into specific type
Hello everyone
Can you please teach me how to save my homework as .R file?
I write my code in RGui. When I tried to save my work, the RGui only allows
me to save it as .RData.
Is there any difference between .R and .RData?
By the way, after I save my work as .RData, I cannot reopen it. when I open
it, only one message comes out as following: "ARGUMENT_ignored_."
--
View this
2010 Dec 08
5
Summing up Non-numeric column
Dear All
If I have the following dataset
V1 V2
x y
y x
z b
a c
b j
d l
c o
How do I use R command to get the total number of different letter in column
"V1"
column "V1" has 7 different letters.
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/Summing-up-Non-numeric-column-tp3077710p3077710.html
Sent from the R help mailing list archive
2010 Nov 08
1
Exponent of sqr symmetric matrix
Dear R experts,
I really have difficulty when I try to deal with this question.
suppose X is a square symmetric matrix. The exponent of X is defined by the
matrix limit as following:
exp(X) = lim (I + X/n)^n, note: the limit is from n to infinite.
How can I write R function for the above?
Thank you very much
--
View this message in context:
2010 Nov 09
2
Help with Iterator
Dear Experts,
The following is my "Iterator". When I try to write a new function with
itel, I got error.
This is what I have:
> supDist<-function(x,y) return(max(abs(x-y)))
>
> myIterator <- function(xinit,f,data=NULL,eps=1e-6,itmax=5,verbose=FALSE) {
+ xold<-xinit
+ itel<-0
+ repeat {
+ xnew<-f(xold,data)
+ if (verbose) {
+ cat(
+
2010 Dec 06
1
Loading .RData from Internet
Dear All,
Can you please suggest me a correct way to load the following R data frame
from the internet and save it to the hard drive?
The following is what I tried:
> raceprofiling <-
> read.table("http://rss.acs.unt.edu/Rdoc/library/twang/data/raceprofiling.RData")
> save(raceprofiling, file = 'raceprofiling.RData')
However, when I used dim() to check the dataset,
2010 Dec 06
3
How to this SAS transport file in R?
Dear All,
I try to read the SAS transport file in R, but it shows error. Please help!
I am using R 2.11.1
library(foreign)
download.file("http://isites.harvard.edu/fs/docs/icb.topic35387.files/demo_c.xpt","C:/Desktop/demo_c.xpt")
sasxport <- read.xport("C:/Desktop/demo_c.xpt")
Error in lookup.xport(file) : file not in SAS transfer format
--
View this