Displaying 2 results from an estimated 2 matches for "daid".
Did you mean:
aid
2010 Nov 05
3
setting attributes
Hi folks,
An Introduction to R
3.3 Getting and setting attributes
http://cran.r-project.org/doc/manuals/R-intro.html#Vectors-and-assignment
> z <- 0:9
> z
[1] 0 1 2 3 4 5 6 7 8 9
> attr(z, "dim") <- c(10,10)
Error in attr(z, "dim") <- c(10, 10) :
dims [product 100] do not match the length of object [10]
Please help me to understand what mistake I
2010 Jan 02
3
Help needed on applying a function across different data sets and aggregating the results into a single data set
Hi folks,
Wish y'all a Happy New Year 2010!
I need some help with the following:
Say I have lots of data sets, on which I have to apply a certain function on
the same set of columns in each of the data set. Let's take, for ex, the
typical data set is:
df1 <- as.data.frame(cbind(rnorm(10),rnorm(10)))
names(df1)[1] <- "A"
names(df1)[2] <- "B"
There are many