Displaying 20 results from an estimated 4000 matches similar to: "Fonts and Line widths"
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
2000 Sep 14
0
Repeated Measures?
HI There,
I was wondering if there was a procedure in R for carrying out greenhhouse
geiser type repeated measures analysis and ante-dependence testing?
I've checked out the nicely written manuals, but it seems to lack an entry
in the index (maybe because this technique has not been implemented yet).
THanks,
Matt Redding
Soil Scientist
Intensive Livestock Environmental Management-Research
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
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
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 <-
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
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
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.
2008 Oct 15
4
strsplit and regex
Hi All,
Is there a means to extract the "10" from "23:10:34" in one pass using
strsplit (or something else)?
tst <- "23:10:34"
For example my attempt
strsplit(as.character(tst),"^[0-9]*:")
gives
[[1]]
[1] "" "" "34"
Obviously it is matching the first two instances of [0-9]. Note that
there may be only one digit
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.
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
2010 Jan 27
2
Bulk Match/Replace
This must be easy to do.....
I have a vector and a lookup data.frame:
> v
[1] "5" "234" "234" "42-43" "234" "42-43" "234" "234"
"42-43" "234" "5" "234" "234" "5" "234" "234" "5"
2006 May 17
4
uniform and clumped point plots
I am trying to generate two dimensional random coordinates.
For randomly distributed data I have simply used
>xy<-cbind(runif(100),runif(100))
However I also want to generate coordinates that are more uniformly
distributed, and coordinates that are more contagiously distributed than
the above.
Can anyone make any suggestions
Thanks.
Dr Terry Beutel
Rangeland Scientist
Animal
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,
2010 Jan 13
1
decompress tar.gz and zip files
Can anyone point me in the right direction for decompressing text files that are
compressed as tar.gz or zip files?
Cheers,
Nathan
--
--------------------------------------------------------
Dr. Nathan S. Watson-Haigh
OCE Post Doctoral Fellow
CSIRO Livestock Industries
University Drive
Townsville, QLD 4810
Australia
Tel: +61 (0)7 4753 8548
Fax: +61 (0)7 4753 8600
Web:
2010 Feb 08
2
Help with apply()
I have a 2 column data.frame:
> d[1:5,]
a b
1 80015 C
2 80016 B
3 80023 C
4 80062 B
5 80069 B
I want to apply a function across each row:
> for(i in 1:nrow(d)) {
+ myFun(con, d[i,]$a, d[i,]$b)
+ }
How do I do this using apply()? I'm unsure how to tell apply() to pass
data from columns a and b for a given row as arguments to the function
2010 Mar 18
1
Intersect, Union of date/time ranges
I have 2 sets of data which defines the start and end of date/time
periods. I want to be able to obtain the following:
1) The intersect of those 2 sets of date/time ranges i.e. return
start/end date/time ranges where both sets overlap
2) The union of those 2 sets of date/time ranges i.e. return the
start/end date/time ranges which are in 1 or both sets
Is there anything that is currently able
2010 Jan 25
1
RMySQL Append data.frame to table
I have a data.frame obj with 5 columns whose colnames match the fields
in my "contact" table. The only other field my MySQL table has is an id
field which is the PK and is set to auto increment.
I'd like to load this data.frame using something like:
dbWriteTable(con, "contact", dat, append=TRUE)
However, I get this error:
Error in mysqlExecStatement(conn, statement,