Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear fellows, I am having trouble with a script of R in Power BI. I reproduce here the code:
# 'dataset' tem os dados de entrada para este script
library("dplyr")
library("broom")
cdds_reg2 <- dataset %>% group_by(MCU) %>% do(fit_cdds2 = lm(log(CARGA_TRABALHO) ~ log(Custos) + log(EFETIVO_PROD_HORA) + log(ADMINISTRATIVO_HORA), .))
fit_cdds_df2 <- cdds_reg2 %>% tidy(fit_cdds2)
output <- fit_cdds_df2
After that, I got the following error: DataFormat.Error: SYMSXP (inside the nice yellow thing).
I would like if this could be a problem with the packages that I'm using or, whatelse.
Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.