Displaying 1 result from an estimated 1 matches for "mesurement_n".
2009 Aug 09
3
howto get the number of columns and column names of multiply data frames
Hi,
I' ve read in several files with measurements into R data frames(works
flawlessly). Each dataframe is named by the location of measurement and
contains hundreds of rows and about 50 columns like this
dataframe1.
date measurment_1 .... mesurement_n
1
2
3
..
..
..
n
For further processing I need to check whether or not ncol and colnames are
the same for all dataframes.
Also I need to add a new column to each dataframe with contain the name of the
dataframe, so that this column can be treated as factor in later processing
(after merging so...