Hello useRs,
I would like to import a data frame in a sas format (.sas7bdat).
I have installed foreign library, and tryed to use read.ssd function :
read.ssd(these, fus9706.sas7bdat)
sh: sas: not found
SAS failed. SAS program at /tmp/RtmpPdVSST/file2ae8944a.sas
a log and other error products
.
- Then, I can read my sas file and export it into a common format (csv...)
This program works perfectly with Wine.
Thank you very much.
2007/3/18, Peter Dalgaard [EMAIL PROTECTED]:
David Hajage wrote:
Hello useRs,
I would like to import a data frame in a sas format (.sas7bdat).
I have
Hello useRs,
I'm trying to install bioconductor on ubuntu edgy eft and R 2.4.0.
I have some error messages during installation, in particular for the
package affy :
Error: package 'affy' required by 'makecdfenv' could not be found
I have tryed to install 'makecdfenv' with the command :
For example :
x=matrix(1:10,2,5)
barplot(x,besid=T)
legend(topleft, c(left,right), density= c(0,1000))
2006/10/13, Ingmar Visser [EMAIL PROTECTED]:
Dear useRs,
I'm trying to create a barplot like so:
x=matrix(1:10,2,5)
barplot(x,leg=c(left,right),besid=T)
The legend is placed in
Hello useRs,
I would like to install R 2.3.1 on a computer : Sun Blade 2000.
Is there a precompiled version of R for this computer ?
Thank you very much.
--
David
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
thank you Greg Snow for this information !
But I have this message :
odfWeave(c:/simple.odt, c:/essai.odt)
Setting wd
Copying c:/simple.odt
Decompressing ODF file using unzip -o
C:\DOCUME~1\Maud\LOCALS~1\Temp\RtmpF0hdqb/simple.odt
Erreur dans odfWeave(c:/simple.odt, c:/essai.odt) :
Hello,
My problem is quite simply, but I didn't find any solution...
I have a vector :
truc
longueur30 longueur40 longueur50 longueur60 longueur70 longueur80
longueur90
34 FALSE FALSE FALSE FALSE TRUE FALSE
FALSE
I would like to have the name of the column
Hello,
I have a data frame :
linkptpn[1:6,]
pedigree id fa mo sex status rs3789604 rs3811021 rs1217413 ss38346942
1 1 1 0 0 1 2
2 1 2 0 0 2 2
3 1 3 1 2 2 3 3/3 2/2 3/34/4
4 1 4 1 2 2 3 3/3
Hello useRs,
Is there a way to reverse values of 2 variables (like with the language
Python) ? :
a - 1
b - 2
a, b - b, a
More specifically, I have a data frame :
famnum generation germain1 germain2 fa mo ptpn1 ptpn2 drb11 drb12
1 2 200 201 101 102 1 1
I was trying to use Sweave function.
Do you know why the following code in my .Rnw file:
results=tex, echo=FALSE=
print(xtable(stat.table(list(Couverture du livret = couv), list(n =
count(), \\% = percent(couv, floating = F)
@
\\
NA = \Sexpr{table(is.na(couv))[2]}
gives me this result in
Hello,
I know how to load a program from my computer with the command source.
example :
source(home/david/prog.r)
But is it possible to load a program from the internet ?
example :
source(http://davidblog/prog.r;)
--
David
[[alternative HTML version deleted]]
/5/29, David Hajage [EMAIL PROTECTED]:
and sorry for my english !...
2006/5/29, David Hajage [EMAIL PROTECTED]:
thank you.
Same result... It doesn't work ! But i will try at home... I'm sure il
will work !
Or you can try : I've made a function which adds exposed to risk on
your
Hello R users !
Here a survfit object :
library(survival)
essai - aml[aml$x == Maintained,]
calc - survfit(Surv(essai$time, 1 - essai$status))
calc
Call: survfit(formula = Surv(essai$time, 1 - essai$status))
n events median 0.95LCL 0.95UCL
11 4 103 28 Inf
I
It works ! thank you !
2006/5/24, Heinz Tuechler [EMAIL PROTECTED]:
see: [R] How to access results of survival analysis Xiaochun Li (06 May
2006)
At 15:03 24.05.2006 +0200, David Hajage wrote:
Hello R users !
Here a survfit object :
library(survival)
essai - aml[aml$x
Hello R users,
I would like to perform a mc nemar test.
There is my data :
__
x - matrix(4:1,2,2)
x
[,1] [,2]
[1,]42
[2,]31
__
My population is too small for normal approximation.
very much.
--
David Hajage
Interne de santé publique
Institut Curie
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
... I'm so stupid !
Thank you very much.
David Hajage
Interne de santé publique
Institut Curie
2005/12/27, Ronnie Babigumira [EMAIL PROTECTED]:
You need to open the pdf/poscript first and then plot...see ?postscript
# open the file foo.ps for graphics output
postscript(foo.ps
A way to do it :
TEST$Y3[TEST$Y3==Z] - NA
TEST$Y3 - as.numeric(TEST$Y3)
2005/12/8, zhihua li [EMAIL PROTECTED]:
hi netters,
i have a dataframe TEST like this:
Y1 Y2 Y3
X1 4 7 8
X2 6 2 Z
X3 8 0 1
i would like to change it to a numeric matrix, replacing Z with NA
Y1 Y2
and then, if you want a matrix and not a data.frame :
TEST - as.matrix(TEST)
2005/12/8, David Hajage [EMAIL PROTECTED]:
A way to do it :
TEST$Y3[TEST$Y3==Z] - NA
TEST$Y3 - as.numeric(TEST$Y3)
2005/12/8, zhihua li [EMAIL PROTECTED]:
hi netters,
i have a dataframe TEST like
Thank you for all your answers...
I solved my problem thanks to you all !
david
2005/12/6, paul sorenson [EMAIL PROTECTED]:
Return something that can hold more than one value, eg:
calculate - function(x, y) {
list(a=x+y, b=x-y)
}
David Hajage wrote:
Thank you for your answer
Hello,
I'm a new user...
I have a function :
calculate - function(x,y)
{
z - x + y
}
I would like to use the result (z) with another function :
recalculate - function(...)
{
a - z^2
}
But R says that z does not exist...
How can I use z in an another function ?
Thank you
Thank you for your answer.
And what if my first function gives 2 results :
calculate - function(x,y)
{
a - x + y
b - x - y
}
How can I use both a and b in a new function ?
2005/12/6, Sarah Goslee [EMAIL PROTECTED]:
First of all, you might try reading the manual.
Second, you
22 matches
Mail list logo