Displaying 20 results from an estimated 10000 matches similar to: "PostScript scatter plot, losing points at RHS"
2003 Nov 24
4
R postscript generation error (lines versus points) (PR#5285)
Full_Name: Stephen Harker
Version: 1.80
OS: linux (Yellow Dog 3.0 on ppc)
Submission from: (NULL) (130.194.13.101)
In creating a postscript file from a set of data in which the points are
plotted
using `points()' and lines drawn using `lines()' I have found since upgrading
from R version 1.4? to 1.8 that the two sets do not coinicide completely. This
is best illustrated by a simple
2010 Jul 04
2
help with predict.lda
HI, Dear community,
I am using the linear discriminant analysis to build model and make new
predictions:
> dim(train) #training data
[1] 1272 22
> dim(valid) # validation data
[1] 140 22
lda.fit <- lda(out ~ ., data=train, na.action="na.omit", CV=TRUE) # model
fitting of linear discriminant analysis on training data
> predict(lda.fit, valid) # make prediction on
2000 Jun 16
1
postscript device on R-1.1.0
Am I the only one with this problem?
> postscript()
Error in old$command == "default" : comparison (1) is possible only for
vector types
The function postscript() is creates a list called "old". the function
wants to access old$command, but old does not have a component called
command.
> postscript
function (file = ifelse(onefile, "Rplots.ps",
2003 Jul 11
3
postscript/eps label clipping
The following code produces an eps file with the tops of each of the ylabs
clipped off.
par(mfrow=c(2,2))
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
plot(runif(10),
ylab=expression(Delta * Beta^2),xlab="Prediction")
plot(runif(10),
ylab="Function(Lengthy Expression)",xlab="Prediction")
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
Dear list,
I'm stuck with a little graphical problem. I'm generating several
lattice plots which are printed in a single postcript device opened by
> trellis.device(postscript, theme=canonical.theme("postscript",
color=F), file="an_phase2_graph.ps", paper="a4", pointsize = 10,
onefile=TRUE, horizontal=TRUE)
Everything works fine,but some of these
2006 Jan 26
2
footnote in postscript lattice
I would like to add a footnote to this graph but do not see a "footnote" command in the package:lattice documentation. I would like to note the "span=.8"
as the footnote.
postscript(file= ?C:/Documents and Settings/dsonneborn/My Documents/Slovak/output/pcb_tables/smooth_PCB_lines_four.ps?, bg=?transparent?, onefile=FALSE, pointsize=20,paper=?letter?, horizontal=TRUE,
2002 Aug 30
2
postscript() problem
Hi R-users,
I am using "postscript("xx.eps", horizontal=FALSE, onefile=FALSE,
height=6, width=10, pointsize=10)" and "barplot(xx.dat)" in R to produce
EPS graphics for LATeX document. When checking the graphics with "gv" I
see that it was not produced with full details. The main graphic is
there, but axes labels and titles are missing. While checking the
2000 Jun 26
1
postscript error
I'm using R version 1.1.0 with Redhat 6.2 in a Dual-Pentium
When I type
postscript()
I have the next error:
-- Error in old$command == "default" : comparison (1) is possible only
for vector types
I have updated R next week using the rpm package
http://www.stat.math.ethz.ch/CRAN/bin/linux/redhat/6.x/i386/R-base-1.0
.0-2.i386.rpm
I know that postscript() has new features, but I
2004 Mar 15
1
Correct Computer Modern font in postscript(..) output
Hi,
I'm trying to get the correct font used when generating italic text in an R
grahic. I have a set of labels that print correctly except it seems the
italic text is justr a slanted version of the TeX computer modern normal
font... I'm using R v1.8.1 on Windows XP, and I get the same result if I
build the pdf using Adobe Acrobat or using MikTeX
The labels:
2002 Jun 17
2
layout() and postscript()
HI,
I would like to know if it's possible to create a postscript file with
multiple graphs . I'm creating some graphs by the means of a loop and I want
to save each graph in the same file (splitting making the device by the
number of graphs).
Do I have to use the par(matrix()) option, the layout() function or the
split.screen() one ?
Thanks
Nolwenn
2005 Sep 29
1
Fisher's discriminant functions
Hi everyone,
I'm trying to solve a problem about how to get the
Fisher's discriminant functions of a "lda" (linear
discriminant analysis) object, I mean, the object
obtained from doing "lda(formula, data)" function of
the package MASS in R-project. This object gives me
the canonical linear functions (n-1 coefficients
matrix of n groups at least), and only with this
2010 Dec 14
4
Discriminant Correspondence Analysis
Hello everyone,
I am totally new to the R program. I have had a look at some pdf documents
that I downloaded and that explain how to do many things in R; however, I
still cannot figure out how to do what I want to do, which is to perform
Discriminant Correspondence Analysis on a rectangular matrix of data that I
have in an Excel file. I know R users frown upon Excel and recommend
converting Excel
2005 Jul 05
4
Discriminant Function Analysis
Dear All
This is more of a statistics question than a question about help for R,
so forgive me.
I am using lda from the MASS package to perform linear discriminant
function analysis. I have 14 cases belonging to two groups and have
measured each of 37 variables. I want to find those variables that best
discriminate between the two groups, and I want to visualise that and
create a
2003 Apr 02
1
lda of MASS library
Hi,
it seems that the lda function in MASS library doesn''t give out the constant for the linear discriminant function under the situation that we don''t use standardized variable, anyone knows how to obtain the constant in order to construct the linear discriminant function?
I understand that if the priors are set to be 1/2, the threshold of the discriminant score used to
2000 May 02
1
Graph superimposition
I'm running a four-group, 15-variable discriminant analysis using the MASS
function lda(). Discriminant functions 1 and 2 explain about 93% of the
variance. I would like to plot the group scatters in a single scatterplot,
identify each group's centroid, and encircle the group scatter with a 90%
bivariate confidence ellipse. I can do this for each group on a separate
plot, but I
2005 May 14
1
lda
Dear R-helpers,
if I am right a discriminant analysis can be done with "lda".
My questions are:
1. What method to discriminate the groups is used by "lda" (Fisher's linar
discriminant function, diagonal linear discriminant analysis, likelihood ratio
discriminant rule, ...)?
2. How can I see, which method is used? (Typing just lda does not give me any
code).
Thank you in
2011 Jan 11
1
Postscript function Bug at R x64 2.12.1?
Hi list. I was saving my modified pairs graphic using a custom panel from
the R Graphics site, and I got an interesting difference in the final image
when I save it as eps or png.
This custom panel make possible to show at the left side of the pairs plot
the p-value as symbol and the correlation r value with its cex proportional
to the r value itself.
Well, when saving as a png file
2009 Feb 25
2
Linear Discriminant Analysis
Kindly let me know the process to carry out a Linear discriminant
analysis...thanks in advance
Arup
--
View this message in context: http://www.nabble.com/Linear-Discriminant-Analysis-tp22199424p22199424.html
Sent from the R help mailing list archive at Nabble.com.
2005 Aug 05
1
lda discriminant functions
Hi list,
I'm looking about lda function.
I'd like to know how calcolate the value of the discriminant functions for the
original datas.
I see that in the result object "lda" there is $scaling a matrix which
transforms observations to discriminant functions, normalized so that within
groups covariance matrix is spherical.
I'd like to have the value of the discriminant
2004 Nov 02
2
lda
Hi !!
I am trying to analyze some of my data using linear discriminant analysis.
I worked out the following example code in Venables and Ripley
It does not seem to be happy with it.
============================
library(MASS)
library(stats)
data(iris3)
ir<-rbind(iris3[,,1],iris3[,,2],iris3[,,3])
ir.species<-factor(c(rep("s",50),rep("c",50),rep("v",50)))