Hello!
Does apply() not work with customized functions? Here is a simple example:
AddSeven-function(n){n+7}
AddSeven(3)
[1] 10
M-matrix(nrow=2,ncol=2,data=c(1,2,3,4),byrow=TRUE)
M
[,1] [,2]
[1,]12
[2,]34
24, 2014 at 10:07 AM, Pfeiffer, Steven pfeif...@miamioh.edu
wrote:
Hello!
Does apply() not work with customized functions? Here is a simple
example:
AddSeven-function(n){n+7}
AddSeven(3)
[1] 10
M-matrix(nrow=2,ncol=2,data=c(1,2,3,4),byrow=TRUE)
M
Hello,
I have been using the function lme() from package 'nlme' for several months
now without any problems. Suddenly, it cannot find a factor in my data.
Is this a new bug of some kind? My code and output are below.
Thanks for your help!
-Steve Pfeiffer
require(xlsx)
require(nlme)
Hello,
Does anyone know how to change background and text colors in script windows in
R? (I have changed the console's background and text colors by using EditGUI
preferences, but that doesn't seem to work for script windows.) I am using R
2.15.1 (32-bit) for Windows, and am using Windows 7.
Hello,
For an experiment, I selected plots of land within a forest either with
honeysuckle or without honeysuckle. Thus, my main factor is fixed, with 2
levels: honeysuckle present(n=11) and honeysuckle absent(n=8).
Within each plot of land, I have a trenched subplot and an untrenched
subplot.
5 matches
Mail list logo