Displaying 7 results from an estimated 7 matches for "lev3".
Did you mean:
dev3
2007 Aug 07
1
Naming Lists
Hi
Im pretty new to R and I have run in to a problem. How do I name all the
levels in this list.
Lev1 <- c("A1","A2")
Lev2 <- c("B1","B2")
Lev3 <- c("C1","C2")
MyList <- lapply(Lev1,function(x){
lapply(Lev2,function(y){
lapply(Lev3,function(z){
paste(unlist(x),unlist(y),unlist(z))
})})})
I would like to name the different levels in the list with the differnt
inputs.
So that the first level in named by the inputs...
2008 May 30
1
nlm and "missing argument
Dear R Gurus,
I am having a little difficulty with nlm. I've searched the archives and
found nothing that tells me why this is occuring -- though there are
some slightly similar issues.
A simple example:
lev2<-function(aaa,bbb,ccc,ddd,eee){
res<-aaa+bbb+ccc+ddd+eee
res
}
nlm(lev2,p=c(32,4,5),ddd=45,eee=23)
Error in f(x, ...) : argument "bbb" is missing, with no default
2007 Aug 07
2
Interaction factor and numeric variable versus separate regressions
...edian 3Q Max
-2.8109 -0.8302 0.2542 0.6737 3.5383
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 3.68799 0.41045 8.985 1.91e-12 ***
x:flev1 0.20885 0.04145 5.039 5.21e-06 ***
x:flev2 1.49670 0.04145 36.109 < 2e-16 ***
x:flev3 6.70815 0.04145 161.838 < 2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 1.53 on 56 degrees of freedom
Multiple R-Squared: 0.9984, Adjusted R-squared: 0.9984
F-statistic: 1.191e+04 on 3 and...
2007 Aug 08
1
tapply grand mean
Hi R-users,
I have a data.frame like this (modificated from
https://stat.ethz.ch/pipermail/r-help/2007-August/138124.html).
y1 <- rnorm(20) + 6.8
y2 <- rnorm(20) + (1:20*1.7 + 1)
y3 <- rnorm(20) + (1:20*6.7 + 3.7)
y <- c(y1,y2,y3)
x <- rep(1:5,12)
f <- gl(3,20, labels=paste("lev", 1:3, sep=""))
d <- data.frame(x=x,y=y, f=f)
and this is how I can
2007 Aug 22
1
winbind problem, have workaround but...
...itialise \PIPE\NETLOGON
[2007/08/22 10:23:42, 0] rpc_client/cli_pipe.c:cli_nt_setup_netsec(1622)
Could not initialise \PIPE\NETLOGON
but they stop as soon as I issue
# net ads changetrustpw
then it seems to connect and all is well until winbind gets restarted.
I was following a lot of logs at lev3 yesterday, and some users were able
to authenticate, on one machine but not on others..etc.. it was all very
wonky until I did the net ads changetrustpw
I can provide any information needed. I'm running mandriva corp server 3
with samba 3.014a. patched up to (CVE-2007-2444) (I think that'...
2008 Jan 02
3
Find missing days
Hi,
I have a data.frame like this:
y <- rnorm(60)
lev <- gl(3,20, labels=paste("lev", 1:3, sep=""))
date1 <- as.Date(seq(ISOdate(2007,9,1), ISOdate(2007,11,5),
by=60*60*24))
date1 <- date1[-c(3,4,15,34,38,40)]
df <- data.frame(lev=lev, date1=date1, y=y)
I would like to produce a new data.frame with missing days in df$date1
in each df$lev, like this:
lev
2002 Dec 27
0
WinXP can't open print queue listing
URL: http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/19/pid/865/qid/336795
I have the same problem described in the above posting: using WinXP (he
used Win2K, presumably WinNT does the same thing), you print something, but
the print queue display shows an error message and doesn't show your
job(s). The described solution worked for me too: add t...