Displaying 3 results from an estimated 3 matches for "clarityvvs1".
Did you mean:
clarityvvs2
2018 Feb 08
2
sparse.model.matrix Generates Non-Existent Factor Levels if Ord.factor Columns Present
...ry Good" "colorE" "colorF" "colorG" "colorH"
[11] "colorI" "colorJ" "clarityIF" "claritySI1" "claritySI2" "clarityVS1" "clarityVS2" "clarityVVS1" "clarityVVS2" "depth"
[21] "table" "price" "x" "y" "z"
Can it be made to work correctly for both plain and ordered factors?
> sessionInfo()
R Under development (unstable) (2...
2009 Dec 16
4
Creating Dummy Variables in R
Hi,
I am trying to create a set of dummy variables to use within a multiple linear regression and am unable to find the codes within the manuals.
For example i have:
Price Weight Clarity
IF VVS1 VVS2
500 8 1 0 0
1000 5.2 0 0 1
864 3 0 1 0
340
2018 Feb 08
0
sparse.model.matrix Generates Non-Existent Factor Levels if Ord.factor Columns Present
...od" "colorE" "colorF" "colorG" "colorH"
> [11] "colorI" "colorJ" "clarityIF" "claritySI1" "claritySI2" "clarityVS1" "clarityVS2" "clarityVVS1" "clarityVVS2" "depth"
> [21] "table" "price" "x" "y" "z"
>
> Can it be made to work correctly for both plain and ordered factors?
>
>> sessionInfo()
> R Un...