Displaying 7 results from an estimated 7 matches for "pdim".
Did you mean:
dim
2008 Mar 28
1
background color in scatterplots
Dear R community, I have a scatterplot with multiple vertical ablines. I
wish to color each interval between two ablines in a different color...
Could you please indicate me how to do this efficiently?
Thank you!
Georg.
********************
Georg Ehret
Johns Hopkins
Baltimore
[[alternative HTML version deleted]]
2011 Apr 12
1
How to set the dimension of a matrix correctly?
...cal data analysis
coords<- as.matrix(read.table('/Users/R/Code/stncoords.dat'))ppt<- as.matrix(read.table('/Users/R/Code/ppt_15day.dat'))
xx <- dim(ppt) # (77,528)
plat <- seq(37.5,42,by=0.07273)plon <- seq(-105.5,-93.5,by=0.07273)pgrid <- expand.grid(x=plon,y=plat)pdim <- dim(pgrid) # (10230,2)
#plot(pgrid, cex=0.5)
lat <- coords[,1] lon <- coords[,2]
ppt1 <- ppt[,1:xx[2]] # 1:528
pptpred <- matrix(0,ncol=xx[2],nrow=1)
############# Only test one period data##################
ptemp <- ppt1[,3] ll <- which(ptemp>0)
ppt2 <- matrix(...
2009 Jul 09
2
plm Issues
...iable requested). The third
call results in error (trying to use diff'ed variable in regression)
Other info: I'm running R 2.7.2 on WinXP
cheers
*>data("Gasoline",package="Ecdat")
>Gasoline_plm<-plm.data(Gasoline,c("country","year"))
>pdim(Gasoline_plm)
**Balanced Panel: n=18, T=19, N=342
*
*>summary(plm(lgaspcar~lincomep,data=Gasoline_plm**))
**Oneway (individual) effect Within Model
Call:
plm(formula = lgaspcar ~ lincomep, data = Gasoline_plm)
Balanced Panel: n=18, T=19, N=342
Residuals :
Min. 1st Qu. Median 3rd Qu....
2016 Mar 31
2
Ask if an object will respond to a function or method
...vcovDC vcovG vcovHC
[17] vcovNW vcovSCC
see '?methods' for accessing help and source code
> methods(class = "panelmodel")
[1] deviance df.residual fitted has.intercept index
[6] nobs pbgtest pbsytest pcdtest pdim
[11] pdwtest phtest print pwartest pwfdtest
[16] pwtest residuals terms update vcov
see '?methods' for accessing help and source code
> coef(zz)
log(pcap) log(pc) log(emp) unemp
-0.026149654 0.292006925 0.768159473...
2010 Mar 29
1
plm package duplication problem
...cant find where do i make mistake!!
i try to create my model with the following command
>dsn.plm <- plm(lnQ~lnC+lnL+lnM+lnE,data=ds,
random.method="walhus",effect="twoways",model="random")
and than i get this error message
duplicate couples (time-id)
Error in pdim.default(index[[1]], index[[2]]) :
so my question is; is there anyone who knows how to overcome with this
error!
for now i dont know if i have to give more info and which info! but if you
think you can help me i am ready to send more info...
thanks for sparing your time!
[[alternative HTML vers...
2008 Oct 21
5
how to plot the histogram and the curve in the same graph
i want to plot the histogram and the curve in the same graph.if i have a set
of data ,i plot the histogram and also want to see what distribution it
was.So i want to plot the curve to know what distribution it like.
--
View this message in context: http://www.nabble.com/how-to-plot-the-histogram-and-the-curve-in--the-same-graph-tp20082506p20082506.html
Sent from the R help mailing list archive at
2016 Mar 31
0
Ask if an object will respond to a function or method
...vcovHC
> [17] vcovNW vcovSCC
> see '?methods' for accessing help and source code
>> methods(class = "panelmodel")
> [1] deviance df.residual fitted has.intercept index
> [6] nobs pbgtest pbsytest pcdtest pdim
> [11] pdwtest phtest print pwartest pwfdtest
> [16] pwtest residuals terms update vcov
> see '?methods' for accessing help and source code
>> coef(zz)
> log(pcap) log(pc) log(emp) unemp
> -0.02614965...