search for: newvoid

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

2005 Apr 25
3
Data frames
...col=ncol(a))} but it works well only for without=1, perhaps also because the function in (2) gives probably a different meaning to the first column. (2) How does one define a void data frame with only column names but no values? I tried this indirect way: # Void df with titles from ... Newvoid = function (...) {a=c(...); m=length(a) titles=paste(a,collapse=' ') conn=textConnection(titles) tab=read.table(conn,header=T) close(conn); tab} Thanks Josef Eschgf??ller -- Josef Eschgf??ller Dipartimento Matematico Universita' di Ferrara http://felix.unife....