2 3 4 5 6 7 8
6 2 9 5 9 3 1
2 3 4 5 6 7 8 10
5 10 23 20 22 11 8 1
Survived No Yes
Class Sex Age
1st Male Child 0 5
Adult 118 57
Female Child 0 1
Adult 4 140
2nd Male Child 0 11
Adult 154 14
Female Child 0 13
Adult 13 80
3rd Male Child 35 13
Adult 387 75
Female Child 17 14
Adult 89 76
Crew Male Child 0 0
Adult 670 192
Female Child 0 0
Adult 3 20
Age Child Adult
Survived No Yes No Yes
Class Sex
1st Male 0 5 118 57
Female 0 1 4 140
2nd Male 0 11 154 14
Female 0 13 13 80
3rd Male 35 13 387 75
Female 17 14 89 76
Crew Male 0 0 670 192
Female 0 0 3 20
a =c('k','l','p','le','pa')
b =c('c','d','w','le','pa')
c =c('k','l','p','le','pa')
df = data.frame(name=a,gender=b,blood=c)
df
ERROR while rich displaying an object: Error in repr_matrix_generic(obj, "\n%s%s\n", sprintf("|%%s\n|%s|\n", : formal argument "cols" matched by multiple actual arguments
Traceback:
1. FUN(X[[i]], ...)
2. tryCatch(withCallingHandlers({
. if (!mime %in% names(repr::mime2repr))
. stop("No repr_* for mimetype ", mime, " in repr::mime2repr")
. rpr <- repr::mime2repr[[mime]](obj)
. if (is.null(rpr))
. return(NULL)
. prepare_content(is.raw(rpr), rpr)
. }, error = error_handler), error = outer_handler)
3. tryCatchList(expr, classes, parentenv, handlers)
4. tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. doTryCatch(return(expr), name, parentenv, handler)
6. withCallingHandlers({
. if (!mime %in% names(repr::mime2repr))
. stop("No repr_* for mimetype ", mime, " in repr::mime2repr")
. rpr <- repr::mime2repr[[mime]](obj)
. if (is.null(rpr))
. return(NULL)
. prepare_content(is.raw(rpr), rpr)
. }, error = error_handler)
7. repr::mime2repr[[mime]](obj)
8. repr_markdown.ts(obj)
9. repr_ts_generic(obj, repr_markdown.matrix, ...)
10. repr_func(m, ..., rows = nrow(m), cols = ncol(m))
Time-Series [1:10] from 2002 to 2005: 1 2 3 4 5 6 7 8 9 10
Time Series:
Start = 2001
End = 2036
Frequency = 1
[1] -1.85544523 -1.01856471 -1.04511109 -0.65128765 0.38268265 1.03189971
[7] 0.13107497 0.37719173 -1.88769508 0.52021940 0.85915316 -0.80248866
[13] -0.49196052 -0.21095432 -0.46367661 0.29947957 -0.60547383 -0.43901213
[19] -0.72075363 0.78080503 -1.22228428 0.89119404 0.25392284 -0.06581643
[25] 0.20146603 2.47770051 0.47175279 1.32619808 0.66859849 -0.13739441
[31] -1.41117170 1.20036310 0.29909011 0.45622688 0.43807844 -0.21502114
Error in axis(1, at = seq(tsp[1], tsp[2], along = x), labels = format(dates, : plot.new has not been called yet
Traceback:
1. axis(1, at = seq(tsp[1], tsp[2], along = x), labels = format(dates,
. "%Y"))
gear 3 4 5
cyl vs am
4 0 0 0 0 0
1 0 0 1
1 0 1 2 0
1 0 6 1
6 0 0 0 0 0
1 0 2 1
1 0 2 2 0
1 0 0 0
8 0 0 12 0 0
1 0 0 2
1 0 0 0 0
1 0 0 0
, , am = 0, gear = 3
vs
cyl 0 1
4 0 1
6 0 2
8 12 0
, , am = 1, gear = 3
vs
cyl 0 1
4 0 0
6 0 0
8 0 0
, , am = 0, gear = 4
vs
cyl 0 1
4 0 2
6 0 2
8 0 0
, , am = 1, gear = 4
vs
cyl 0 1
4 0 6
6 2 0
8 0 0
, , am = 0, gear = 5
vs
cyl 0 1
4 0 0
6 0 0
8 0 0
, , am = 1, gear = 5
vs
cyl 0 1
4 1 1
6 1 0
8 2 0
cyl 4 6 8
am 0 1 0 1 0 1
vs gear
0 3 0 0 0 0 12 0
4 0 0 0 2 0 0
5 0 1 0 1 0 2
1 3 1 0 2 0 0 0
4 2 6 2 0 0 0
5 0 1 0 0 0 0
'data.frame': 2 obs. of 5 variables:
$ V1: int 1 2
$ V2: int 3 4
$ V3: int 5 6
$ V4: int 7 8
$ V5: int 9 10
Error in b %*% t(b): 수치 또는 복소수형태의 행렬 혹은 벡터 인자가 요구됩니다
Traceback: