Displaying 20 results from an estimated 48 matches for "jiho".
Did you mean:
jeho
2007 Dec 13
2
use ggplot in a function to which a column name is given
...l=???)) + geom_tile()
# or ...
}
print(foo1("u"))
print(foo1("v"))
print(foo2("u"))
print(foo3("u"))
#------------------------------------------------------------
Any help in making foo3 work would be appreciated. Thanks in advance
for your expertise.
JiHO
---
http://jo.irisson.free.fr/
2007 Sep 20
1
ggplot and xlim/ylim
...ta=mtcars,y=wt, x=qsec,xlim=c(0,30))
<->
ggplot(mtcars, aes(y=wt, x=qsec)) + geom_point() + ???
Indeed the ggplot syntax is in general more flexible and powerful and
I usually rely on it in scripts. It would be nice to know how to use
xlim/ylim with this syntax.
Thank you in advance.
JiHO
---
http://jo.irisson.free.fr/
2009 Sep 10
2
Merge data frames but prefer values in one
...at or do I have to resort to
some post-processing after merge? It seems that it might be something
like a "right merge" for data bases but I don't know this world at
all. I would be happy to look into sqldf if that allows to do things
like that.
Thanks in advance. Sincerely,
JiHO
---
http://maururu.net
2007 Jul 30
2
apply, lapply and data.frame in R 2.5
...apply a function
on all elements of a data.frame and get a similar data.frame in
return. Indeed data.frames are probably the most common object in R
and applying a function to each of its columns/variables appears to
me as something one would want to do quite often.
Thank you in advance.
JiHO
---
http://jo.irisson.free.fr/
2009 Mar 22
3
'require' equivalent for local functions
...(".GlobalEnv") && class(fun)
== "function") ) {
cat("Sourcing", lib,"...\n")
source(lib)
}
}
but I am really not confident with all those deparse/substitute things
and the environment manipulation, so I guess there should be a better
way.
JiHO
---
http://jo.irisson.free.fr/
2007 May 31
3
Problem with Weighted Variance in Hmisc
The function wtd.var(x,w) in Hmisc calculates the weighted variance of x
where w are the weights. It appears to me that wtd.var(x,w) = var(x) if all
of the weights are equal, but this does not appear to be the case. Can
someone point out to me where I am going wrong here? Thanks.
Tom La Bone
[[alternative HTML version deleted]]
2008 Feb 05
2
Incomplete ouput with sink and split=TRUE
...fidence interval:
-1.5807338 -0.7316803
sample estimates:
mean of x mean of y
0.4437929 1.6000000
>
Is this a known bug (I'm using R 2.6.1 on OS X and Linux - FC8)? Is
there an inherent reason why some portions of this output are not
redirected?
Thank you in advance for your help.
JiHO
---
http://jo.irisson.free.fr/
2007 May 18
3
lapply not reading arguments from the correct environment
...the
function:
> fooCollumn=1
> myfun()
it works but uses the value defined in the general environment and
not the one defined in the function.
This is with R 2.5.0 on both OS X and Linux (Fedora Core 6)
What did I do wrong? Is this indeed a bug? An intended behavior?
Thanks in advance.
JiHO
---
http://jo.irisson.free.fr/
2020 Jul 01
2
How to get information about data dependencies?
Hello,
I had a question similar to this one in the link below.
http://lists.llvm.org/pipermail/llvm-dev/2015-January/080589.html
In addition, if we can't get RAW dependencies information using the
provided llvm tools, how would I write a pass for it? Are there any helpful
resources?
Thanks,
Jiho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200701/78f95e90/attachment.html>
2007 Jan 30
2
rbind-ing list
hi,
i have a list of data.frame that has same structure. i would like to know a
efficient way of rbind-ing it.
right now, i write:
n = length(temp) # 'temp' is a list of data.frames
temp2 = data.frame()
for (i in 1:n) temp2 = rbind( temp2, temp[[i]])
return(temp2)
but this is not an efficient way since we keeping overwriting temp2. i
wonder if there's faster way.
thanks
--
2007 May 21
1
plot(......,new=T) vs. par(new=T)
...ssic but I cannot find an answer to this on the
mailing list (i.e. with a google search restricted to the mailing
list archive). Setting:
par(new=T)
plot(x,y)
works but
plot(x,y,new=T)
doesn't while it is said in plot's help that ... arguments are passed
to par. What am I missing?
JiHO
---
http://jo.irisson.free.fr/
2008 Jan 18
1
Selecting rows conditionally between 2 data.frames
...this is not very practical since using apply apparently converts the
data to an array and looses column titles (i.e. x$size does not work,
I need to use column numbers, which I'd rather not)
- I feel there is an easier, vector based way.
I would welcome suggestions. Thank you in advance.
JiHO
---
http://jo.irisson.free.fr/
2007 Sep 30
1
clipping viewports
Dear useRs,
Why are the rotated blue and yellow boxes in the example below clipped outside of 6 x 6 inch window in the middle of the page?? Where does the 6 x 6 inch window come from? I would like to make use of the entire page.
> library(grid)
> pdf(file = "FarmMaps.pdf", paper = "a4")
> pushViewport(viewport(
+ width = unit(7.6, "inches"), height =
2007 May 21
1
Comparing multiple distributions
...he actual repartition is important also.
I know this is probably not directly R related but I have already
searched around for solutions and solicited my local statistics
expert... to no avail. So I hope that the stats' experts on this list
will help me.
Thank you very much in advance.
JiHO
---
http://jo.irisson.free.fr/
2010 Mar 18
2
recommendations on use of -> operator
I have never used -> but I noticed at
http://github.com/jiho/r-utils/blob/master/beamer_colors.R
that some people do. In fact, the above-named code has a sort of elegance about it (except for the use of "=" for assignment...). To my eye, -> calls to mind a type of assignment that is meant to stand out. For example, perhaps it would make s...
2010 Jan 28
1
quartz() and dpi
...fall back on high resolution PNGs. Currently it forces me to add a
'scale' argument to includegraphics in latex for those. I would rather
leave the latex document alone, use extension-less file names
includegraphics and decide from R wether to produce a pdf or a png.
Thank you in advance,
JiHO
---
http://maururu.net
2007 Sep 27
3
Plotting from different data sources on the same plot (with ggplot2)
...trajectories at each station, points proportional to some value at
each station etc.) so I really want the different data sources to be
separated and to produce the plot in several steps, otherwise it will
soon become too complicated to manage.
Thank you very much in advance for your help.
JiHO
---
http://jo.irisson.free.fr/
2007 Oct 04
3
pdf() device uses fonts to represent points - data alteration?
...write","test_embed.pdf")
visualize the fonts:
pdffonts test.pdf
and a package with the two pdf files and bitmaps of how they render
or are interpreted in various programs:
http://jo.irisson.free.fr/dropbox/test_R_pdf_fonts.zip
Thank you in advance for your attention and help.
JiHO
---
http://jo.irisson.free.fr/
2010 Nov 22
1
Plotting a cloud/fog of variable density in rgl
...emi-transparent)
alpha = alpha/5
# plot
library("rgl")
spheres3d(d$x, d$y, d$z, alpha=alpha, radius=0.05)
I saw the fog effect but it seems to add a fog in the scene to
increase depth. What I want is my scene to actually look like a fog.
Thanks in advance for any help. Sincerely,
JiHO
---
http://maururu.net
2007 Jul 24
2
x,y,z table to matrix with x as rows and y as columns
...ned by X and Y (and,
as a plus, fill the X.Y combinations which do no exist in the
original data frame with NAs in the resulting matrix). I could do
this manually but I guess the appropriate function should be
somewhere around. I just can't find it.
Thank you in advance for your help.
JiHO
---
http://jo.irisson.free.fr/