search for: tp26101738p26103352

Displaying 1 result from an estimated 1 matches for "tp26101738p26103352".

2009 Oct 28
2
Re ading user input (Readline)
Hello. I am trying to write an interactive function that asks the user for a vector of observations. Unfortunately, if a user inputs a vector, R treats the vector name as a string instead of a variable. Here is an example: vector.input<-function(){ k<-as.integer(readline("Input number of vectors: ")) obs<-as.integer(readline("Input number of observations per vector