Hi,
I am new to R migrating from Stata. I am estimating through Simulated
Maximum Likelihood Estimation a utility function for hours of work in a
discrete choice model.
I have my own Stata code but I still can't get into a similar R code.
Could anyone just recommend me an applied or reproduc
I'm new to R and Linux, and I have an issue I didn't see solved on the
internet.
I'm using Ubuntu Mate and installed R version 2.11 since the current
version does not support R-kinetics.
What happens is that I have hdf5 headers and libraries installed
$ whereis hdf5
hdf5: /usr/include/hdf5
But w
Hi
Coming late to the discussion - I deleted the original message
I found that I have a cbe.dat that I downloaded some years ago from
cowpertwaite's site .
And have attached it
If it does not get through will do a dput as the file is only 7K
Regards
Duncan
Duncan Mackay
Department of Agronom
No, cannot agree. The result of using an n by 2 matrix to index into a
rectangular object is a vector. A vector can only have one storage mode for all
elements. Some type coercion is necessary to accommodate this.
--
Sent from my phone. Please excuse my brevity.
On December 17, 2016 2:58:24 PM
> On Dec 17, 2016, at 11:34 AM, Bert Gunter wrote:
>
> It's documented, David:
>
> From ?"[.data.frame"
>
> "Matrix indexing (x[i] with a logical or a 2-column integer matrix i)
> using [ is not recommended. For extraction, x is first coerced to a
> matrix..."
>
> ergo characters for a mixed
It's documented, David:
>From ?"[.data.frame"
"Matrix indexing (x[i] with a logical or a 2-column integer matrix i)
using [ is not recommended. For extraction, x is first coerced to a
matrix..."
ergo characters for a mixed mode frame.
Cheers,
Bert
Bert Gunter
"The trouble with having an open
This puzzle started with an SO posting where the questioner showed output from
a dataframe that had been indexed with a matrix. The output appeared to show
that numeric values had been coerced to character. Once I got a reproducible
example I discovered that the print output was the problem and
7 matches
Mail list logo