Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

18 results for “from:John Miyamoto”

Combining the components of a character vector
John Miyamoto · Apr 2, 2003 · r-help

Dear Help, Suppose I have a character vector. x <- c("Bob", "loves", "Sally") I want to combine it into a single string: "Bob loves Sally" . paste(x) yields: paste(x) [1] "Bob" "loves" "Sally" The following function combines the character...

Multidimensional scaling
John Miyamoto · Apr 19, 2002 · r-help

A student of mine wants to use R to do some nonmetric multidimensional scaling. According to the R FAQ, there's a package called pcurve that computes multidimensional scaling solutions, but I was not able to locate it the contrib...

Thanks re Combining the components of a character vector
John Miyamoto · Apr 3, 2003 · r-help

Many people pointed out that the 'collapse' argument yields the solution to my query: > x <- c("Bob", "loves", "Sally") > paste(x, collapse=" ") [1] "Bob loves Sally" I had looked at the documentation for 'paste' within R and also in several...

pasting "\" into character strings
John Miyamoto · Dec 22, 2002 · r-help

On Sun, 22 Dec 2002 ripley at stats.ox.ac.uk wrote: > Why guess? It's in the R Language definition and in all good books on > S/R. > > `String constants are delimited by a pair of single (') or double...

Summary: vectorizing test for equality
John Miyamoto · Dec 20, 2002 · r-help

Thanks for many prompt and useful comments. The question was: if x is the vector > x <- c( 2, NA, 1, 5, 3) > x [1] 2 NA 1 5 3 Then x == 5 yields > x == 5 [1] FALSE NA FALSE TRUE...

Summary: extracting the names of the dataframe and variables
John Miyamoto · Mar 23, 2003 · r-help

Dear R Help, Thanks to Spencer Graves and Yusuke Miyamoto for suggestions. The original question was how to extract the name of the data set and variable names from an lm or aov output object. The following function based on...

t.test
John Miyamoto · Oct 31, 2001 · r-help

Dear R-users, I am learning to use R 1.3.1 on a Pentium running Windows '98. I'm puzzled that several statistical procedures, t.test and chisq.test, do not appear to be available on R version 1...

Summary: Multidimensional scaling
John Miyamoto · Apr 22, 2002 · r-help

I sent a query to R-Help about the availability of nonmetric multidimensional scaling (MDS) algorithms in R. I would like to thank Tony Rossini, Jonathan Baron, Sundar Dorai-Raj, and Brian Ripley for helpful replies. The gist of the...

Subsetting by a logical condition and NA's
John Miyamoto · Apr 22, 2002 · r-help

I have run into a general problem with subsetting of which the following is a simple example. Suppose that x <- c(5, NA, 7, 5, NA, 3) y <- c(1, 2, 3, 4, 5, 6) I want to extract the...

pasting "\" into character strings
John Miyamoto · Dec 22, 2002 · r-help

Dear R-Help, I'm using R version 1.6.0 on a Windows computer. I am trying to create a function that, among other things, constructs strings that refer to Windows files, e.g., I might want to construct...

vectorizing test for equality
John Miyamoto · Dec 20, 2002 · r-help

Dear R Help, I am trying to create a boolean vector that is TRUE whenever a particular value occurs in a numeric vector, and FALSE otherwise. For example, suppose that > y <- c(5, 2, 4, 3, 1) > y [1] 5...

Summary: t.test
John Miyamoto · Oct 31, 2001 · r-help

Dear R-News, I sent a query to r-help asking why t.test did not exist on my installation of R. Thanks to Douglas Bates, Michael Camann, Kjetil Halvorsen, Ko-Kang Kevin Wang, Peter Dalgaard, and Jonathan Baron who...

Job notice at the University of Washington
John Miyamoto · Oct 14, 2003 · r-help

UNIVERSITY OF WASHINGTON FACULTY POSITION IN QUANTITATIVE PSYCHOLOGY The Department of Psychology seeks to fill a position in Quantitative Psychology at the tenure-track assistant professor level. In exceptional circumstances, appointment at the Associate Professor or Professor level may be...

Environment variables under Windows
John Miyamoto · Oct 10, 2002 · r-help

Greetings, I have a question pertaining to the concept of "environment variables" that is mentioned in the R documentation for "Startup" and also in the discussion of the Windows configuration of R in the recent book "An Introduction to R...

pasting "\" into character strings
John Miyamoto · Dec 22, 2002 · r-help

Thank you, Professor Ripley, Your comment does indeed lead to the solution to my problem as stated. As you point out, this code > x <- paste("c:", "work", "part1.txt", sep="\\") > x [1] "c:\\work\\part1.txt" > cat(x, "\n") c...

extracting the names of the dataframe and variables in aov or lm
John Miyamoto · Mar 22, 2003 · r-help

Dear R Users, I want to write a function that applies to the dataframe and variables that were used in a previous call to lm or aov. In order to do this, I need to write a function that applies...

text that combines math expressions and numeric variables
John Miyamoto · Feb 9, 2002 · r-help

Dear R-Help, I have some questions relating to math notation in text functions. I have studied the help for plotmath but have not figured out how to solve two types of problems. PROBLEM 1: How can I create expressions...

studentized deleted residuals and NA's
John Miyamoto · Apr 5, 2004 · r-help

Dear R-Help, I am using the studres function from the MASS package to compute studentized deleted residuals in a oneway anova. I'm having trouble interpreting the results in situations where a factor level has only one observation. Sometimes...

Can't find what you're looking for? Try searching with Google .