Displaying 20 results from an estimated 600 matches similar to: "biplot"
2000 Jun 15
2
dataframes and factors
Dear R-List,
I have a dataframe X containing factor f and numeric variable x1, x2, ... I
want to create a new dataframe (or possibly a matrix) that gives statistics
(e.g. sum) for the variables x1, x2, ... in each group defined by factor f.
What is the simplest way to do this?
I tried:
attach(X)
Z <- data.frame(f=levels(f),x1=as.vector(lapply(split(x1,f),sum)))
and stumbled on:
Error
1999 Nov 23
3
problems with postscript device
Hi!
The postscript device in 0.90 does not produce symbols (pch=) as it
should. E.g.:
postscript(file="test.ps",width=8,height=6.4,horizontal=FALSE)
plot(1:10,1:10,pch=1:5)
legend(1,9,letters[1:5],pch=1:5)
dev.off()
The result looks quite different compared to the X-windows version.
The symbol 1 (pch=1) is much to small, while the other symbols
seem to big.
Is it a bug? How can I
2000 Apr 03
1
window(): feature request
Dear R-developpers,
currently the function window shows the following behaviour, if start or
end is out of range:
> x <- ts(1:14,start=c(1950,2),frequency=4)
> y <- window(x,start=c(1950,1),end=c(1953,4))
Warning messages:
1: start value not changed in: window.default(x, ...)
2: end value not changed in: window.default(x, ...)
Instead of this I would like it to fill with NAs the
1999 Dec 07
1
using weights in lm()
Hello!
When I know the vector of the variance of the disturbances (i.e. the
structure of heteroskedasticity), say Var(u_{i})=v_{i},
what is the weights I should use as argument to lm():
M <- lm(y~x,weigths=1/v)
or
M <- lm(y~x,weights=1/(v^0.5)) ???
In the help pages I did not find a clear answer to this question, so
please could someone help me!
Thanks,
Wolfgang Koller
1999 Nov 24
1
[R] problems with postscript device (PR#341)
From: "Wolfgang Koller" <koller2@fgr.wu-wien.ac.at>
Organization: University of Economics, Vienna
Date: Tue, 23 Nov 1999 16:29:22 CET (+0100)
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
CC: r-bugs@biostat.ku.dk, r-help@stat.math.ethz.ch
References: <153DF9230E8@fgr.wu-wien.ac.at>
X-mailer: Pegasus Mail
1999 Nov 27
1
size of text and numbers in graphs (PR#349)
Hi!
Since installation of R 0.90 there are problems with the size
of text and numbers also in the x11-device (I reported about similar
problems with the postscript device recently). For numbers and
letters a different size is used:
plot(1:10,1:10,type="n")
text(2,8,"F5F5F5F5F5")
text(2,7,"F5F5F5F5F5",cex=2)
The same problem is also found in the postscript
1999 Nov 27
1
size of text and numbers in graphs (PR#349)
Hi!
Since installation of R 0.90 there are problems with the size
of text and numbers also in the x11-device (I reported about similar
problems with the postscript device recently). For numbers and
letters a different size is used:
plot(1:10,1:10,type="n")
text(2,8,"F5F5F5F5F5")
text(2,7,"F5F5F5F5F5",cex=2)
The same problem is also found in the postscript
2000 Mar 08
5
x-server
Dear all,
first, I would like to thank R-core team for making so a great
software available. Thank you all, really!
Using R (1.0.0) on a Win98 platform, I need an x-server to run
xgobi (through R xgobi interface). I've been using a MI/X server but
trying to upgrade I noticed that MI/X is no longer available for free.
Similarly, eXceed is available at evaluation version (for a limited
time
1999 Dec 21
2
generating a sequence
Hi everyone
I'm trying to generate a vector of the form
a <- c(1,2,3,4,1,2,3,1,2,1) where n = 5
in a general way, where n can be any positive integer.
I've run out of ideas. Does anyone have any suggestions?
Thanks
Karen
Karen Kotschy
Centre for Water in the Environment
University of the Witwatersrand
Johannesburg
Tel: 011 716-2218
1999 Dec 21
2
generating a sequence
Hi everyone
I'm trying to generate a vector of the form
a <- c(1,2,3,4,1,2,3,1,2,1) where n = 5
in a general way, where n can be any positive integer.
I've run out of ideas. Does anyone have any suggestions?
Thanks
Karen
Karen Kotschy
Centre for Water in the Environment
University of the Witwatersrand
Johannesburg
Tel: 011 716-2218
1999 Jul 06
2
eval(), expression()
Dear R-Users!
My aim is to produce boxplots without the outliers included in the
plot. I started to write a function that looks something like:
myboxplot <-function(x,fa) {
bpdata <- boxplot(x~fa,plot=FALSE)
bpnames <- names(bpdata)
for (JJ in bpnames) {
command <- paste("bpdata$",JJ,"$out <- numeric(0)",sep="");
eval(command)
}
1999 Dec 07
1
Bug list summary (automatic post)
=================================================
This is an automated summary of the status of the R-bugs
repository.
Note that this may be neither complete nor perfectly
correct at any given instance: Not all bugs are reported,
and some reported bugs may have been fixed, but the
repository not yet updated.
Some bug fixes are difficult to verify because they pertain
to specific hardware or
2006 Sep 06
2
biplot label size
Which is the parameter that is used to decrease the size of ylabs
plotted in biplot? I tried playing with cex and cex.lab I am not getting
it right
pc <- princomp(USArrests)
biplot(pc, xlabs = rep("", nrow(USArrests)),ylabs=(colnames(USArrests)))
Thanks../Murli
[[alternative HTML version deleted]]
2000 Apr 03
1
cbind.ts(),ts.union() (PR#508)
Full_Name: Wolfgang Koller
Version: 1.0.0
OS: linux
Submission from: (NULL) (137.208.7.48)
> data(UKLungDeaths)
> ts.union(mdeaths, fdeaths,dframe=TRUE)
Error in names<-.default(*tmp*, value = nmsers) :
names attribute must be the same length as the vector
> cbind(mdeaths, fdeaths,dframe=TRUE)
Error in names<-.default(*tmp*, value = nmsers) :
names attribute
1999 Jul 28
1
skewness, kurtosis
Dear R-Users and Developpers,
Currently R does not include functions to compute the skewness and
kurtosis. I programmed it myself in the following way, but probably
*real* programmers/statisticians can do that better:
mykurtosis <- function(x) {
m4 <- mean((x-mean(x))^4)
kurt <- m4/(sd(x)^4)-3
kurt
}
myskewness <- function(x) {
m3 <- mean((x-mean(x))^3)
skew <-
2007 Apr 19
1
"tree-ID" in any segmentation package available?
Dear R-helpers,
I am looking for a segmentation package that gives some "tree identifier"
as output for every observation in the data set (my response variable is
binary). I have skimmed through "rpart", "ada" and "adabag": The output
"trees" gives you the formula, but I have to run several thousand
segmentations on different data sets and it
2009 Mar 11
1
Using a NAMESPACE or the Imports field in DESCRIPTION?
Hello list,
I am writing a package which builds on a function ("foo") of another
package. I only need that particular function. What is the state of
the art to do this? Do I need a NAMESPACE file in my package?
Currently I still don't have one. Or can I do this with the Imports
field in my DESCRIPTION file? Reading chapter 1 of the "Writing R
Extensions" manual I do
2005 Nov 22
2
Output of row and column names
Dear all,
I am looking for a way to identify the row and column names of all elements
within a matrix which fulfill some specified condition.
Example: I have a correlation matrix of the following form:
Y1 Y2
X1 0.4 0.3
X2 0.6 0.1
Suppose, I want to know which elements are smaller than 0.2, so the desired
output should be something like:
"X2 Y2"
Thank you,
2003 Dec 06
1
Diploma zonder studie op basis van EVC
[image001.gif]
Diploma's en titels zonder studie op basis van eerder verworven
competenties
Geachte heer of mevrouw,
Graag willen wij u attenderen op onze unieke dienstverlening. Wellicht
dat er voor u mogelijkheden zijn om zonder studie op basis van eerder
verworven competenties via een External Programme
in het bezit te komen van een academische Bachelor, Master
2009 Sep 02
4
"biplot" graphical options?
Dear R-help fellows
good afternoon.
I am struggling in the attempt to impose some graphical conditions (changing point symbols, colors, etc) to biplot function (I am using it to visualize the results of princomp) but I can't apparently manage to change anything but the axis... and I have been browsing manuals and vignettes without finding any explicit suggestions on how to operate...
Can