Hi Rolf,
A bit of poking around reveals that different fonts have different
size asterisks. If you are not already using Times Roman, it might be
worth a look. I only have Windows on this (work) PC, so I can't check
the Postscript fonts.
Jim
On Fri, Jul 1, 2016 at 12:50 PM, Rolf Turner wrote:
>
On 01/07/16 15:29, Jim Lemon wrote:
Hi Rolf,
A bit of poking around reveals that different fonts have different
size asterisks. If you are not already using Times Roman, it might be
worth a look. I only have Windows on this (work) PC, so I can't check
the Postscript fonts.
Thanks Jim.
cheers,
thank you very much Jim!
I'll try it.
bw
c
Sent from my iPhone
> Em 30/06/2016, às 20:33, Jim Lemon escreveu:
>
> Hi Carlos,
> The STATA function assumes estimated population SDs. If you have
> sample SDs you can specify with this:
>
> combine<-function(n,mu,sd,sd.type=c("pop","sample")) {
> N
On 01/07/16 10:51, Paul Murrell wrote:
Hi
There are a couple of plotmath expressions that control text size, plus
in this case you could just drop the superscripting (which I believe was
Goran's advice) ...
plot(1:10, type="n")
text(2, 8, expression(paste(bolditalic(p)^"*"))) #Rolf's original
t
On 01/07/16 01:28, Sarah Goslee wrote:
I don't know of an automatic way, but of course you can make it as
large as you'd like.
plot(1:10, type="n")
text(2, 8, expression(paste(bolditalic(p)^"*"))) #Rolf's original
text(2, 6,expression(paste(bolditalic(p),"*", sep = ""))) #Goran's suggestion
t
Hi Carlos,
The STATA function assumes estimated population SDs. If you have
sample SDs you can specify with this:
combine<-function(n,mu,sd,sd.type=c("pop","sample")) {
N<-sum(n)
mean<-sum(n*mu)/N
if(sd.type[1]=="sample") {
meanss<-(n[1]*(mean-mu[1])^2+n[2]*(mean-mu[2])^2)/N
SD<-sqrt(sum(sd
Hi
There are a couple of plotmath expressions that control text size, plus
in this case you could just drop the superscripting (which I believe was
Goran's advice) ...
plot(1:10, type="n")
text(2, 8, expression(paste(bolditalic(p)^"*"))) #Rolf's original
text(2, 6, expression(paste(bolditalic
Hi,
I don't have excel.link, but have you tried:
"=G9*100/G6\n"
Jim
On Thu, Jun 30, 2016 at 10:34 PM, wrote:
> Hi All,
>
> I am using excel.link to work seemslessly with Excel.
>
> In addition to values, like numbers and strings, I would like to insert a
> full operational formula into a cell.
Lily Li wrote :
I think you are going to have to give us some more detail. What commands did
you execute? what are the names of the .csv files in your directory? Can you
read one of them as asingle read.csv?
> Hi R users,
>
> I'd like to ask that how to merge several datasets into one in R? I
On Thu, Jun 30, 2016 at 2:50 PM, wrote:
> Hi Bert,
> Hi Readers,
>
> I did not know much about attributes in R and how to use them. If it is that
> flexible you are right and I have learnt something.
It is that flexible, but there is a big limitation that makes them much less
useful than Bert s
https://cran.r-project.org/web/packages/mvpart/index.html
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Jun 30, 2016 at 12:43 PM, Joaquín Al
Lily:
If you mean that you have several csv files in a directory/folder on
your computer and you are using lapply() to do something with them,
then you do not have a clue about how R works and you need to go
through some tutorials to learn. There are many good ones on the web.
Some recommendations
Does anybody know why mvpart package (for multivariate regression trees) is
not available on the web?
Thanks in advanced,
Joaquín.
--
*Joaquín Aldabe*
*Grupo Biodiversidad, Ambiente y Sociedad*
Centro Universitario de la Región Este, Universidad de la República
Ruta 15 (y Ruta 9), Km 28.500, Dep
Hi R users,
I'd like to ask that how to merge several datasets into one in R? I put
these csv files in one folder, and use the lapply function, but it says
that cannot open file 'xx.csv'. These files have different names, but end
with .csv extension, and the files have the same header. Thanks for
Hi Bert,
Hi Readers,
I did not know much about attributes in R and how to use them. If it is that
flexible you are right and I have learnt something.
Kind regards
Georg
> Gesendet: Donnerstag, 30. Juni 2016 um 20:06 Uhr
> Von: "Bert Gunter"
> An: g.maub...@gmx.de
> Cc: "Pito Salas" , "R Help"
I believe Georg's pronouncements are wrong. See inline below.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
"...
> Within R there are some limitations
Hi Pito,
Dear Readers,
as other have already mentioned, there are good practices for documenting code
and data. I would like to summarize them and add a few not mentioned earlier:
1. You should have always two things: your raw data and your R script/s. The
raw data is immutable whereas the R sc
Private, since this is a trivial comment. Also, just my opinion, so
feel free to ignore.
Capture it, yes, but not necessarily as a function; just as a script
might do, and the tools mentioned can do this. As others have said,
your instincts are good, and you should just choose the methods that
wor
Thanks to you both. I think you’re saying/implying that once I “test drive” a
particular bit of cleaning I should capture it in a function which does it
reproducibly against the raw data, and that becomes the best documentation for
it. That makes sense.
Pito Salas
Brandeis Computer Science
Feld
... Time to do your homework. Have you gone through any R tutorials?
Some recommendations here: https://www.rstudio.com/online-learning/#R
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breat
In addition to what others have suggested, see ?history.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Jun 30, 2016 at 7:51 AM, Pito Salas
Vince Buffalo has covers this nicely in his book "Bioinformatics Data
Skills". The original data should stay the original data is immutable and
Vince then suggests that you have a text file in your data directory where
you explain where the data came from and which scripts you used to create a
modi
You might look at:
http://stackoverflow.com/questions/7979609/automatic-documentation-of-datasets
You might also, try the FIle | Compile Notebook from within R-Studio
(https://www.rstudio.com/) on your well-documented R-scripts to get a
nice reproducible recording/report of data analysis wor
Pito--
You describe excellent practices.
The R code itself, saved as a script, provides some documentation of how you
got from original data to wherever you are.
Use # comments liberally.
Whenever possible, save your raw data, however it was when you got it--avoid
changing it--make all the c
Stata's documentation lists this as a meta-analysis tool.
You may want to look at the rma function in the metafor package for various
approaches to that problem.
S Ellison
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Carlos R.
> Moreira Maia
> S
Dear all,
I'm newbie with R (changing from STATA), and I can't find some commands.
One of those is the "combine", which I use to combine means like this:
n1 m1 sd1 n2 m2 sd2
combine 12 3 1 34 45 4
Combine has calculated the following values:
comb
Hi,
I am using rpart to build a decision tree, I am then using printcp to find
the cross-validation error (xerror) of different splits of the decision
tree.
I was wondering how I can use the rpart package to find sensitivity (false
negative) and specificity (false positive) of cross-validation fo
I am studying statistics and using R in doing it. I come from software
development where we document everything we do.
As I “massage” my data, adding columns to a frame, computing on other data,
perhaps cleaning, I feel the need to document in detail what the meaning, or
background, or calculat
Hi,
I am trying to change the values of the tick marks on the xaxis of the
following multipanel plot (see relevant bits of script below) to increments of
50 or to a custom scale (ie. 50, 100, 150, 200, 300...).
So far I tried using xaxp or xlim both in par() or lineplot.CI(), as well as
axTicks
I don't know of an automatic way, but of course you can make it as
large as you'd like.
plot(1:10, type="n")
text(2, 8, expression(paste(bolditalic(p)^"*"))) #Rolf's original
text(2, 6,expression(paste(bolditalic(p),"*", sep = ""))) #Goran's suggestion
text(2, 3, expression(paste(bolditalic(p)^
Hi All,
I am using excel.link to work seemslessly with Excel.
In addition to values, like numbers and strings, I would like to insert a
full operational formula into a cell.
xlc["G14"] <- print(paste("=G9*100/G6"), quote = FALSE)
The strings is put into the cell, but the cell is not evaluate
Using "runmean" function from caTools package within your SMA function appears
to solve the issue. Please see details below.
library(caTools)
> dput(m)
structure(c(-0.626453810742332, 0.183643324222082, -0.835628612410047,
1.59528080213779, 0.329507771815361, -0.820468384118015, 0.487429052428
On Wed, 29-Jun-2016 at 10:15PM +1000, Duncan Mackay wrote:
|> Patrick
|>
|> Have a look at
|> https://stat.ethz.ch/pipermail/r-help/2006-August/110621.html
|> and
|> https://stat.ethz.ch/pipermail/r-help/2008-June/165279.html
|>
|> I remember working it out with an example but I cannot remember
On Wed, 29-Jun-2016 at 07:57AM -0700, Bert Gunter wrote:
|> Did you mean: strip.custom(factor.levels...) ?
|>
Aaamm yes. Must stop doing this stuff so late.
|> (I know of no "panel.custom()" function)
|>
|>
|> -- Bert
|> Bert Gunter
|>
|> "The trouble with having an open mind
On 30/06/2016 2:35 AM, g.maub...@weinwolf.de wrote:
Hi Duncan,
I would not have changed the COMPILED_BY option unless I thought I have
to.
In my "C:\R-Project\Rtools\mingw_32\bin" I have
c++.exe
g++.exe
gcc.exe
i686-w64-mingw32-c++.exe
i686-w64-mingw32-g++.exe
i686-w64-mingw32-gcc-4.9.3.exe
i6
On 30/06/16 19:38, Göran Broström wrote:
Rolf,
text(7.5,2.5,expression(paste(bolditalic(p),"*", sep = "")))
looks quite nice. On my Mac at least.
Well, it didn't look nice on my laptop. The asterisk was nearly invisible.
cheers,
Rolf
--
Technical Editor ANZJS
Department of Statistics
Un
Hi
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Marine
> Regis
> Sent: Thursday, June 30, 2016 12:32 AM
> To: r-help@r-project.org
> Subject: [R] data.table: “group counter” with NAs
>
> Hello,
>
> I would like to add a counter column in a data fra
Hi.
Hm. As OP has the variables in data frame, I think that the first answer by
Ulrik was correct. However different class of those two columns prevents merge
to result in one column.
After
df1$License is changed propperly to numeric.
df.merge <- merge(df1, df2, by.x="License", by.y="Diff", a
Rolf,
text(7.5,2.5,expression(paste(bolditalic(p),"*", sep = "")))
looks quite nice. On my Mac at least.
Göran
On 30/06/16 02:38, Rolf Turner wrote:
I am trying to plot an expression of the form "p^*" --- a bold letter p
with the asterisk as a superscript.
I can get *something* with code of
Thanks both to your answer.
In my case, I link both html and pdf vignetttes with \href, typically
\href{../doc/FAQ.html}{Frequently Asked Questions}.
Maybe Duncan, you could add your answer based on \url{../doc/} and
\url{../..//help/} as a complement in Section 2.5 of Writing R
extensions?
40 matches
Mail list logo