From dmsidhu at gmail.com Tue Apr 3 00:35:18 2018
From: dmsidhu at gmail.com (dsidhu)
Date: Mon, 2 Apr 2018 15:35:18 -0700 (MST)
Subject: [datatable-help] Is it possible to perform PCA with random effects?
Message-ID: <1522708518242-0.post@n4.nabble.com>
I have the results of a rating study in which ~30 participants rated a subset
of 20 items on 25 different dimensions.
I would like to perform PCA on these ratings to reduce the 25 different
dimensions. However, instead of doing this on the mean ratings for each
item, I would like to perform the PCA at the level of individual ratings. I
am assuming that in order to do this I have to specify the fact that ratings
are nested within participants and within items (i.e., crossed random
effects for subjects and items). Is this possible?
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From stu115300 at mail.uni-kiel.de Tue Apr 3 13:38:52 2018
From: stu115300 at mail.uni-kiel.de (babab)
Date: Tue, 3 Apr 2018 04:38:52 -0700 (MST)
Subject: [datatable-help] Clustering of second level in multilevel analysis.
Message-ID: <1522755532845-0.post@n4.nabble.com>
Hello,
I am quite new to this forum and my question may be rather easy to answer,
but it would be a big help for my work.
I have to do a multilevel-Analysis and wanted to cluster the variables on
the second level.
The problem is, that I am not quite sure, if I really understand what to do
there.
As help I used following website: http://www.sthda.com/
My second level identifier are:
o Leadership construct
o Unpublished (Whether it was published or not)
o Publicationtype
o Meta_N (N of metaanalysis)
o Outcome_alpha
o Lead_alpha (Leadership alpha)
o Country (In which the study was conducted)
o Bsetting (Businesssetting, which job area was asked)
How to start now ?. I am thinking that I don't really understand the method
of clustering at all and I am freaking out a bit, as I have noone at
University to ask.
If there is any information missing, I'm sorry in advance and I'm more than
willing to give additional information as soon as possible for me.
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From anilkp at uw.edu Wed Apr 4 22:59:58 2018
From: anilkp at uw.edu (aniluw)
Date: Wed, 4 Apr 2018 13:59:58 -0700 (MST)
Subject: [datatable-help] Help with biglm() package
Message-ID: <1522875598380-0.post@n4.nabble.com>
Due to my interest in data analytics, was working on large volumes of data
(Air traffic performance data ? Bureau of Transportation Statistics) over
the break.
As part of my exercise, I was trying to predict the minutes delayed on
departure (one of the outcome variable) from a selected set of variables (to
minimize the data chunk and correlation between predictors). I found biglm()
function useful to perform this activity using ffdf objects.
I was able to build a linear model for training dataset (3,972,233 records)
with the biglm() package. However, when I try generate fitted-values, the
model returns all NAs. Thinking if the model interpret the outcome as
?categorical? (given the ?response? attr checked in the $terms dimension of
the biglm object), than discrete integer values.
Also, the predictors CRS_DEP_TIME, CRS_ARR_TIME are integers (rest all the
predictors are factors), is it interpreted as ?factors? ? Would really
appreciate your response.
> biglm.Train.Air.2017.Dep.Delay.mins$terms
DEP_DELAY ~ YEAR + MONTH + DAY_OF_MONTH + DAY_OF_WEEK + UNIQUE_CARRIER +
ORIGIN + DEST + CRS_DEP_TIME + CRS_ARR_TIME
attr(,"variables")
list(DEP_DELAY, YEAR, MONTH, DAY_OF_MONTH, DAY_OF_WEEK, UNIQUE_CARRIER,
ORIGIN, DEST, CRS_DEP_TIME, CRS_ARR_TIME)
attr(,"factors")
YEAR MONTH DAY_OF_MONTH DAY_OF_WEEK UNIQUE_CARRIER ORIGIN
DEST CRS_DEP_TIME CRS_ARR_TIME
DEP_DELAY 0 0 0 0 0 0
0 0 0
YEAR 1 0 0 0 0 0
0 0 0
MONTH 0 1 0 0 0 0
0 0 0
DAY_OF_MONTH 0 0 1 0 0 0
0 0 0
DAY_OF_WEEK 0 0 0 1 0 0
0 0 0
UNIQUE_CARRIER 0 0 0 0 1 0
0 0 0
ORIGIN 0 0 0 0 0 1
0 0 0
DEST 0 0 0 0 0 0
1 0 0
CRS_DEP_TIME 0 0 0 0 0 0
0 1 0
CRS_ARR_TIME 0 0 0 0 0 0
0 0 1
attr(,"term.labels")
[1] "YEAR" "MONTH" "DAY_OF_MONTH" "DAY_OF_WEEK"
"UNIQUE_CARRIER" "ORIGIN" "DEST" "CRS_DEP_TIME"
"CRS_ARR_TIME"
attr(,"order")
[1] 1 1 1 1 1 1 1 1 1
attr(,"intercept")
[1] 1
attr(,"response")
[1] 1
attr(,".Environment")
>
Structure of the Training ffdf dataset
> str(Train.Air.OnTime2017.SelectCols.ffdf)
List of 3
$ virtual: 'data.frame': 10 obs. of 7 variables:
.. $ VirtualVmode : chr "integer" "integer" "integer" "integer" ...
.. $ AsIs : logi FALSE FALSE FALSE FALSE FALSE FALSE ...
.. $ VirtualIsMatrix : logi FALSE FALSE FALSE FALSE FALSE FALSE ...
.. $ PhysicalIsMatrix : logi FALSE FALSE FALSE FALSE FALSE FALSE ...
.. $ PhysicalElementNo: int 1 2 3 4 5 6 7 8 9 10
.. $ PhysicalFirstCol : int 1 1 1 1 1 1 1 1 1 1
.. $ PhysicalLastCol : int 1 1 1 1 1 1 1 1 1 1
.. - attr(*, "Dim")= int 3972233 10
.. - attr(*, "Dimorder")= int 1 2
$ physical: List of 10
.. $ YEAR : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d3467395e5d.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ MONTH : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d34628a688c.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:12] "January" "February" "March"
"April" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ DAY_OF_MONTH : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d34868459e.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:31] "1" "2" "3" "4" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ DAY_OF_WEEK : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d3419f71e6a.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:7] "Mon" "Tue" "Wed" "Thu" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ UNIQUE_CARRIER: list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d342b7d2482.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:12] "AA" "AS" "B6" "DL" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ ORIGIN : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d342cf382a.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:320] "ABE" "ABI" "ABQ" "ABR" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ DEST : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d34344c1f1b.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. ..- attr(*, "Levels")= chr [1:320] "ABE" "ABI" "ABQ" "ABR" ...
.. .. ..- attr(*, "ramclass")= chr "factor"
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ CRS_DEP_TIME : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d347efb4a28.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ CRS_ARR_TIME : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d34c6e593e.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
.. $ DEP_DELAY : list()
.. ..- attr(*, "physical")=Class 'ff_pointer'
.. .. ..- attr(*, "vmode")= chr "integer"
.. .. ..- attr(*, "maxlength")= int 3972233
.. .. ..- attr(*, "pattern")= chr "clone"
.. .. ..- attr(*, "filename")= chr
"C:/Users/ANILKU~1/AppData/Local/Temp/RtmpSKCATB/clone2d3419b6864.ff"
.. .. ..- attr(*, "pagesize")= int 65536
.. .. ..- attr(*, "finalizer")= chr "delete"
.. .. ..- attr(*, "finonexit")= logi TRUE
.. .. ..- attr(*, "readonly")= logi FALSE
.. .. ..- attr(*, "caching")= chr "mmnoflush"
.. ..- attr(*, "virtual")= list()
.. .. ..- attr(*, "Length")= int 3972233
.. .. ..- attr(*, "Symmetric")= logi FALSE
.. .. - attr(*, "class") = chr [1:2] "ff_vector" "ff"
$ row.names: NULL
- attributes: List of 2
.. $ names: chr [1:3] "virtual" "physical" "row.names"
.. $ class: chr "ffdf"
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From phamgiatung at huaf.edu.vn Sat Apr 7 13:41:58 2018
From: phamgiatung at huaf.edu.vn (tunghuaf)
Date: Sat, 7 Apr 2018 04:41:58 -0700 (MST)
Subject: [datatable-help] Need your help about the Script in R for
Regression Kriging for 2 auxiliary variables?
Message-ID: <1523101318095-0.post@n4.nabble.com>
Hello everyone,
I am new one try to study about Regression Kriging in R.
I need your help about an R script for Regression Kriging in R.
I need to interpolate the SOC (Soil Organic Carbon) from 155 points using 2
environmental variables, include Elevation value (DEM raster, I converted to
ASCII format and NDVI value (raster, converted to ASCII format).
I want to make a formula as SOC = coefficient*E + coefficient*NDVI +
intercept.
I would like to know:
- Among of auxiliary variables, which variable effect to SOC concentration
is most?
- How can I implement the Regression Kriging for this task in R? Could you
please show me a detailed script for R for this case?
Thank in Advance.
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From deepaksharma64 at gmail.com Sun Apr 8 07:15:46 2018
From: deepaksharma64 at gmail.com (R_Exp64)
Date: Sat, 7 Apr 2018 22:15:46 -0700 (MST)
Subject: [datatable-help] Analysis of categorical variables with different
levels
Message-ID: <1523164546175-0.post@n4.nabble.com>
I have been given a dataframe with 50+ fields. My job is to find the fields
which are dependent and independent of each other. Most of the fields are
categorical variable and have different levels. For example - below table
shows different levels for each field Sex:2, Color:4, Geography:3, ID:8.
Now, how can I do regression/correlation on them ? Clearly, we see that all
Males have Red color and their Geography is North. What analysis I need to
do to get these kind of insights? I tried few things but could not figure
out the right way.
Idea is to develop a system where few of the fields are automatically filled
based on the information entered in other fields, like if we enter Sex as
Male,Geography is automatically North. Thanks!
**Sex** **Color** **Geography** **ID**
Male Red North 100
Male Red North 200
Male Red North 300
Male Red North 400
Male Blue North 500
Female Green South 600
Female Green
Female East 800
Female Yellow North 900
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From deepaksharma64 at gmail.com Sun Apr 8 07:34:20 2018
From: deepaksharma64 at gmail.com (R_Exp64)
Date: Sat, 7 Apr 2018 22:34:20 -0700 (MST)
Subject: [datatable-help] Analysis of categorical variables with different
levels
Message-ID: <1523165660598-0.post@n4.nabble.com>
I have been given a dataframe with 50+ fields. My job is to find the fields
which are dependent and independent of each other. Most of the fields are
categorical variable and have different levels. For example - below table
shows different levels for each field Sex:2, Color:4, Geography:3, ID:8.
Now, how can I do regression/correlation on them ? Clearly, we see that all
Males have Red color and their Geography is North. What analysis I need to
do to get these kind of insights? I tried few things but could not figure
out the right way.
Idea is to develop a system where few of the fields are automatically filled
based on the information entered in other fields, like if we enter Sex as
Male,Geography is automatically North. Thanks!
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From artful_dodger74 at yahoo.com Tue Apr 10 17:45:29 2018
From: artful_dodger74 at yahoo.com (a_dodger)
Date: Tue, 10 Apr 2018 08:45:29 -0700 (MST)
Subject: [datatable-help] Creating New Columns In A Data Frame Based on
Other Variables
Message-ID: <1523375129867-0.post@n4.nabble.com>
I have a data.frame of the following:
team_id game_id current_points
1 100 10
1 100 10
1 100 10
2 100 20
2 100 20
2 100 20
3 101 15
3 101 15
3 101 15
4 101 5
4 101 5
4 101 5
We have 2 different games in data frame and 4 separate teams. Eg. Team 1
plays Team 2 in game_id 1. What I need to do is create another 2 column with
the points of the other team in the game and the points difference between
the two teams. Example
team_id game_id current_points other_team_points points_difference
1 100 10 20 -10
1 100 10 20 -10
1 100 10 20 -10
2 100 20 10 10
2 100 20 10 10
2 100 20 10 10
3 101 15 5 10
3 101 15 5 10
3 101 15 5 10
4 101 5 15 -10
4 101 5 15 -10
4 101 5 15 -10
How do I go about this in dplyr?
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From mattjdowle at gmail.com Wed Apr 11 02:01:09 2018
From: mattjdowle at gmail.com (Matt Dowle)
Date: Tue, 10 Apr 2018 17:01:09 -0700
Subject: [datatable-help] Proposal to close this mailing list
Message-ID:
All,
This R-Forge mailing list has served us well but it now seems end of life.
I looked through the last 200 posts back to Nov 2015. Seems low volume
with very few actual data.table questions. The good ones I did see would
have been better on Stack Overflow.
We've now moved to 3 places, none of which existed when this mailing list
was first created in March 2010 :
Stack Overflow data.table tag (now over 7,000 questions)
GitHub issues where we can track and tag
Twitter #rdatatable for news/announcements
Support Guide is here (no mention of this mailing list) :
https://github.com/Rdatatable/data.table/wiki/Support
If nobody replies to say they'd like to keep this mailing list, I'll close
it in a few weeks. The archive will still be available.
Best, Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From giacomofontanelli76 at gmail.com Wed Apr 11 18:21:33 2018
From: giacomofontanelli76 at gmail.com (ilFonta)
Date: Wed, 11 Apr 2018 09:21:33 -0700 (MST)
Subject: [datatable-help] adding extra layer to ggplot with conditional
staement
Message-ID: <1523463693721-0.post@n4.nabble.com>
Hi forum
I need to add boxplot layers to my ggplot chart depending on a boolean
condition (TRUE/FALSE).
What's wrong in what I wrote? Thank you
myChart <- ggplot()
if (RotIf == TRUE) {
myChart = myChart + geom_boxplot(data=fileInRotSubdB,
outlier.shape = NA,
aes(x=fileInRotSubdB$acq_date, y=fileInRotSubdB$Mean_dB,
group=fileInRotSubdB$acq_date),
colour ="black",
fill="red",
width=1)}
if (WobIf == TRUE) {
myChart = myChart + geom_boxplot(data=fileInWobSub,
outlier.shape = NA,
aes(x=fileInWobSubdB$acq_date, y=fileInWobSubdB$Mean_dB,
group=fileInWobSubdB$acq_date),
colour ="black",
fill="pink",
width=1)}
if (BroIf == TRUE) {
myChart = myChart + geom_boxplot(data=fileInBroSub,
outlier.shape = NA,
aes(x=fileInBroSub$acq_date, y=fileInBroSub$Mean_dB,
group=fileInBroSub$acq_date),
colour ="black",
fill="blue",
width=1)}
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From mnotarangelo at uri.edu Thu Apr 12 22:19:57 2018
From: mnotarangelo at uri.edu (Marco_Notar)
Date: Thu, 12 Apr 2018 13:19:57 -0700 (MST)
Subject: [datatable-help] Treating a group of variables as independent
Message-ID: <1523564397371-0.post@n4.nabble.com>
Hi all,
I'm wondering if any of you are aware of a package that allows users to
transform a data table from:
Data Name #
A 3
B 2
to:
Data Name #
A 1
A 1
A 1
B 1
B 1
I've tried using the table2df function in the psych() package but that
doesn't yield the results i'm interested in; I'm essentially interested in
turning a row with a value of X, into X number of rows with value of 1 for
said category.
Thanks,
Marco.
--
Sent from: http://r.789695.n4.nabble.com/datatable-help-f2315188.html
From mattjdowle at gmail.com Sat Apr 14 19:07:41 2018
From: mattjdowle at gmail.com (Matt Dowle)
Date: Sat, 14 Apr 2018 10:07:41 -0700
Subject: [datatable-help] This mailing list is now closed
Message-ID:
This R-Forge mailing list has served us well, but in the last 200 posts
back to Nov 2015 it's now low volume with very few actual data.table
questions. The good ones would have been better on Stack Overflow. This
mailing list is now closed.
We've now moved to 3 places, none of which existed when this mailing list
was first created in March 2010 :
* Stack Overflow data.table tag (now over 7,000 questions)
* GitHub issues where we can track status and tag
* Twitter #rdatatable for news/announcements
Please see the Support Guide :
https://github.com/Rdatatable/data.table/wiki/Support
Best, Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: