Displaying 3 results from an estimated 3 matches for "sec_id".
2008 Jun 05
2
Securities earning covariance
Good morning,
I am a new R user and I am trying to learn how to use it.
I am trying to solve this problem.
I have a dataframe df of daily securities (for a year) earnings as
follows:
SEC_ID DAY EARNING
IT0000001 20070101 5.467
IT0000001 20070102 5.456
IT0000001 20070103 4.954
IT0000001 20070104 3.456
..........................
IT0000002 20070101 1.456
IT0000002 20070102 1.345
IT0000002 20070103 1.233
..........................
IT0000003 20070101 0.345
IT0000003 200701...
2020 Mar 10
15
[PATCH 00/15 v2] iommu: Move iommu_fwspec out of 'struct device'
Hi,
here is a patch-set to rename iommu_param to dev_iommu and
establish it as a struct for generic per-device iommu-data.
Also move the iommu_fwspec pointer from struct device into
dev_iommu to have less iommu-related pointers in struct
device.
The bigger part of this patch-set moves the iommu_priv
pointer from struct iommu_fwspec to dev_iommu, making is
usable for iommu-drivers which do not
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame.
For instance
> ddTable <-
data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry"))
I want a dataset that is
Id Name
1 Paul
2 Bob
> unique(ddTable)
Will give me all 4 rows, and
> unique(ddTable$Id)
Will give me c(1,2), but not accompanied by the name column.