Displaying 20 results from an estimated 4000 matches similar to: "R ignoring quantile() in source()d file"
2001 Mar 01
1
[OT] correspondence analysis w/ non-mutually-exclusive categories
Greetings, again. This is not strictly an R question, so please feel free
to ignore it if you like.
My question is about the substance of correspondence
analysis. Specifically, is it appropriate to use ca on a matrix of values
such that the columns and/or rows are not mutually exclusive? To be more
detailed:
- The standard use of ca is illustrated in the example of corresp() (from
MASS):
2001 Mar 05
2
Problems with installation on Debian
Hello-
Tired of the crashes I was experiencing with r 1.2.1 on Windows ME, I
downloaded the r-1.2.1.tgz under my Debian Linux box. I untared, unzipped
and then I ./configure and make as specified i the FAQ.
But something went wrong...I had version 0.90 per-installed, as it comes
with the normal Debian distribution and now, whenever I run R, the old
version is the one that executed.
Can
2001 Mar 01
1
How to coerce data frame elements into factors?
Greetings -
In trying to do a multiple correspondence analysis, I need to coerce a
data frame such that each of its columns will be a factor. Can someone
offer advice on how to make this happen? I've tried this:
> logic.resources.f.df<-apply(logics.resources.df, 2, factor)
but:
> is.factor(logic.resources.f.df$interests)
[1] FALSE
I've also tried individually,
>
2001 Mar 02
0
[OT] correspondence analysis w/ non-mutually-exclusive ca tegories
Andy,
Take a look at Greenacre, Theory and Applications of Correspondence
Analysis. He has many example of dealing with all sorts of data.
Basically, the technique is relevant for 2-way tables -- MCA is an
extenstion. It is not clear in your example whether CA is really
appropriate -- you want to make an observation (if at all possible) fall in
one cell, treating the others layers as
2001 Feb 25
0
Options to plot.mca ?
Greetings. I'm using plot.mca (from MASS) to construct some correspondence
analyses of data drawn from focus-group transcripts. My question is simple
albeit rather open-ended: I'm wondering what options there might be to
plot.mca for tailoring the plots to my needs. The documentation to the
function is somewhat sparse.
Thanks-
Andy Perrin
2001 Mar 04
1
diagonal line through plot when using pictex()
Greetings-
I've got some plots I'd like to include in a LaTeX document; specifically,
I'd like to include them via pictex() so I can edit some of the
particulars directly. However, an odd problem is coming up: a diagonal
line is drawn from bottom-left to upper-right when using pictex(). This
does not happen using X11() or postscript() with the same series of
commands.
Any ideas why
2001 Mar 09
1
rotated and/or greek mtext in pictex()?
Greetings-
I'm aware that there's no documentation for pictex available easily (that
is, without purchasing it). I'm wondering if someone can help me with a
simple task. When generating a plot using pictex() from R, one of the
commands I use is
mtext("Dimension 2: L=xxxx", side=2, line=3)
when using X11(), this appears vertically along the Y axis; when using
pictex(), it
2007 Mar 08
2
Memory error
Greetings-
Running R 2.4.0 under Debian Linux, I am getting a memory error trying to
read a very large file:
> library(foreign)
> oldgrades.df <- read.spss('Individual grades with AI (Nov 7 2006).sav',to.data.frame=TRUE)
Error: cannot allocate vector of size 10826 Kb
This file is, granted, quite large:
aperrin at perrin:/data0/grading$ ls -l
total 630304
-r-xr-xr-x 1 aperrin
2006 Aug 16
3
Question RE Rails associations
Hi,
I am new to Ruby and Rails programming and am having difficulty with the
following scenario...
Consider the following model:
class Studio < ActiveRecord::Base
has_many :movies
has_and_belongs_to_many :actors
end
class Movie < ActiveRecord::Base
belongs_to :studio
has_and_belongs_to_many :actors
end
class Actor < ActiveRecord::Base
has_and_belongs_to_many :studios
1999 Jan 27
0
Encrypted passwords really necessary for PDC ?
I've attached a perl script that I wrote to build smbpasswd from
/etc/passwd. Please note that this writes a samba-2.0 format smbpasswd
file.
This script will:
# - create accounts that exist in /etc/passwd and not in smbpasswd
# - remove accounts that exist in smbpasswd and not in /etc/passwd
# - preserve existing password, flags and LCT fields in smbpasswd
# - sets new account passwords to
2003 Jun 24
2
Can't load e1071
After upgrading to 1.7.0 under debian linux, I can't get e1071 working
properly.
The first problem I had was that g++-3.0 was the standard compiler but
wasn't installed, so I installed it. e1071 then installed correctly, but I
get the following:
aperrin at perrin:~/afshome/papers/authoritarian/R$ R
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
R is free
2003 May 27
2
Help! R won't start
Returning after the long weekend, I get the following:
aperrin at perrin:~/afshome/papers/microcultures/R$ R
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative
2002 Feb 20
1
plot.hclust: strange behaviour with "manufactured" hclust object
I've been trying to get plot.hclust to work with a hclust object I
created and have not had much success. It seems that there is some
"hidden" characteristic of a hclust object that I can't see. This is
most easily seen in the following example, where plot.hclust works on
one object, but when this object is "dumped" and then re-read,
plot.hclust no longer works. Is
2010 Mar 18
3
Using indexing to manipulate data
I know one of R's advantages is it's ability to index, eliminating the need
for control loops to select relevant data, so I thought this problem would
be easy. I can't crack it. I have looked through past postings, but
nothing seems to match this problem
I have a data set with one column of actors and one column of acts. I need
a list that will give me a pair of actors in each row,
1999 Feb 02
1
Limits on smbclient -M?
Greetings-
We use smbclient -M to send a Message of the Day to clients every once in
a while. The clients are NT4 (SP3), and the server is Samba
1.9.19-prealpha. However, the same problem appears with version 2.0.0.
The issue is: once the file to be sent exceeds approximately 675 bytes
(smbclient reports sending 975 bytes, presumably including some overhead),
the message turns up blank on the
2003 Sep 30
2
dump/source problem with hclust object (PR#4361)
library(mva)
data(USArrests)
hc <- hclust(dist(USArrests), "ave")
plot(hc) # OK
dump(c("hc"), "tst")
rm(hc)
source("tst")
plot(hc) # Error in plot.hclust(hc) : invalid dendrogram input
The same problem occurs with dput/dget
--please do not edit the information below--
Version:
platform =
[PATCH]add usb-ver format check to avoid usb-list error and incorrect usb-ver saved into config file
2010 Aug 06
1
[PATCH]add usb-ver format check to avoid usb-list error and incorrect usb-ver saved into config file
Add usb-ver format check to "usb-hc-create".
In original file, "usb-hc-create" allows usb-ver parameter as "2/2.0/2.0aaa". In low level hc create, it only uses the integer part (that is "2"), so there is no problem. But 2/2.0/2.0aaa will be saved into VM config.
After that, while doing "usb-list", it cannot handle "2.0/2.0aaa" and will
2008 Nov 20
2
Removing rows with rowsums==0 (I can't figure this out)
##I want to remove the rows where the row sums are zero and this is as
far as I have gotten
ffg <- (structure(list(CD = c(0, 0, 0, 0, 3.125, 0, 0, 0, 0, 1.6, 3.125,
0, 0, 6.25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.125, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.6, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 1.6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 3.125, 0, 0, 0, 0, 0, 0, 0, 0,
2008 Sep 30
2
[LLVMdev] Integer handling
OvermindDL1 wrote:
>
> It is using the Actor-Oriented model, not Object-Oriented.
> /* snip */
> By keeping the type system based on the actual types it allows
> arbitrary message passing to any other actor without needing to load
> any code relating to the actors, you can just send a structure with
> the appropriate ID and format and it will 'just work' as the
2005 Nov 02
1
x/y coordinates of dendrogram branches
Dear R-users,
I need some help concerning the plotting of dendrograms for hierarchical
agglomerative clustering.
The agglomeration niveau of each step should be displayed at the
branches of the dendrogram.
For this I need the x/y coordinates of the branch-agglomerations of the
dendrogram.
The y-values are known (the heights of the agglomeration), but how can I
get the x-values?
> mydata