Displaying 8 results from an estimated 8 matches for "sandblom".
2006 Jun 16
1
R in ConTeXt
...rtRhidden
rm(list=ls())
x <- rnorm(100)
y <- runif(100)
\stopRhidden
\type{x} and \type{y} are randomly generated.
\startR
summary(lm(y~x))
pdf("xy.pdf")
plot(y~x)
dev.off()
\stopR
\placefigure{Y vs X}{\externalfigure[xy][width=.4\textwidth]}
\stoptext
Regards, Johan
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176 Stockholm
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
2005 Oct 11
2
Two factor (or more) non-parametric comparison of means
Can anyone suggest a good non-parametric test, and an R implementation of the test, that allows for two or more factors? Wilcoxon signed rank allows for only one.
Thanks,
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC and
University of Maryland School of Medicine Claude Pepper OAIC
University of Maryland School of Medicine
Division of
2006 Dec 05
1
Horizontal stripplot
...C_MEASUREMENT=sv_SE.ISO-8859-15;LC_IDENTIFICATION=C
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets"
[7] "base"
other attached packages:
lattice
"0.14-13"
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176 Stockholm
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
2005 Oct 04
2
Problem with Matrix package
Hello All,
While trying to install Matrix package following error message came out:
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
make: *** [Matrix.so] Error 1
ERROR: compilation failed for package 'Matrix'
** Removing '/usr/lib/R/library/Matrix'
** Restoring previous '/usr/lib/R/library/Matrix'
It seems that someting is missing. Have anybody
2006 Feb 08
2
Reference for R
Hello!
Could anyone please tell me how should I include R in a text section for
References?
Regards,
Sara Mouro
[[alternative HTML version deleted]]
2006 Nov 19
2
improving barplot output
Hello,
I was hoping for some advice on improving a barplot. Below is the syntax I
have used. I wanted to do two things differently How would I alter the
syntax so that (a) the y-axis finishes at 25 and not 20, and (b) 'past
ideation' and 'pastwk ideation' are coloured blue and 'past attempt' &
'past wk attempt' are coloured red ?
I was also curious as to
2006 Nov 21
1
strange R GUI crash
Hi all,
I know I shouldn't really expect the following to work, but it
provokes a crash of the GUI on my computer (Win xp professional).
---
>sessionInfo()
Version 2.3.1 (2006-06-01)
i386-pc-mingw32
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets"
[7] "base"
2006 Oct 01
3
aggregate function with 'NA'
Dear r-help reader,
I have some problems with the aggregate function.
My datframe looks like
>frame
Day Time V1 V2
1 M 0 3 NA
2 M 0 4 NA
3 M 0 5 2
4 M 1 NA 4
5 M 1 10 6
6 T 0 4 45
7 T 1 4 3
8 T 1 3 2
9 T 1 6 1
I used the aggegate function to obtain the mean in V1 and V2 over the
grouping variable
Time and Day