Displaying 20 results from an estimated 200 matches similar to: "Supressing Scientific Notation"
2010 Jan 07
1
Help formating data to display commas
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with commas, they only seem to add decimals. Is there a format that will display commas without me
2009 Jul 08
0
Help resolving error in quantcut
I am trying to use the quantcut function to create deciles, but I am getting the error below. I am new to using this function and do not know how to properly use the options or some other conversion that is necessary.
#initial summary using describe function in Hmisc library
DegreeBurn4th
n missing unique Mean .05 .10 .25 .50 .75 .90 .95
76 133
2007 Dec 21
1
post hoc in repeated measures of anova
Hallo, I have this dataset with repeated measures. There are two
within-subject factors, "formant" (2 levels: 1 and 2) and "f2 Ref" (25
levels: 670, 729, 788, 846, 905, 1080, 1100, 1120, 1140, 1170, 1480,
1470, 1450, 1440, 1430, 1890, 1840, 1790, 1740, 1690, 2290, 2210,
2120, 2040, 1950), and one between-subject factor, lang (2 levels:1
and 2). The response variable
2008 Nov 03
1
quantcut
I'm trying to devide x into tertiles, but ends up with integer limits
even x holds one decimal. The analysis is extremely sensitive to the
limits and I like to keep them right. How can that be done?
quartiles <- quantcut( x[x >= 0], q=seq(0,1, by=(1/3))
> table(quartiles)
quartiles
[180,344] (344,448] (448,644]
16467 16476 16452
[[alternative HTML version deleted]]
2009 Apr 16
2
splitting vector into equal sets
Hi R,
I have explored R archives a lot but couldn't find an efficient way of
doing the following:
I want to split a vector into sets of equal sizes. Is there any inbuilt
function of doing so with the option of specifying how to treat the
remaining observations. For example: suppose I want to split 20
observations in 3 groups, then I also want the option to put the extra
two observations
2009 May 20
1
Supressing the enumeration of output in console
Hi!
Pretty low content question but I've had major trouble finding an answer for
it so I hope it's alright.
I'm obviously new to R, and have been trying to get rid of the numerated
output I get in the console.
What I mean more specifically is that
X<-4;X
comes out as
[1] 4
and I'd like to get rid of the listing [1].
This isn't usually a problem when working with the
2010 May 06
3
Supressing axes 3 and 4 when using plot()
Is there a way of doing this? I'm using plot() to produce a scatter of
my data, but it routinely defaults to plotting 2 sets of x axes and 2
y axes. I'd like to not plot the upper and rightmost axes. I can use
'axes=F', and then manually add axes with 'axis', but then the newly
created axes do not intercept.
TIA,
Dan
2012 Feb 28
2
Error: could not find function "hier.part"
Error: could not find function "hier.part"
things I have tried:
1. reinstall R (lastest version, on windows XP)
2. install package "gtools"
3. include:
library(gtools)
require(gtools)
4. how I call this function:
hier.part(c$Y, xdata, fam = "gaussian", gof = "Rsqu")
5.when I try to check what's in the package "gtools", I get (hier.part is
2007 Oct 07
0
Supressing RDoc links
I recently noticed some anomalies in the Mocha RDoc. Within a method RDoc
comment, any word that happens to be the same as a method in the same class
gets turned into a link. You can see an example [2] with the word "once" and
another [3] with the words "yields", "times" and "with".
Does anyone know how to stop these words incorrectly being made into
2008 Jan 16
0
Supressing error messages on try function
Hi!
Why do I still get an error message on the try function?:
> options(show.error.messages = FALSE)
>
> trab <-matrix(nrow=6,ncol=6)
> trab[,] <-0.0001
> rownames(trab) <- c("A","B","C","D","E","I")
> colnames(trab) <-
2000 Mar 23
0
supressing output of netlogon scripts.
Hello,
I've got roaming profiles set up on my machines, that load and run
netlogon scripts that do various things. I would like there output
suppressed, i.e. I don't want to even see the dos box, I just want the
things to do there job and go on. Is this possible?
Thanks.
Dave.
________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
2004 Dec 31
2
Supressing empty sections with Sweave
Dear useRs,
I'm writing regular survey reports using Sweave. Each
report has several sections along the lines of:
\section*{Disease X}
<<MapX,fig=TRUE,echo=FALSE>>=
image(vectorx,vectory,matrixz)
@
Notes with or without Sexpr{a}.
\vfill
\pagebreak
\section*{Disease Y}
<<MapY,fig=TRUE,echo=FALSE>>=
...etc.
Often one or more of the diseases is not observed (all
2005 Jul 10
3
not supressing leading zeros when reading a table?
Dear R list,
I have a dataset with a column which should be read as character, like this:
name surname answer
1 xx yyy "00100"
2 rrr hhh "01"
When reading this dataset with read.table, I get
1 xx yyy 100
2 rrr hhh 1
The string column consists in answers to multiple choice questions, not all
having the same number of answers. I could format the
2001 Mar 15
1
supressing linefeed at end of file
Hello,
I want to do simulations with an external simulation model. For this
purpose I wrote a R-script which makes the pre- and post-processing of
the data (generate scenarios, analyze results).
The R-script writes the input file for the simulation with e.g.
write(x, file="test.dat", ncolumns=10)
The problem is, however, that this command (and even constructions with
cat) will add a
2008 Jul 15
1
Supressing printing from a function: ecdf
Dear R Users,
I am trying to suppress the information printed by the ecdf function
during an assignment. Various alternatives have failed me so far:
> a=summary(ecdf(rnorm(100)))["1st Qu."]
Empirical CDF: 100 unique values with summary
> invisible(a=summary(ecdf(rnorm(100)))["1st Qu."])
Empirical CDF: 100 unique values with summary
> (function()
2015 Dec 15
2
Trouble supressing ASAN reported leaks
Hi,
I'm currently trying to find and fix memory leaks (compiling with
``-fsanitize=address``) in the KLEE tool [1] an having found some
leaks and I'm having trouble suppressing them.
I'm trying to suppress them using the
``-fsanitize-blacklist=blacklist.txt`` option as documented at
[2]. I'm using Clang 3.7 ( Arch Linux package 3.7.0-6).
The sort of reported leaks I see are
```
2003 Jan 31
0
Version 0.8.0 of the gregmisc package is now available
Version 0.8.0 of the gregmisc package is now (or will shortly be) available
on CRAN.
New in this release:
- Enhanced and bug-fixed 'CrossTable' function (contributed by
Marc Schwartz)
- Augmented the 'barplot2' function with an 'add' argument to allow for
the addition of a barplot to an existing graphic. (contributed by
Marc Schwartz)
- Added the
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Sep 23
3
New version of gregmisc package
Version 0.6.0 of the gregmisc package has just been released on CRAN.
Description:
===========
Package: gregmisc
Description: Misc Functions written/maintained by Gregory R. Warnes
Title: Greg's Miscellaneous Functions
Version: 0.6.0
Date: 2002/09/23
Maintainer: Gregory R. Warnes <Gregory_R_Warnes at groton.pfizer.com>
Author: Gregory R. Warnes. Includes code provided by Ben
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package