Displaying 20 results from an estimated 2000 matches similar to: "naming data.frames after their source file"
2001 Sep 24
1
need help creating means table
Hello,
I have been trying to use by to create a means table, but receive the
error " by(xx, list(subjs, cons, vowels), mean)
Error in Summary.data.frame(..., na.rm = na.rm) :
only defined on a data frame with all numeric or complex
variables" when the data frame consists of three factor columns (subjs,
cons and vowels) and 5 numeric data columns.
The output I'm looking for is a
2001 Aug 28
2
using by to plot
Hello,
I would like to use by to create a series of plots, but I'm not sure how
to design the function.
Here's what I've got:
1. A data frame of observations of measured value 2 measured vlaues and a
pch code.
V1 V2 pchCode
.0045 123 1
.0034 145 2
.0045 123 1
.0046 167 3
...
So what I want to do is create a single scatterplot of the multiple
conditions (specified by
2001 Oct 29
2
write a bunch of objects to files
Hello all,
I've got a bunch of objects I'd like to write to .csv files. For example,
I have objects conveniently called
n002.csv
n001.csv
p103.csv
.
.
.
I tried a loop:
> for(i in ls(pattern="csv"))
+write.table(i, file=i, sep=",", quote=F)
That, of course, wrote out a bunch of files that contained
x
1, n002.csv
Or the like.
How can I get i in the loop above
2001 Jul 19
2
classification tree out put
Hello,
I'm attempting to classify data using tree(). summary(tree()) indicates
that I have a very good classification rate. What I'd like to know is
which tokens in the data set are correctly classified and which are not.
Is there a method for associating the classification with the token?
I've been reading Chambers and Hastie (1992) chapter 9 on tree-based
models, but find no
2001 Nov 27
2
printing captions in multiple panes
Dear List,
I would like to add captions to a set of graphics. The graphs are each
composed of two scatter plots in an upper and lower pane.
I'd like to add a caption below the lower pane. The troubel I'm hitting is
that in order to fit the caption using mtext, I must increase the margins
for both panes-- these shrinks my plots considerably and leaves a big
blank area.
The second trouble
2001 Aug 24
3
matching character substrings
Hello,
Is there a function for searching a string for a given character? For
example, I have
transcriptions like
tsibi
tSibi
tibi
kibi
I want to search the character object for the presence of 's' or 'S' or
'k'.
I thought perhaps pmatch(c("k", "S", "s"), x) would work for me, but it
wants to compare from the start of the string and returns
2001 May 06
2
how to use by() and hist()
Hello,
I'm using R 1.2.2 on Sun Solaris.
I have data frame with 4 levels of factor "type". See the example data
frame below.
type token variance
20 ku n031ku10.10msmeanc 77199422
21 ku n031ku11.10msmeanc 55682249
22 ku n031ku12.10msmeanc 52003965
23 ti n031ti01.10msmeanc 54511040
24 ti n031ti02.10msmeanc 58940197
25 ti n031ti03.10msmeanc
2001 Mar 30
2
discriminate analysis
Dear List,
I'd like to run a discriminate analysis on a data set, but have no idea
how to go about this in R. I have attempted to locate info in the manuals,
but may not be consulting the right sections or documents.
Can anyone point me to appropriate documentation if such exists.
Many thanks,
David
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
2001 Apr 20
1
attaching packages
Hello,
I have downloaded and installed e1071_1.1-0.tar.gz, my first add-on
package. Because I am not the sys admin I installed it to my own home dir
under ~/.R/library/
I read in the faq that I should make changes to the R_lib env variable in
my .bashprofile or .Renviron files to make the new personal library
components available. Unfortunately neither of these exist
in my home dir. Can anyone
2001 Apr 26
1
list.files wildcard
Hello all,
I have a simple question:
I have filenames that look like these:
"n031ku09.10msmeanc" "n031ku10.10msmeanc" "n031ku11.10msmeanc"
[22] "n031ku12.10msmeanc" "n031ti01.10msmeanc" "n031ti02.10msmeanc"
I also have a set of the same without the "c" at the end.
When I run list.files(".",
2001 Jul 10
1
Interpreting message: Error in names<-.default(*tmp*, value = cols) :
I have an error message that I don't know how to interpret.
The message is:
Error in names<-.default(*tmp*, value = cols) :
names attribute must be the same length as the vector
I have written a complicated analysis algorithm to examine a large
dataset. The analysis appears to run on small numbers of tokens, say 10.
I suppose my question is: which function(s) might kick out such
2001 May 07
2
indexing a vector
Dear R-List,
How can one look up the row/column number for a given value in a matrix or
data.frame? For example in a matrix that contains only unique values for
in [,1] how can I find value x in [,1] and report its row number?
TIA,
David
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list
2001 May 07
1
unexpected breaks in hist
Hello R-list,
I've been using hist to plot histograms of some data, but I get variable
numbers of bins. I understood from reading the help file that breaks will
set the number of bins. Please correct me if I'm wrong.
I'm plotting measures from subsets of a larger data set. Depending on the
data subset the number of bins varies despite having set breaks to 5 in
all cases.
See
2001 Jul 20
4
plotting dendrograms
Hello,
Can anyone offer any insight on graphing classification dendrograms with
the nodes marked?
plot(tree()) produces a nice tree structure but there's no acccompanying
text.
Thanks,
D
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2005 Oct 30
1
Broken up2date & install from CD ?
I've run into some problems I can't explain. I tried to install the
mysql package from the 4.1 CD's and the installer just sat there telling
me to insert the CD into the drive and click OK. I did that, and it
just blinked once, then returned to the same thing.. hit the OK button,
etc., etc., again and again. Wound up having to yum install the mysql
package which went OK afik.
2014 Nov 06
1
what is the limit max. characters of group names?
Hello,
I've running a samba server:
---------
* Samba 3.6.3
* using LDAP for users an groups
part. of config:
----------
workgroup = Samba
security = user
ldap admin dn = uid=samba_user,cn=admin,o=company,c=net
passdb backend = ldapsam:ldap://ldap01.company.net
ldap suffix = cn=users,o=company,c=net
ldap user suffix = cn=accounts
2019 May 27
1
Samba4 - Evolution
Hi there,
AFIK, win2008 will go EOL the 14th january of 2020 and i would like to
ask you some questions about samba4 future.
- As today we are able to join 2012 servers into a samba >4.6 domain, is
it possible to join 2016 servers (i guess no, I never tried). If not
will it be possible in samba's next releases (is it allready planned?)
- I'm not an AD expert but in the same way,
2012 Aug 09
0
[LLVMdev] MI bundle liveness attributes
Hello everyone,
Let me (re)present a question that might have previously been discussed,
but did not result in any code (AFIK).
How do we represent a _conditional_ assignment (def) in a bundle MI?
More contents - currently we expose internal def/use/kill information to a
bundle header - something like this:
BUNDLE %PC<imp-def>, %R0<imp-def>, %P0<imp-use,kill>,
2020 Mar 11
1
SSL Question
AFIK, pem is simply
1. private key
2. (most specific) certificate
3. intermediate certificates, if any
in this order.
at least such a pem work for my icecast 2.4 w/o problems
--u
Gavin Stephens:
>
> > > The error message I was getting in the Icecast log was about no
> > > compatible ssl port. I assumed this was something more complex than a
> > > bad
2012 Aug 10
2
[LLVMdev] MI bundle liveness attributes
Hi Sergei. If an instruction conditionally writes R0 then I think it needs to implicitly use R0 for proper liveness
Andy
On Aug 9, 2012, at 9:48 AM, Sergei Larin <slarin at codeaurora.org> wrote:
>
> Hello everyone,
>
> Let me (re)present a question that might have previously been discussed,
> but did not result in any code (AFIK).
>
> How do we represent a