Dear Milu,
I get the same error as you with this example -- I tried a different plm model
-- which of course is why a reproducible example is a good idea.
Here's where the error is:
--- snip ---
> Ef.hd <- Effect(c("pc", "emp", "unemp"), zz)
Error in UseMethod("droplevels") :
Dear Ista,
Thanks for your reply. I tried both "prediction" and "margins" but neither
of them seem to work with plm.
Sincerely,
Milu
On Thu, Sep 6, 2018 at 3:04 PM Ista Zahn wrote:
> You might be interested in the "prediction" and "margins" packages.
>
> --Ista
>
> On Wed, Sep 5, 2018 at 6:3
Hi
You need to help yourself. My guess is that you did not tell to read_excel
function where is your excel file.
When the file is in working directory it works seamlessly.
> library(readxl)
> read_excel("ebc.xlsx")
# A tibble: 8 x 16
material Rok osoby`8oh` `8ohg` `5ohm` otyr `3tyr`
Without a reproducible example that is highly unlikely to happen.
However, you might just want to try the openxlsx or readxl packages instead.
On September 6, 2018 3:43:05 AM PDT, Aakash Kumar wrote:
>Hi Team,
>
>I am trying to read in .xls files in R using read.xls function present
>in
>gdata p
You might be interested in the "prediction" and "margins" packages.
--Ista
On Wed, Sep 5, 2018 at 6:30 PM Miluji Sb wrote:
>
> Dear all,
>
> I am running the following panel regression;
>
> plm1 <- plm(formula = log(y) ~ x1 + I(x1^2) + heat*debt_dummy + tt, data =
> df, index=c("region","year"))
Dear John,
Apologies for not providing reproducible example. I just tried with a plm
example but ran into the same issue;
library(plm)
data("Produc", package = "plm")
zz <- plm(log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp, data = Produc,
index = c("state","year"))
Ef.hd <- Effect(c("pc", "e
Dear Milu,
Effect() doesn't have a specific plm method so the default method is invoked.
Before responding to your initial question. I tried Effect() with an example
from ?plm and it worked.
Without a reproducible example that produces the error that you encountered,
there's no way to answer y
Hi
If you do not need to stick with gdata you could try package readxl, it does
not need any further packages.
https://cran.r-project.org/web/packages/readxl/readxl.pdf
It results in tibble data but change to data.frame is easy.
Cheers
Petr
> -Original Message-
> From: R-help On Behal
Hi Team,
I am trying to read in .xls files in R using read.xls function present in
gdata package. I have installed the required perl dependencies as well.
Yet, I am facing the following error.
"*Error in xls2sep : Intermediate file is missing*"
Could someone please help me out understanding the
Dear John,
Thank you very much for the solution and the suggestion. I have tried the
following;
plm1 <- plm(formula = log(gva_ind) ~ poly(x1, 2, raw=TRUE) +
heat*debt_dummy + tt, data = df, index=c("region","year"))
Ef.hd <- Effect(c("heat", "debt_dummy"), plm1)
But get the following error; -
See FAQ 7.31... chron uses floating point representation, and there is
some error accumulating. I also think there may be at least one bug in
chron::seq.dates(), but I think POSIXct is significantly better than chron
anywway so I don't intend to debug chron.
#
# wit
On 9/5/2018 10:00 PM, Waichler, Scott R wrote:
Hi,
I encountered the problem below where the last value in the chron vector created with
seq() should have a time of 15:30, but instead has 15:15. What causes this and how can I
make sure that the last value in the chron vector is the same as th
You forgot to reply-all ... I don't do private consulting, so please keep
the conversation on the mailing list.
Here are some ideas for extending your example. However, whether you WANT
to or not, you really need to learn to manipulate your data BEFORE you
give it to ggplot.
13 matches
Mail list logo