Displaying 20 results from an estimated 8000 matches similar to: "dot diagram"
2010 Jun 29
5
More than two font in a plot
Hi there,
I am a Chinese R user. I hope to display Chinese character in a plot,
and than save it in PostScript format. I have read the article titled
"Non-Standard Fonts in PostScript and PDF Graphics", especially the
section about CJK fonts. I also tried the code:
> pdf("chinese.pdf", width=3, height=1)
> grid.text("\u4F60\u597D", y=2/3,
2006 Apr 20
1
Mutually Orthogonal Latin Squares
Hi all,
The package crossdes could contruct a complete sets of mutually orthogonal latin squares.
The construction works for prime powers only.
I hope to know whether there is a way to construct a mutually orthogonal Lation square for
10 or other numbers that could not be prime powers.
Thanks for any suggestions.
Best wishes,
Jinsong Zhao
2010 Jun 30
2
plain text in Chinese can not be set
Hi there,
According to ?par, 'font' is an integer which specifies which font to
use for text, that 1 corresponds to plain text (the default), 2 to bold
face, 3 to italic and 4 to bold italic.
When I test Chinese character in pdf(), I found that 1 to bold face, 2
to italic, 3 to bold italic, 4 to symbol. and I don't find how to set
plain text. In the following code, the font to use
2006 Apr 28
4
stepwise regression
Dear all,
I have encountered a problem when perform stepwise regression.
The dataset have more 9 independent variables, but 7 observation.
In R, before performing stepwise, a lm object should be given.
fm <- lm(y ~ X1 + X2 + X3 + X11 + X22 + X33 + X12 + X13 + X23)
However, summary(fm) will give:
Residual standard error: NaN on 0 degrees of freedom
Multiple R-Squared: 1, Adjusted
2007 Jan 08
1
R scripts to plot Taylor Diagram
Dear All,
Are there any existing scripts to plot Taylor Diagram (definition see
http://www.ipsl.jussieu.fr/~jmesce/Taylor_diagram/taylor_diagram_definition.html
) ? Thanks a lot!
Linda
[[alternative HTML version deleted]]
2010 Oct 28
2
draw path diagram using dot
I did a simple path analysis and tried to draw the path diagram. I used
'path.diagram' in sem package and produced a graph using dotty in graphviz;
however, I don't know how to produce a graph from R directly. In the sem
package manual John mentioned that "to obtain graphics output directly, the
dot program must be on the system search path". Does anyone know how to set
it
2009 Mar 14
3
[OT] two question about color space.
Hi there,
I try to plot visible light spectrum (380nm~780nm) with color
corresponding to the specific wavelength. However, I don't find a
function that could do this.
Another question, it's possible to plot a color space chromaticity
diagram like this:
http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/CIExy1931.svg/300px-CIExy1931.svg.png
Thanks in advance!
Jinsong
2008 Sep 15
4
How to draw a plot like this?
Hi there,
I hope to draw a plot like this:
http://www.sg-chem.net/swizard/Ru-bqdi-spectra.gif
is it possible to draw it using R?
thanks for any suggestions.
regards,
Jinsong
2012 Aug 30
1
path analysis help
Hi there,
I searched R-help list with "path analysis" as keyword, and learn that
sem package can do it. However, I don't figure out a way to construct
the model for the path diagram as Fig. 1. in Huang et al. (2002)[1].
I try the following code:
huang.cor <- readMoments(diag=FALSE, names=c('x1', 'x2', 'x3', 'y'))
0.76
0.91 0.72
0.94 0.77 0.83
2004 Mar 26
2
(marginal) dot diagram
I am attempting to plot something called a (marginal) dot diagram which is a regular scatterplot with an extra set of plots in the margins along both the X and Y axes. I have looked everywhere I can think for information. Can anyone give me any suggestions? Is there a single command that generates it or do I have to generate a regular scatterplot then add the additional plots in the margins?
2006 Apr 06
2
Help on hypothesis testing
Hi,
I hope to use R to perform some hypothesis testing, such as t.test() and var.test().
However, I don't find a function that could do test on means with variance known
(i.e., u test or z test in some textbook), and a function that could do test on
variances of normal distribution (i.e. chi-squared test).
Thanks in advance for any hints.
Best wishes,
Jinsong
2010 Aug 07
10
[PATCH] Fix hvm vcpu hotplug bug
When hotplug hvm vcpu by ''xm vcpu-set'' command, if it add/remove
many vcpus by 1 ''xm vcpu-set'' command, it has a bug that it cannot
add/remove all vcpus that want to be added/removed.
This patch is to fix the bug. It delays trigger sci until all xenstore
cpu node status are watched.
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
2012 Jan 30
1
about changing line type and line width in Taylor Diagram
Dear all,
I am new to plotting Taylor Diagram using plotrix package within R, hence
this post. I have written a script which plots Taylor Diagram with one
reference and 7 model values. However the font size, line width and line
type are not clear when saving the diagram as a jpeg file. I tried the
functions lty, lwd and font but no apparent change. I am attaching the
script here. Any help would
2008 Jul 26
2
response surface analysis
Hi,
Is there a package that could do response surface analysis equivalent to
SAS RSREG procedure? Thanks!
Regards,
Jinsong
2006 May 06
3
probit analysis
Dear all,
I have a very simple set of data and I would like to analyze them
with probit analysis.
dose event trial
0.0 3 15
1.1 4 15
1.3 4 15
2.0 3 15
2.2 5 15
2.8 4 15
3.7 5 15
3.9 9 15
4.4 8 15
4.8 11 15
5.9 12 15
6.8 13 15
The dose should be transformed with log10().
I use glm(y ~ log10(dose), family=binomial(link=probit)) to
do probit analysis, however, I have to exclude the
2011 Apr 13
3
latex, eps graphics and transparent colors
I have a diagram to be included in latex, where all my figures are .eps
graphics (so pdflatex is not an
option) and I want to achieve something
like the following: three concentric filled circles varying in lightness
or saturation. It is easiest to do this using
transparency, but in my test using the postscript driver, the
transparent color fills do not appear. Is it
correct that postscript()
2008 Sep 06
1
Help use try function with boot
Hi R users,
Is is possible for me to use the try function with boot? I would to do
the bootstraping with a nonlinear model(it works well when R < 1000).
But it does not work very well (when R is large) thus I try to use
"try" to resolve. I put the try function in two cases:
case1: put the try in front of the boot
> c1.try<-try(boot(c1data, statistic = c1.fun,
2020 Oct 20
5
write.csv covert Åland to <c5>land
Hi there,
I tried to export the names of country to a csv file with write.csv().
In the resulted file, ?land was coverted to <c5>land. Is there any way
could prevent this happening? Thanks!
> abc
[1] "?land"
> write.table(abc, file = "")
"x"
"1" "<c5>land"
Best,
Jinsong
2004 Aug 03
4
How to select a whole column? Thanks!
Dear all,
I hope to remove a whole column from a data frame or matrix (> 2000
columns). All value in the column are same. The first thing is to
select those columns.
For instance, I hope to remove the V3~6 column, for all the value in
those colume is zero.
V3 V4 V5 V6 V7 V8 V9 V10
1 0 0 0 0 0.000 0.000 0.000 0.000
2 0 0 0 0 0.000 0.000 0.000 0.000
3 0 0 0
2017 Dec 13
4
difference between ifelse and if...else?
Hi there,
I don't know why the following codes are return different results.
> ifelse(3 > 2, 1:3, length(1:3))
[1] 1
> if (3 > 2) 1:3 else length(1:3)
[1] 1 2 3
Any hints?
Best,
Jinsong