search for: adorio

Displaying 5 results from an estimated 5 matches for "adorio".

Did you mean: addri
2003 Oct 17
3
don't display rulers in image() command and script file input
Dear R experts, 1. How can I turn off the display of rulers in image() command? 2. Rather than typing my commands at the command line, how can I input a file contents aside from doing a copy and paste operation? Thanks in advance, Ernesto Adorio Math Department University of the Philippines Diliman
2003 Oct 21
4
interactive prompts
...er key is pressed: print("Press any key to continue") system("read") 2. How do I get a string input from the user? Would like to see an R function, say askget(): delay = askget("Enter delay in seconds") system(paste( "sleep ", delay)) TIA, Ernie Adorio Math Department University of the Philippines Diliman, Quezon City
2010 Nov 29
2
R equivalent of Beaton's Sweep algorithm
...oking for an R equivalent of Beaton's (1964) Sweep algorithim for partial inversion of a matrix by pivoting. It implemented in SAS/IML as sweep(matrix, indices), described here http://support.sas.com/documentation/cdl/en/imlug/59656/HTML/default/langref_sect266.htm and here for python http://adorio-research.org/wordpress/?p=262 -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street Web: http://www.datavis.ca Toronto, ONT M3J 1P3 CANADA
2006 Jan 20
1
Passing variable arguments to functions
Hi, Is there another way to pass arguments via a vector to arbitrary functions as in the following code example without using a series of if else statements? f <- test(func, x, parms, fargs1, fargs2, ...) { # parms is a vector of parameters to func. # ... is for use by f, not by func. n <- length(parms) if (n == 0) y <- func(x) else if (n == 1) y <- func(x,
2004 Mar 19
3
Reading Data
Hi, Quick question on reading data. I am running simulations but want to allow the user the option to define the number of simulations. How can I have R read-in user data entered from the keyboard? Is there a difference for reading in numeric and character data? For example, I am trying to write the following in R: Enter Number of Iterations? <<<the user then enters a number say Y