I am new in Tableau and trying to run the following R script in Tableau.
status <- rep(.arg1,.arg2)
lifetime <- rep(.arg3,.arg2)
fit <- Lifedata.MLE(Surv(lifetime,status)~1,
The calculated field in Tableau is:
status <- rep(.arg1,.arg2);
lifetime <- rep(.arg3,.arg2);
SUM([Status]), SUM([Count]), SUM([Lifetime]))
The script is running just fine on dis-aggregated data
(have no idea what it's actually calculating ;-)
To dis-aggregate : from Tableau main menu -->
Analysis --> Aggregate Measures --> OFF
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...