Displaying 20 results from an estimated 200 matches similar to: "problem with plot style (pch) with lattice in legend"
2010 May 07
2
Package RPostgreSQL : Problem with dbWriteTable
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100507/f5128631/attachment.pl>
2011 Nov 07
3
R in batch mode packages loading question
Hello,
I use R in batch mode. Each time, I execute a script, R is loading each
packages I need in my script. That's Ok
But, I had to execute many scripts , and each time R is re-loading the
corresponding packages, which take to much time
Is it possible ask R to load the packages only once, and stay in memory
in background for further scripts, which would avoid to load the
packages in
2006 Mar 22
1
Sheather Jones Plug-In Bandwidth
Dear All,
Is there a way to find bandwidths for Normal, and Triangular Kernels using Sheather Jones plug-in method. If not, is there a way we could convert the bandwidth obtained by the default( I assume that the default is standard normal) in hcj(x,...) to other kernels.
I appreciate your help.
Thanks
Durai
---------------------------------
[[alternative HTML version
2009 Nov 22
1
probleme samba login domain
Hi,
Until now I can no longer connect to my samba domain.
I don't know what happened.
What this ( below in the log) means:
dump workgroup on subnet UNICAST_SUBNET: netmask= 192.168.10.253:
Nov 22 13:20:30 localhost nmbd.bis[3275]: #*011ETUDIANT(1) current
master browser = UNKNOWN
*Some help ?
here is the log:
announce_myself_to_domain_master_browser: t (1258892410) -
2013 Jan 24
12
group by + sum
Hi.. I need some support...
table:
week_id, user_id, project_id, hours
ex. =>
33, 2, 1, 10
34, 2,1,15
33, 2, 2, 20
35, 3, 1,20
etc.
Want to display a sum of hours per week_id per user_id
I have:
@hours = HourUser.includes(:user).group_by { |h| h.week_id }
@hours.keys.sort.each do |hour|
@hours[hour].collect(&:stunden).sum
Hours are summed up, but not sorted by user_id..
How to get
2012 Mar 20
3
Graphic legend with mathematical symbol, numeric variable and character variable
Hi,
I'd like to make a legend with a mix of mathematical symbol (tau),
numeric variable and character variables.I have tried :
types<-c("Type 1","Type 2","Type 2")
tau<-c(1,3,2)
legend(x="topright",legend=paste(types,"tau=",expression(tau)))
but it doesn't work: the 'tau' symbol is not written in its 'symbol
2005 Sep 13
11
if() command
Hi everyone !
Could you please help me with this problem ?
I??ve trying to write a code that assign to a variable the content from
another, but all I??ve got is a message error. For example:
if (age <=10) {group == 1}
else if (age > 10 & age <= 20) {group == 2}
else {group == 3}
Syntax error
Or
if (age <=10) {group == 1}
else (age > 10 & age <= 20) {group == 2}
2020 May 13
3
Sometimes commands do not terminate after upgrading to R 4.0 and Ubuntu 20.04
I have upgraded R (from 3.6 to 4.0) and RStudio (from 1.1 to 1.2.5) a few
days ago, and Ubuntu from 18.04 to 20.04 yesterday.
Since then, R sometimes never terminates when executing certain commands:
ivreg (from package AER), summary (of a logit regression) and logitmfx
(from package mfx). Sometimes these commands run fine, but most of the time
I have to kill the process because R won't
2002 Apr 07
0
help with the "pch" option in plot.locfit
Dear All,
I am trying to plot a smoothed hazard funciton using the LOCFIT library.
Suppose my locfit model is "loc.fit", my plot command looks like this:
plot(loc.rw, lty="solid", pch=1, xlab="Age at Risk",
ylab="Hazard Rate", ylim=c(0, .5), lwd=2)
What's interesting is that whichever number I used in the "pch=" option,
I still get a line
2008 May 18
1
How to change col and pch between panels in xyplot
Dear R-helpers,
x <- rep(1:2, 4)
y <- c(2, 4, 3, 5, 1, 3, 2, 4)
w <- factor(rep(1:2, each = 4))
v <- rep(1:2, each = 2, 2)
xyplot(y ~ x | w, groups = v, type = 'b')
How do I tell xyplot to use four colors and four plot characters and
four line types? And how do I set up an appropriate key in each?
_____________________________
Professor Michael Kubovy
University of Virginia
2010 Apr 05
1
Using pch with the RGL library
Hi,
I am trying to compare two 3D plots. For that, I am trying to use the
"pch" parameter in the "points3d" function, but it is not working. Is
it implemented? Any suggestion?
Here goes a reproducible code. I wanted the second plot having
different symbols for the points.
x <- rbind(matrix(rnorm(100, sd = 0.3), ncol = 2),
matrix(rnorm(100, mean = 1, sd = 0.3),
2013 Oct 15
1
how to set pch in auto.key for splom
Dear All,
I am using most current version of R (3.0.2) and lattice (0.20-24). But can
not set appropriate pch type with the following code. Could anyone help me?
splom(~iris[1:4], groups = iris$Species, pch=1:3, auto.key = list(space =
'top', columns = 3, pch=1:3))
Thanks
John
[[alternative HTML version deleted]]
2012 Aug 24
1
Suggestion: Specify default of "pch" in the manual
Both, in the manuals for par() and points() I could not find a note on
the default value of "pch". I think it would be rather helpful to add a
note that the default is 1 (in both manuals). This would, for example,
help users that want to draw a legend.
And yes, I know that one can obtain the default by inspecting par() but
I think for many users (especially beginneRs) this is not
1999 Mar 25
1
plot.formula and pch= (PR#149)
I'm not sure exactly where to point my finger with this one, but there
is a nasty surprise to the unsuspecting user.
There is no check on the length of the vector passed in the pch=
argument to plot, it is just recycled as necessary:
plot(1:10,1:10,pch=1:2)
gives alternating circles and triangles.
The nasty bits come up especially with plot.formula:
x<-1:10;y<-1:10
2005 Mar 22
1
pch=NA (PR#7737)
I'd like to suggest changes to three help pages, regarding the use of
pch=NA to suppress plotting symbols. See below.
Arni
R 2.0.1 on WinXP
===
help(bxp)
===
The argument outpch=" " needs to be replaced with outpch=NA in two places.
I actually wrote this part of the documentation myself at one point, but
have now realized that pch=NA and pch=" " are not the same:
2005 Aug 16
0
pch=NA in bxp.Rd (PR#8073)
I'd like to iterate my earlier request (#7737) to change the documentation
for bxp().
The argument outpch=" " needs to be replaced with outpch=NA in two places.
I actually wrote this part of the documentation myself at one point, but
have now realized that pch=NA and pch=" " are not the same:
x <- split(rlnorm(26e4), letters)
## NA generates small file
2008 Jul 28
1
cairo device and pch="+"
Dear list,
I have spotted what could be a memory leak somewhere.
The example below shows how to quickly use up RAM on a linux machine
(the example is taylored for a 2Gb machine, change the size of the matrix m
is needed).
# ---
m <- matrix(rnorm(130), nrow=6000, 6)
X11(type="cairo")
pairs(m)
# --- here the trouble starts (monitor the memory usage as the plot goes).
pairs(m,
2009 Sep 25
0
Wish for stripchart to handle pch %in% 21:25 with bg
Dear R-Devel,
consider :
###
x <- round(rnorm(50))
stripchart(x, pch = 21, col = "black", bg = "pink", method = "jitter")
points(0.5, 1, pch = 21, col = "black", bg = "pink", cex = 2)
###
Under R 2.9.0 the internal color of the single point produced by points()
was honored but not the color of the points produced by stripchart().
My wish is
2012 Dec 07
1
documentation for legend(): possible missing info for pch.
In the documentation for graphics::legend(), the entry for "pch" is:
> pch: the plotting symbols appearing in the legend, either as
vector of 1-character strings, or one (multi character)
string. _Must_ be specified for symbol drawing.
If I did not misread them, examples in the same documentation page
suggest that it is also possible to pass integers.
2016 Aug 25
0
"plot.ts" doesn't respect the value of "pch" (+ blocked from Bugzilla signups)
> On Aug 24, 2016, at 5:59 PM, Gregory Werbin <greg.werbin at libertymail.net> wrote:
>
> I did a search on Bugzilla for "plot.ts" and didn't find anything on this issue. I tried to sign up for Bugzilla to report it, but my e-mail address didn't pass your "syntax checking" for a legal e-mail address.
>
> The bug is easily reproducible on my