Displaying 20 results from an estimated 1000 matches similar to: "Repeated Measures?"
2000 Jul 17
3
Fonts and Line widths
Hi All R guru's,
A couple of simple questions which I cannot find answers to in "an
introduction to R" or in the reference manuals.
I am running R on Win95, and have plotted up quite a nice box and
whisker plot:
char<-read.table("n:/reddinm/grifpr~1/survey/char.txt")
attach(char)
boxplot(Al,Fe,OC,pH, range=0,xaxis=FALSE,
ylab="Proportion of Unirigated
2000 Sep 17
1
Repeated Measures
Hi R Gurus,
I am more or less a beginner with R. I have searched your FAQ, manuals, and
the archives of this list for an answer to this question, unsuccessfully.
I commonly do analysis of chemical characteristics of soils, by depth
intervals (e.g. 0-100 mm, 100-200, 200-300, etc), comparing two soil
profiles that
have received some treatment (effluent). In Genstat I can handle this
problem
2001 Jan 11
2
Bootstrapping
HI All,
I am trying to analyse the results of a heap of samples, to determine how
many samples are required to meet a defined confidence interval.
I checked out the R manual for bootstrapping and re-sampling methods, but
did not find anything. Are there any contributed procedures that deal with
this?
thanks,
Matt Redding
Soil Scientist
Intensive Livestock Environmental Management-Research
2000 Jul 17
0
Fonts and Line widths in boxplot
> Hi All R guru's,
>
> A couple of simple questions which I cannot find answers to in "an
> introduction to R" or in the reference manuals.
>
> I am running R on Win95, and have plotted up quite a nice box and whisker
> plot:
>
> char<-read.table("n:/reddinm/grifpr~1/survey/char.txt")
> attach(char)
> boxplot(Al,Fe,OC,pH,
2000 Dec 08
1
Sans Serif Fonts?
Hi All,
I am preparing a few plots for publication. Unfortunately the journal
requires figures to have all text in a sans serif fonts.
I realise that there is support for the use of Hershey vector fonts in the
function TEXT,
but how do I get the text on axes to be sans serif?
For example, the labels and axis values produced from this line of code:
plot(SolPC, SorbPC, ylab="Sorbed P
2002 Nov 14
1
Redirecting Output to Clipboard
Hi R Gurus,
I have a question that some of you may have dealt with before.
I would redirect output to the clipboard, rather than to the screen.
Is this possible? Is a function already written for it, or is it just
an option in print?
Any help would be appreciated.
Also, thanks to all those who have helped develop this great software,
or who make
the effort here to support the user-base.
2012 Feb 15
7
matching a sequence in a vector?
Hi All,
I've been trawling through the documentation and listserv archives on this topic -- but
as yet have not found a solution. I'm sure this is pretty simple with R, but I cannot work out how without
resorting to ugly nested loops.
As far as I can tell, grep, match, and %in% are not the correct tools.
Question:
given these vectors --
patrn <- c(1,2,3,4)
exmpl <-
2004 Jan 10
0
FW: Letter Spacing
Thanks for your help with this behaviour.
I have tried a few other things, and it looks like it is an issue of using the clipboard to copy it in rather than saving to a
file then copying.
A bit odd, but maybe nothing to do with R!
Matt Redding
-----Original Message-----
From: Redding, Matthew
Sent: Saturday, 10 January 2004 2:09 PM
To: 'Prof Brian Ripley'
Subject: RE: [R] Letter
2004 Jan 09
2
Letter Spacing
Hi All,
I've been trying to make some adjustments to the graphics in a paper I wrote some time ago, for which the comments have been
returned from the reviewers.
I always use R for publication graphics...I think it does the best job available, for the things I am interested in.
I could not get my graphics in R 181 to look the same as the old ones (completed 8 months ago),
the text seemed
2005 May 10
2
R Greenhouse-Geiser correction?
Is there a function in R for doing Greenhouse-Geiser correction in ANOVA
models?
Is it already available in the aov function? How do we use it?
Best, Darren
[[alternative HTML version deleted]]
2007 Aug 15
1
installation of packages
Dear All,
Have just installed v2.5.1 on Windows XP. Works fine but I had quite a few
pakages loaded for 2.5.0 (from contributed) and was wondering how I can
get 2.5.1 to recognise them without having to reinstall them all.
Is this possible or do I have to reinstall all the packages again?
I required 2.5.1 for lme4 and matrix.
Many thanks in advance.
2000 Oct 04
1
Par arguments and pin and fin
Hi R Gurus,
I want to change the size and shape of the plot region, but cannot work out
how to use the arguments pin and fin in the par() function e.g. :
par(lwd=1.5, font=1, mfrow=c(2,1), pty="m", plt=c(.1,.9, 0.1,.9),
mar=c(1,4,0.1,0.1)
pin=c(6,12))
this gives me a syntax error associated with pin. How should I be using
these arguments?
Thanks,
Matt Redding
2009 May 29
1
Package Licences
Are there any particular licences under which R packages must be released or is
it the discretion of the author? The same question if the package is to be
destined for CRAN?
Kind regards,
Nathan
--
--------------------------------------------------------
Dr. Nathan S. Watson-Haigh
OCE Post Doctoral Fellow
CSIRO Livestock Industries
Queensland Bioscience Precinct
St Lucia, QLD 4067
Australia
2009 Jun 17
1
Coerce rectangular matrix to symmetrical square matrix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a rectangular matrix of size 920 by 85. I'd like to coerce it into a
square matrix such that all row/col names are present in the new matrix and the
additional values are zero.
As an example:
A B C D
A 1 2 3 4
E 5 6 7 8
F 9 10 11 12
Would be coerced to:
A B C D E F
A 1 2 3 4 5 9
B 2 0 0 0 6 10
C 3 0 0
2009 Jan 07
2
Memory Efficiency of Symmetric Matrix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm generating a symmetric correlation matrix using a data matrix as input:
mat <- cor(data.mat)
My question is:
Is there a more memory efficient way to store this data? For instance, since:
all(mat == t(mat))
every value is duplicated, and I should be able to almost half the memory usage for large matrices.
Any thoughts/comments?
Cheers,
2009 Feb 17
1
Create package with Fortran 90 and C code
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to add some Fortran 90 code to an existing package.
When I compile and load the file manually like:
SHELL> R CMD SHLIB file.f90
R> dyn.load("file.so")
I can use the .Fortran() fine. However, when I try to build, install and load
the library I seem to be missing something.
I do a:
SHELL> R CMD build dir
SHELL> R
2009 Feb 11
1
Looping over a matrix passed to .C
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've written a function in R which takes a symmetrical matrix as input and
processes all triplicate combinations of values from the matrix. The function
looks something like:
my_fun <- function(m) {
if( nrow(mat) != ncol(mat) ) {
stop("'m' must be a square matrix")
}
size <- nrow(m)
for(x in 1:(size -2)) {
2009 Feb 03
1
pairs() help - colour histograms on diagonal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'd like to be able to colour histograms along the diagonal using the colours
stored in colnames(d):
> d
black blue brown cyan
1 0.96405751 -0.02964390 -0.060147424 -0.06460070
2 -0.03614607 0.95475444 -0.152382053 -0.07767974
3 -0.07095613 -0.05884884 -0.061289399 -0.06445973
4 -0.03708223 -0.05997624
2001 Oct 01
1
Grouped Regression
HI All R Gurus,
Please reply directly to this email if you have a suggestion, as I am not
currently an R-help member.
I would like to complete a non-linear regression with groups. Having gone
down the path of completing such
things under GENSTAT, I would prefer to do it with R.
My example data set is...
TimeTreat ExtrVol2 SorbedT
ET1 39.5 384.5
ET1
2009 Jan 12
4
fitting curve to data
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have the following data:
> y
[1] 0.000 0.004 0.008 0.016 0.024 0.032 0.044 0.064 0.072 0.088 0.108 0.140
[13] 0.156 0.180 0.208 0.236 0.264 0.296 0.320 0.360 0.408 0.444 0.472 0.524
[25] 0.576
> x
[1] 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500
[16] 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500
I'd