Displaying 1 result from an estimated 1 matches for "auto_io".
Did you mean:
auto_eoi
2010 Sep 24
1
Some questions about string processing
Hi all
A couple of questions about string processing from someone who has only scratched the surface so far.
1) I am wanting to send some strings into a function to allow flexibility inside. My first idea has been e.g.
auto_io <- function( var_string, factors ) {
# e.g. var_string sent as "test_file.txt" factors sent as "x1 + x2 + x3"
# input
data_name <- get( var_string )
# term_list <- get( factors )
resp_data <- read.table( data_name, header = TRUE )
# fit
temp_...