Hi again,
I am reading the documentation but I must be missing something. When I try
this from the documentation everything works fine:
import rpy2.robjects as robjects
rsum = robjects.r['sum']
res = rsum(robjects.IntVector([1,2,3]))
Here, however I get an syntax error:
import rpy2.robjects as robjects
robjects.r('library(epiR)')
epiccc = robjects.r['epi.ccc']
tmp = epiccc(robjects.IntVector([1,2,3]), robjects.IntVector([1,2,3]), ci =
"z-transform", conf.level = 0.95)
SyntaxError: keyword can't be an expression
Here is the corresponding R-code that works:
library(epiR)
data <- read.table("C:/Work/PanelCheck/CONCORDANCE/Gele_FF_hardness.txt",
header=TRUE)
L1 <- data$B2
L2 <- data$B3
tmp <- epi.ccc(L1, L2, ci = "z-transform", conf.level = 0.95)
I guess this must be something trivial again, but just can't see where it
is going wrong.
Thanks for your help!
Cheers
Oliver
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list