Displaying 2 results from an estimated 2 matches for "cross1".
Did you mean:
cross
2011 Oct 11
1
warning with cut2 function
...eate bins, about 7 of them using the code after reading the data:
cluster <- cut2(cross_val$value, g=7)
I get the warning:
Warning message:
In min(xx[xx > upper]) : no non-missing arguments to min; returning Inf
additionally, the bins become 6 instead of 7 through the crossTable function:
cross1 <-CrossTable(cross_val$factor, cluster,prop.chisq=FALSE,prop.r=FALSE,prop.t=FALSE)
Please assist me to? get my 7 bins.
How can i plot an output of the cross table as a historgram of factor rate? vs bins?
Any help will be highly appreciated.
Kind regards,
Taby
?
An idea not coupled with...
2003 Apr 21
3
To create a Panel and run a Pooled OLS
Dear all,
I have tried to merge two cross sections (crossA and crossB) as follows, both
crossA and crossB include the same variables, e.g., ID,y,x1,x2:
Panel <- merge(crossA,crossB,by="ID")
I have, thereafter, tried to run the following pooled OLS:
OLS <- lm(Panel$y~Panel$x1+Panel$x2)
and have received the following error message "Error in model.frame(formula,
rownames,