Displaying 14 results from an estimated 14 matches for "s195404".
2003 Aug 01
2
'format' problem
Dear R experts,
format(12345678, digits = 2)
gives
[1] "1.2e+07"
while
format(1234567, digits = 2)
gives
[1] "1234567"
but I'd like the last number to be represented as "1.2e+06" string too.
Where am I wrong?
Thanks,
Timur.
2003 Oct 30
1
Trouble reshaping some data
I would appreciate some advice on the following task. I have
some data that currently looks like this:
t1 <- data.frame(id=c(1,1,2,2),
aspect=c("A","B","A","B"), score=c(10,9,11,12))
I'd like it to look like this:
id A B
1 10 9
2 11 12
reshape() looks like a good candidate for this job but I'm
not really sure about the roles of
2005 Dec 05
1
count.fields vs read.table
...er=TRUE)
[1] 425 248
I wonder if someone could be kind enough to point out what I've done wrong or suggest some tips
for managing this, please? Thanks for your advice!
Regards,
Andrew C. Ward
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
s195404 at student.uq.edu.au
acward at tpg.com.au
2003 Sep 04
2
laplace transform
Dear users,
is anybody of you aware of a R command to perform laplace transform or
even its inversion?
Thank you very much.
Luca
2008 Mar 18
1
Updating selected variables in a data frame
Dear list,
I'd like to update certain rows/columns in a data
frame with new values. The application is that
survey respondents may give an answer of "Other"
to a categorical question and then provide some
text describing what they mean. This text is then
reviewed and placed into a category. These edits
or recodes then need to be merged back into the
main dataset.
A small example
2001 Nov 23
1
Changing strip widths in lattice plots
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the
2001 Dec 11
1
Paid support for R?
Dear R users,
Sorry if this has been discussed before.
I was recently looking at the MySQL site and saw that they offer various levels
of paid support. The support options range from basic email support (USD200)
through to extensive telephone support from the development team (USD10000).
These are annual prices.
This is something I would be happy to see available with R (maybe it is?). My
2003 Jul 22
3
R and C++ compared with only C++
My computer is a pentium 4 running at 2.4 GHz.
My R is 1.7.1
I have written a program in R that calls C++. The program spends most of the
time in C++ ( > 90% ). R basically deals with output and input.
How slower can this be compared with the program I would get from rewriting
everything in C++?
Thank you.
2010 Jul 18
6
CRAN (and crantastic) updates this week
...), VPdtw (2.1-6),
vrmlgen (1.4.4), wavelets (0.2-6), waveslim (1.6.4), wavethresh (4.5),
wgaim (0.99-1), wle (0.9-4), WMCapacity (0.9.5.0), wmtsa (1.0-5),
wordnet (0.1-6), xlsx (0.2.1), xlsxjars (0.2.0), XML (3.1-0), xts
(0.7-1), yaImpute (1.0-11), zoo (1.6-4)
New reviews
-----------
* survey, by s195404
http://crantastic.org/reviews/79
* RODBC, by s195404
http://crantastic.org/reviews/78
This email provided as a service for the R community by
http://crantastic.org.
Like it? Hate it? Please let us know: cranatic at gmail.com.
2001 Aug 03
0
update.packages: Resolution
Hello R users,
Thank you very much to those who responded so quickly and helpfully to my
question about update.packages() and Windows 2000. I am grateful to Thomas
Lumley, Jason Turner, Prof Brian D Ripley, Uwe Ligges and Andy Liaw (at least).
The solution was simply to use internet2.dll rather than internet.dll. I'm
sorry I didn't spot this in the documentation. Thank you again. As
2001 Aug 28
2
Christmas tree graphs
Hello R users,
I wish to draw a type of horizontal bar chart for two groups (males and
females). The values for one group will start at the y-axis and point to the
left, and the values for the other group will start at the y-axis and point to
the right. If you're (un)lucky, the resulting graph can assume the shape of a
Christmas tree.
The data are
left.side <- c(107092, 113053,
2008 Dec 15
2
Duplicates among columns of a data frame
Dear list,
I have a data frame of survey respondents, a little like this:
set.seed(20081215)
n <- 100
dat <- data.frame(id=1:100,
addr1=sample(LETTERS, n, replace=TRUE),
addr2=sample(LETTERS, n, replace=TRUE),
addr3=sample(LETTERS, n, replace=TRUE))
head(dat)
id addr1 addr2 addr3
1 1 R H Q
2 2 H C K
3 3
2001 Jul 31
4
update.packages()
Dear R users,
I am using R Version 1.3.0 (2001-06-22) under Windows 2000 Professional (SP 2).
When I try "Packages"->"Update packages from CRAN"
the result is something like
trying URL `http://cran.r-project.org/bin/windows/contrib/PACKAGES'
unable to connect to 'cran.r-project.org'.
Error in download.file(url = paste(contriburl, "PACKAGES",
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean
difference for univariate data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd