Displaying 8 results from an estimated 8 matches for "y15".
Did you mean:
15
2003 May 30
1
bootstrapping data.frame and matrix
...ame") : Argument "xdata" is missing, with
no default"
Please note that the same is happening when I create a matrix from the
data.frame with the function cbind
(i.e.
names(data)
[1] "shortrate" "y1" "y5" "y10" "y15"
"y20"
[7] "y25"
xdata_cbind(data$y10,data$shortrate)
is.matrix(x.data)
TRUE)
Thanks in advance,
Chiara
2018 May 24
0
Manipulation of data.frame into an array
...115 X116 X21 X22 X23 X24 X25 X26 X27 X28 X29 X210 X211 X212
1 2 0 1 0 1 1 1 0 1 0 1 0 1
X213 X214 X215 X216 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
1 1 0 1 1 2 3 4 5 6 7 8 1 2
Y11 Y12 Y13 Y14 Y15 Y16
3 4 5 6 7 8
So, e.g. for a 3 column matrix:
> matrix(do.call(c,imp), ncol=3)
[,1] [,2] [,3]
[1,] 1 0 1
[2,] 2 1 2
[3,] 1 0 3
[4,] 2 1 4
[5,] 1 1 5
[6,] 2 1 6
[7,] 1 0 7
[8,] 2 1 8
[9,]...
2018 May 24
4
Manipulation of data.frame into an array
Hello everyone,
I want to transform a data.frame into an array (lets call it mydata), where: mydata[[1]] is the first imputed dataset...and for each mydata[[d]], the first p columns are covariates X, and the last one is the outcome Y.
Lets assume a simple data.frame:
Imputed = data.frame( X1 = c(1,2,1,2,1,2,1,2, 1,2,1,2,1,2,1,2),
X2 =
2018 May 24
2
Manipulation of data.frame into an array
...115 X116 X21 X22 X23 X24 X25 X26 X27 X28 X29 X210 X211 X212
1 2 0 1 0 1 1 1 0 1 0 1 0 1
X213 X214 X215 X216 Y1 Y2 Y3 Y4 Y5 Y6 Y7 Y8 Y9 Y10
1 1 0 1 1 2 3 4 5 6 7 8 1 2
Y11 Y12 Y13 Y14 Y15 Y16
3 4 5 6 7 8
So, e.g. for a 3 column matrix:
> matrix(do.call(c,imp), ncol=3)
[,1] [,2] [,3]
[1,] 1 0 1
[2,] 2 1 2
[3,] 1 0 3
[4,] 2 1 4
[5,] 1 1 5
[6,] 2 1 6
[7,] 1 0 7
[8,] 2 1 8
[9,]...
2013 Oct 10
1
Question about DNS Ghost Records
...: 192.168.2.1 (flags=600000f0, serial=110, ttl=900)
Name=_msdcs, Records=0, Children=0
Name=_sites, Records=0, Children=1
Name=_tcp, Records=0, Children=4
Name=_udp, Records=0, Children=2
Name=DomainDnsZones, Records=0, Children=2
Name=ForestDnsZones, Records=0, Children=2
Name=Y15, Records=1, Children=0
A: 192.168.2.192 (flags=f0, serial=110, ttl=1200)
Name=Y16, Records=1, Children=0
A: 192.168.2.122 (flags=f0, serial=110, ttl=1200)
....
Name=Z34, Records=1, Children=0
A: 192.168.2.169 (flags=f0, serial=110, ttl=1200)
Name=Z35, Records=1, Children=0...
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand
this:
I write a function in a file (.R):
tt <- function(mc) { date()
mc<-read.csv2("machines.txt",na.strings="")
date()
}
I source it in R and I type tt(). The answer is
> tt()
[1] "Mon Aug 14 11:18:25 2000"
>
The instructions following the first "date()" are ignored. Why?
2009 Nov 27
6
Learning R - View datasets
Hi All,
I am making a serious effort to try to learn R, but one hurdle I am facing is that I need to "see" the data as I walk through the examples in the packages. For instance, many examples on the web start by a command like data("wines"). How can I actually view what the dataset looks like prior to transformations and analysis? I have tried to use edit() , print, and
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...y{P7h- at VeAqZSJE!BX0yc^&fUP=tpukl0St5``1G<d+%d1AF}z!p
zg{GGraGY24R8ek8j#$eO1d1~VnC~0mxApIl1$#5-JX at p|UGLJ_=W)K6INvYGqV7VA
z!SUh at jt_W<>k09ohqxYy>oX7!DRktx6=L=)!S at XRdj^Z)ZMI at TE-Y69v&DAI&oEip
z<8Pk=DUh(XDb8s3zi&vfeM)Eog(oQ-V!;icK(&2XQIYp<2(fn6)><Y15!z6w<XtBg
zXoGJm))K|quK3?nWGktRE_!N=zrv7uR_7L7j!^UzP$~%r&k6^R7Qi!+dRAMt3b|A9
zKm$YKS)-Kv4)|WL<k6;&Q3`F=!o!phN%|z-gKEOBO6C}&f)Y$o+$|iNm0tP8>IVvK
zw?l+TyIDMhlK+X42z+9jDT)tbtK1;-qFoK3))JfPtSY6G+Vo0{SG-wU6mL(RUBer6
z)!LvGHl>~56$)Mh6^azvtOT=4vRG`h5}M+?;<-XX*5XJB-lmARM92J2Hp$>...