Hi,
Try:
tab1 <- read.table("132p1vs132p2",sep="\t",header=TRUE)
str(tab1)
#'data.frame': 1765 obs. of 2 variables:
# $ Sample_132p1: num 2.395 0 0.216 0 0.246 ...
# $ Sample_132p2: num 2.428 0 0.247 0 0.136 ...
plot(tab1$Sample_132p1,tab1$Sample_132p2,pch=20)
fm <- lm(tab1$Sample_132p2~ta
..@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Petr PIKAL
Sent: Monday, August 22, 2011 3:18 AM
To: nferr...@fceia.unr.edu.ar
Cc: r-help@r-project.org
Subject: Re: [R] I have a problem with R!!
Hi
Your code is rather baroque and it is difficult to see what is exactly
going on wit
Hi
Your code is rather baroque and it is difficult to see what is exactly
going on without having appropriate data. I does not consider your process
of reading data from Excel problematic.
Maybe the difference is in that
d<- rnorm(whatever)
produces vector while
d<- read.delim("clipboard",
On 08/21/2011 05:29 AM, nferr...@fceia.unr.edu.ar wrote:
Dear all
i´m working with a program i´ve made in R (using functions that others
created)
to run my program i need a sample. if i generate the sample using for
example, rnorm(n, mu, sigma) i have no problem
but if i obtain a sample from
No, you don't have a problem with R. You have a problem with Excel.
Solution: Don't use Excel.
cheers,
Rolf Turner
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http:
Dear all
i´m working with a program i´ve made in R (using functions that others
created)
to run my program i need a sample. if i generate the sample using for
example, rnorm(n, mu, sigma) i have no problem
but if i obtain a sample from a column in excel and i copy it, the program
says that ther
On Jul 31, 2010, at 10:26 AM, 笑啸 wrote:
dear£ºDavid Winsemius
in the example£¨nomogram£©£¬I don't understand the meanings
of the program which have been marked by comment line.And how to
compile the program.
R is an interpreted language. There is no compilation. You submit
these l
dear£ºDavid Winsemius
in the example£¨nomogram£©£¬I don't understand the meanings of the program
which have been marked by comment line.And how to compile the program.(L <-
.4*(sex=='male') + .045*(age-50) +(log(cholesterol -
10)-5.2)*(-2*(sex=='female') + 2*(sex=='male'))).
example(nom
dear£ºDavid Winsemius
in the example£¨nomogram£©£¬I don't understand the meanings of the program
which have been marked by red line.And how to compile the program.(L <-
.4*(sex=='male') + .045*(age-50) +(log(cholesterol -
10)-5.2)*(-2*(sex=='female') + 2*(sex=='male'))).
n <- 1000 # de
On Jul 31, 2010, at 6:29 AM, 笑啸 wrote:
dear£º
in the example£¨nomogram£©£¬I don't understand the meanings
of the program which have been marked by red line.
This is a plain text mailing list, hence no red line ... in fact no
line at all. Use some other device such also outlining with
dear£º
in the example£¨nomogram£©£¬I don't understand the meanings of the program
which have been marked by red line.And how to compile the program(L <-
.4*(sex=='male') + .045*(age-50) +
(log(cholesterol - 10)-5.2)*(-2*(sex=='female') + 2*(sex=='male'))).
n <- 1000 # define sample size
s
11 matches
Mail list logo