Displaying 1 result from an estimated 1 matches for "phenemonon".
2003 Nov 24
2
1.8.1 and subsetting dataframes
...didn't arise using earlier versions of
R (Linux).
A dataframe is created and new columns added to it by doing
calculations using apply with various functions on some of the
original columns. It's somewhat too involved to give a toy example
that's reproducible. However, the resulting phenemonon can be
characterised by the following:
Browse[1]> dim(mod.df)
[1] 409 5
Browse[1]> object.size(mod.df)
[1] 31520
Browse[1]> is.array(mod.df)
[1] FALSE
Browse[1]> mod.df[1:5,]
Error in as.data.frame.default(x[[i]], optional = TRUE) :
can't coerce array into a data.frame
The who...