search for: sdavidwhite

Displaying 15 results from an estimated 15 matches for "sdavidwhite".

2001 Mar 30
2
discriminate analysis
...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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Aug 28
2
using by to plot
...ction. I'm imagining something like by(df, pchCode, function(x) plot(V1, V2, pch=pchCode)) What I don't know how to code is: 1. getting the pch to be defined by the pchCode 2. specifying that par(new=TRUE) within the by command. Thanks for you suggestions, Best, David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
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 http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Oct 29
2
write a bunch of objects to files
.... 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 to be an object instead of a string? Thanks S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Apr 20
1
attaching packages
...nal library components available. Unfortunately neither of these exist in my home dir. Can anyone make a suggestion as to my next step? If I had a sample .Renviron, I think I could modify it to my needs. Perhaps someone could forward a copy of theirs to me. Many thanks in advance. S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Apr 26
1
list.files wildcard
..." at the end. When I run list.files(".", pattern="*ku[01-30].meanc"), I get no result. I'm guessing that what I have here a problem with "." as a wildcard or metacharacter. How do I get it to read as a literal in that expression? TIA, David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 May 05
1
naming data.frames after their source file
...)[[1]]_read.table(files[i],as.is=TRUE) } AFIK, the problem lies in the way I'm trying to name the data.frame. I have spent some time pouring over the R documentation, but if the answer was there I missed it. Any reference to the manuals or quick fix would be appreciated. David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Jul 10
1
Interpreting message: Error in names<-.default(*tmp*, value = cols) :
...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 an error? Many thanks. David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Sep 24
1
need help creating means table
...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 simple mean for each of the numeric columns by the independent variables subjs, vowel, consonant. Thanks for you advice, D S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
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 -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 May 07
1
unexpected breaks in hist
...histogram") par(new=FALSE) hist(allvariances[allvariances$type %in% "tu",3], breaks=5, main="tu variance histogram") par(new=FALSE) hist(allvariances[allvariances$type %in% "ti",3], breaks=5, main="ti variance histogram") S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Jul 19
2
classification tree out put
...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 indication of this. Any suggestion as to sources I should consult would also be appreciated. Thank in advance. S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Nov 27
2
printing captions in multiple panes
...he possibility of placing the text in the outer margin. What is this? the look I want is: ----------------- | | | | _________________ xlab _________________ | | | | _________________ xlab Fig. *** Thanks, David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 Aug 24
3
matching character substrings
...;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 NA for "S" and "s" because they are not at the head of the string. Thanks in advance, David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...
2001 May 06
2
how to use by() and hist()
...tted. Can anyone offer any pointers? A related question: I'd like to see subsets of the data based on the levels of factor "type". So in the example above, I'd like see, say, all observations of type "tu". Any pointers on how to do that? Thanks, David S. David White sdavidwhite at bigfoot.com Columbus, Ohio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject...