由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - please help on R subtable question !
相关主题
求助:sas不同格式的日期比较Sas advance chapter quiz 一问
[R]how to sample all possible continuous subset from ordered data请教个SAS ORACLE DATABASE的问题
R问题请教:如何从data frame按条件取出部分column请教 macro variable 和 PROC SQL的问题
[R] a row of a matrix is not a matrix?SQL combine two tables into one table and add a new column (转载)
Urgent R Questioncompare two large tables SQL (转载)
请教一个proc transpose的问题SQL find distinct values in large table (转载)
请教一个关于R的问题请问怎样 export or copy Access Table的 design view
large dataset impot into SAS[合集] 问excel牛人一个问题
相关话题的讨论汇总
话题: subtable话题: table话题: question话题: column话题: 20130101
进入Statistics版参与讨论
1 (共1页)
x*****i
发帖数: 112
1
Sorry, I cannot type Chinese using this computer.
-------------------------------------------------
Suppose I have a table with three columns
1st column is the date, for example 20150903, 20150904, 20150910, ......
2nd column is the name of stocks, for example, AAPL, IBM, FB, ......
3rd column is the daily return of the stock
The table is used to record 1200 most active stocks' return on each day (no
holiday, no weekend).In the first column, the date is from 20130101 to
20150831 ( each date will be repeated 1200 times), since we have 1200 stocks
each day.
Now, I want to subset the BIG table into SMALL tables for each day. One
table
for 20130101, one table for 20130102, one table for 20130103, ......
What is the fast way to do that without using for-loop?
Thanks!
I***e
发帖数: 1136
x*****i
发帖数: 112
3
这个方法不错。
谢谢

【在 I***e 的大作中提到】
: http://stackoverflow.com/questions/19327020/in-r-how-to-split-s
1 (共1页)
进入Statistics版参与讨论
相关主题
[合集] 问excel牛人一个问题Urgent R Question
请教一个关于R的问题请教一个proc transpose的问题
copy and paste column in sas请教一个关于R的问题
求助!请教我这个SAS code哪里错了啊?large dataset impot into SAS
求助:sas不同格式的日期比较Sas advance chapter quiz 一问
[R]how to sample all possible continuous subset from ordered data请教个SAS ORACLE DATABASE的问题
R问题请教:如何从data frame按条件取出部分column请教 macro variable 和 PROC SQL的问题
[R] a row of a matrix is not a matrix?SQL combine two tables into one table and add a new column (转载)
相关话题的讨论汇总
话题: subtable话题: table话题: question话题: column话题: 20130101