Displaying 20 results from an estimated 29 matches for "hufti".
Did you mean:
huft
2013 Feb 08
3
Border width on symbols plotted with the lattice package
Dear list members,
I can't figure out how get 'xyplot' or 'dotplot' in the 'lattice'
package to respect the 'lwd' value for specifying the border with for
*symbols* (for lines it works fine). Example:
-----
# Base graphics works fine (gives a 'fat? circle)
plot(5, cex=10, pch=21, lwd=10)
# But 'xyplot' or 'dotplot' doesn't
2009 Dec 10
2
R on Windows crashes when using certain characters in strings in data frames (PR#14125)
Full_Name: Karl Ove Hufthammer
Version: 2.10.0
OS: Windows XP
Submission from: (NULL) (93.124.134.66)
I have found a rather strange bug in R 2.10.0 on Windows, where the choice of
characters used in a string make R crash (i.e., Windows shows a dialogue saying
that the application has a problem, and must be closed).
I can reproduce the bug on two separate systems running Windows XP, and with
2009 Nov 25
1
Kerning issues with CairoPDF
Dear list members
I'm using CairoPDF to generate PDF (because of its font embedding and
support for transparent colours). However, at least on my (Windows)
system, the text it outputs seems to have completely wrong kerning.
Here's an example:
CairoPDF("test.pdf")
plot(rnorm(100),xlab="Ovreset")
dev.off()
The v is (slightly) too far away from the O, it's much
2006 Sep 12
1
lattice cloud and conditional axis limits
...function does, one of the following would work:
cloud(z~x*y|s,scales=list(arrows=FALSE,z=list(relation="free")))
cloud(z~x*y|s,scales=list(arrows=FALSE,relation="free"))
However, it does not. Any ideas how I can make it work?
--
Karl Ove Hufthammer
E-mail and Jabber: karl at huftis.org
2012 Sep 05
2
POSIXlt and daylight savings time
I have a data frame that contains dates, but when I use as.POSIXlt() I lose
the hours on all records. I traced this down to a particuar hour which
causes the issue...
> as.POSIXlt('2004-10-31 02:00:00')
[1] "2004-10-31"
> as.POSIXlt('2004-10-31 03:00:00')
[1] "2004-10-31 03:00:00"
How do I tell as.POSIXlt() to ignore daylight savings and just convert to
2013 Jan 15
2
Sparse dataframes?
Dear Folks--
Is there a data frame analog to sparse matrices? I am working with a panel
data set that has a large number of variables that are redefined repeatedly
or exist for only a few years (out of 48). In my current structure, where
variables are columns and rows are years, more than 90 percent of the cells
and more than 3/4 of the total size of my file are NAs.
I am wondering if there is
2009 Oct 05
2
Long for Loop- calling C from R - Parallel Computing
Hello everyone,
I'm running the following for loop to generate random variables in chunks of
60 at a time (l), here h is of order in millions (could be 5 to 6 millions),
note that generating all the variables at once could have an impact on the
final results
for(j in 1:h){
dat$t.o[seq(0,g1,l)[j]+1:l]<-dat$mu[seq(0,g1,l)[j]+1:l] +
rnorm(l,0,dat$g.var[seq(0,g1,l)[j]+1:l])
}
Is there any
2009 Dec 15
1
Antwort: Re: R on Windows crashes when using certain (PR#14143)
The new version of R-devel from yesterday morning seems to have fixed bug=20
14114! Thanks a lot for your help.
Duncan Murdoch <murdoch at stats.uwo.ca> schrieb am 14.12.2009 13:34:35:
> On 10/12/2009 4:20 AM, karl at huftis.org wrote:
> > Full=5FName: Karl Ove Hufthammer
> > Version: 2.10.0
> > OS: Windows XP
> > Submission from: (NULL) (93.124.134.66)
> >=20
> >=20
> > I have found a rather strange bug in R 2.10.0 on Windows, where=20
> the choice of
> > characters...
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this:
>table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25 Clive 611
3 2008-11-25 Jeremy 641
4 2008-11-25 Walt 722
5 2008-11-25 Tony 645
6 2008-11-26 Tony 645
7 2008-11-26
2009 Oct 30
1
Applying a function on n nearest neighbours
I'm having a problem where I have to apply a function to a subset of a
variable, where the subset is defined by the n nearest neighbours of a
second variable.
Here's an example applied to the 'iris' dataset:
$ head(iris)
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1 5.1 3.5 1.4 0.2 setosa
2 4.9 3.0 1.4
2009 Oct 30
2
data.frame extracting data row-wise
Dear All,
I am struggling with extracting data from a data frame:
x=data.frame(a=1:11,b=100:110)
What I want is a list/vector in this sence: 1 100 2 101 3 102...
For single rows, this works fine:
as.matrix(x)[1,]
For, say 2 rows, this works fine:
z=c(as.matrix(x)[1,],as.matrix(x)[2,])
But
z=c(as.matrix(x)[1:2,])
gives 1 2 100 101!?
Is there an 'automated way' to produce a
2007 Nov 19
1
(PR#10437) segfault on functions with 'source' attribute
...that, but the C code does assume
source attributes were put there by R, and changing tests from !isNull to
isString in a few places will fix that.
If there is a character vector "source" attribute it should be used: that
is the point of such attributes.
On Mon, 19 Nov 2007, karl at huftis.org wrote:
> Full_Name: Karl Ove Hufthammer
> Version: 2.6.0
> OS: Linux (Fedora 7)
> Submission from: (NULL) (129.177.61.84)
>
>
> When viewing a function that has its 'source' attribute set to a boolean or a
> numeric, R crashes with a segfault. (Setting 'sou...
2009 Dec 14
0
R on Windows crashes when using certain characters in strings (PR#14137)
On 10/12/2009 4:20 AM, karl at huftis.org wrote:
> Full_Name: Karl Ove Hufthammer
> Version: 2.10.0
> OS: Windows XP
> Submission from: (NULL) (93.124.134.66)
>
>
> I have found a rather strange bug in R 2.10.0 on Windows, where the choice of
> characters used in a string make R crash (i.e., Windows shows a d...
2009 Oct 19
2
Possible bug in plot.POSIXct regarding x axis
I believe I have found a bug (or at least a misfeature) in plot.POSIXct.
See the following example code.
set.seed(1)
x=seq(1,1e8,length=100)+round(runif(100)*1e8)
y=as.POSIXct(x,origin="2001-01-01")
plot(y)
This plots some random (date)times against their indices. The y axis
correctly shows appropriate values (years), but the x axis contains the
single number '59:58' in the
2009 Dec 07
1
Subset of time observations where timediff > 60 secs
Dear list members
I have a rather large vector (part of a data frame) giving the time
(date + time, POSIXct) of observations. The times are irregular (with
both small and large jumps) but increasing, and there are several
millions of them.
I now wish to reduce my data set, so that I only have observations which
are at least (for example) 60 seconds apart. Basically, I need (all) the
indices
2006 Jul 31
3
Great R documentation
Dear all,
I'm trying to improve the documentation I provide my R packages, and
to that end I'd like to find out what you think is great R
documentation. I'm particularly interested in function documentation,
but great vignettes, websites or book are also of interest.
What is your favourite bit of R documentation, and why?
Thanks,
Hadley
2006 Jul 25
3
Overplotting: plot() invocation looks ugly ... suggestions?
Hi WizaRds,
I'd like to overplot UK fuel consumption per quarter over the course of five years.
Sounds simple enough?
Unless I'm missing something, the following seems very involved for what I'm trying to do. Any suggestions on simplifications?
The way I did it is awkward mainly because of the first call to plot ... but isn't this necessary, especially to set limits for the
2011 Feb 02
3
Applying multiple functions to one object
Dear list members,
I recall seeing a convenience function for applying multiple functions to
one object (i.e., almost the opposite of 'mapply?) somewhere.
Example: If the function was named ?fun? the output of
fun(3.14, mode, typeof, class)
would be identical to the output of
c(mode(3.14), typeof(3.14), class(3.14))
Is my memory failing me, or does such a function already exists in a
2013 Jan 14
1
Tukey HSD plot with lines indicating (non-)significance
Dear list members,
I'm running some tests looking at differences between means for various
levels of a factor, using Tukey's HSD method.
I would like to plot the data as boxplots or dotplots, with horizontal
significance lines indicating which groups are statistically
significantly different, according to Tukey HSD. Here's a nice image
showing an example of such a graphical
2012 Aug 18
1
Parameter scaling problems with optim and Nelder-Mead method (bug?)
Dear all,
I?m having some problems getting optim with method="Nelder-Mead" to work
properly. It seems like there is no way of controlling the step size,
and the step size seems to depend on the *difference* between the
initial values, which makes no sense. Example:
f=function(xy, mu1, mu2) {
print(xy)
dnorm(xy[1]-mu1)*dnorm(xy[2]-mu2)
}
f1=function(xy) -f(xy, 0,