search for: miyamoto

Displaying 19 results from an estimated 19 matches for "miyamoto".

Did you mean: kiyamato
2003 Apr 02
19
Combining the components of a character vector
...it seems somewhat inelegant. paste.vector <- function(x, ...) { output <- NULL for (i in 1:length(x)) output <- paste(output, x[i], ...) output } #end of function definition paste.vector(x) [1] " Bob loves Sally" Is there a more natural (no loop) way to do this in R? John Miyamoto -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -----------...
2003 Mar 22
1
extracting the names of the dataframe and variables in aov or lm
...these names is that I want to write a general purpose function that displays descriptive statistics and plots that are relevant to an aov or lm analysis. If I could extract these names from previous aov or lm output, I wouldn't have to mention them individually as inputs to my function. John Miyamoto -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -----------...
2002 Dec 20
2
vectorizing test for equality
...ere a way to avoid the for loop? I'm also curious why the following does not work, because it seems to me it should: > test <- function(x) identical(x[1], x[2]) > apply(cbind(x, 5), 1, test) [1] FALSE FALSE FALSE FALSE FALSE I was expecting to see FALSE FALSE FALSE TRUE FALSE. John Miyamoto -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -----------...
2002 Apr 23
3
Subsetting by a logical condition and NA's
...ion such that it yields TRUE when the condition is true and FALSE when the condition is either false or the input data is NA? For example, is there a simpler way to produce the same results as y[!is.na(x) & x==5]? John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-...
2002 Dec 22
4
pasting "\" into character strings
...Windows files into a text file, where a different Windows programs will later read these references in the standard Windows syntax. Can someone tell me how to create the character string 'c:\work\part1.txt' from the parts, "c:", "work", an "part1.txt"? John Miyamoto -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -----------...
2006 Feb 24
2
converting character matrix to a dataframe
...de(d3[,1]) is.factor(d3[,1]) Question: Is there a more efficient method than the last one for converting a character matrix to a dataframe while preventing the automatic conversion of the column vectors to factors? John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157 Homepage http://faculty.washington.edu/jmiyamot/
2001 Oct 31
3
t.test
...ocedures, or have they been dropped from the R program? On a related question, is there a web site that lists changes from one version of R to the next? I tried unsuccessfully to find such a list at the CRAN website. John -------------------------------------------------------------------- John Miyamoto | Department of Psychology, Box 351525 | If ignorance is bliss, University of Washington | why are so many people Seattle, WA 98195-1525. | unhappy? Phone: 206-543-0805, Fax: 206-685-3157 | Email: jmiyamot at u.washington.edu |...
2002 Apr 19
4
Multidimensional scaling
...caling solutions, but I was not able to locate it the contrib page (I am a Windows user with R version 1.4.1). Can anyone tell me whether it is possible to do nonmetric multidimensional scaling with R, and if so, how? John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-...
2012 Apr 28
2
Segmentation Fault when Starting domUs
Hello everyone, I just put together a brand new system, and I''m getting the following when I try to start a domU: > [ 1902.049066] xend[12924]: segfault at b9ff6cd8 ip 00007f36c474afe1 sp 00007f36b9ff6af8 error 4 in libxenguest.so.4.0.0[7f36c4730000+24000] This is on an AMD CPU with the AVX instructions, and I already have this in my grub.cfg: > multiboot /xen-4.1.2.gz
2002 Oct 10
2
Environment variables under Windows
...mes RProfile. The first is in the directory \rw1041\etc, and the second is in the directory, \rw1041\library\base\R. Does one "set" an environment variable by placing an appropriate line in a RProfile file? John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-....
2009 Nov 05
7
Unexpected ENOSPC on a SSD-drive after day of uptime, kernel 2.6.32-rc5
I''ve just finished installing onto an OCZ Agilent v2 SSD with btrfs as filesystem. However to my surprise I''ve hit an ENOSPC condition one one of the partitions within less than a day of uptime, while the filesystem on that partition only reported 50% to be in use, which is far from the 75% limit people mention on the ML. Note that this occurs using a vanilla 2.6.32-rc5 kernel
2002 Dec 11
1
residuals: lm and glm
...outputs are quite different. I want to obtain the variance based on ln-transformed data not on original data. In this sense, the latter seems to be appropreate for me. I would appreciate if anyone could give some advice on this issue. Sincerely, ***************************************** Kazuki Miyamoto (Ph. D.) Kansai Research Center, Forestry and Forest Products Research Institute, Nagaikyutaro 68, Momoyama, Kyoto 612-0855, Japan Tel: +81.75.611.1385 Fax: +81.75.611.1207 E-mail: mkazuki at ffpri.affrc.go.jp *****************************************
2002 Apr 23
0
Summary: Multidimensional scaling
...A function xgvis in the xgobi package was mentioned but I have not acquired this package as yet. The pcurve package is mentioned in R-FAQ as an MDS procedure, but it is not on the Windows contributed page. Thank you, John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/ -------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-...
2003 Oct 14
0
Job notice at the University of Washington
...pointment. The University of Washington is building a culturally diverse faculty and strongly encourages applications from female and minority candidates. The University is an Equal Opportunity/Affirmative Action employer. -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/
2004 Apr 05
0
studentized deleted residuals and NA's
...Group 2 and for Group 4 because 1 - h_ii = 0 for the corresponding cases. Can someone tell me why the std.res and stu.del.res are different for Group = 2 and Group = 4? I am running R 1.8.1 on a Windows XP machine. John -------------------------------------------------------------------- John Miyamoto, Dept. of Psychology, Box 351525 University of Washington, Seattle, WA 98195-1525 Phone 206-543-0805, Fax 206-685-3157, Email jmiyamot at u.washington.edu Homepage http://faculty.washington.edu/jmiyamot/
2004 Jul 15
3
More on global environment
To follow up on my previous question, suppose a user R session wants to unload one workspace and load another within an R session. Is the following the correct sequence? 1. save.image() to save the current workspace as .Rdata in the current working directory. 2. rm(list=ls()) to remove everything from the workspace. 3. setcwd("xxx") to set the new working directory. 4.
2002 Dec 20
0
RE workspace vs. image
As an alternative to the use of multiple shortcus to gain entry to different R environments on WIndows platforms I would like to suggest the use of two R functions written by my colleague John Miyamoto. I have taken the liberty of attaching their definitions to this message. Their efficient use is based on adopting the following regimen or something like it: (1) at startup attach an .Rdata workspace containing the two functions, say to position 2. This I do in my etc/Rprofile file. (2) then attac...
2004 Jan 20
3
Changing workspace from within an R session
Hello R-users, is it possible to navigate from one workspace to the other from within an R session or does one has to close R and restart it from the directory where resides the desired workspace? For example from Splus I have this little function, see at the end, which I used all the time to navigate between valid Splus directories. I find this particularly usefull when I develop new
2004 Jul 12
0
Where does R search when source() ?
I have found the use of save( ) and attach( ) when supported by a pair of functions written by my colleague John Miyamoto, move( ) and rm.sv( ) quite useful in managing (1) collections of useful homebrew functions, (2) project workspaces, and (3) "packages" under development. An .Rdata file containing these and other handy functions together with a brief supporting document can be downloaded from a course we...