%**% {cdata} | R Documentation |
Multiply/join row records into block records.
Description
Call rowrecs_to_blocks()
.
Usage
table %**% transform
Arguments
table |
data (data.frame or relop). |
transform |
a rowrecs_to_blocks_spec. |
Value
rowrecs_to_blocks() result.
Examples
d <- wrapr::build_frame(
"id", "AUC", "R2" |
1 , 0.7 , 0.4 |
2 , 0.8 , 0.5 )
transform <- rowrecs_to_blocks_spec(
wrapr::qchar_frame(
"measure", "value" |
"AUC" , AUC |
"R2" , R2 ),
recordKeys = "id")
d %**% transform
# identity (in structure)
d %**% transform %//% t(transform)
[Package cdata version 1.2.1 Index]