Displaying 2 results from an estimated 2 matches for "df_sorted_bbb".
2010 Aug 27
1
Band-wise Sum
...have sorted the data rating-wise as
df <- data.frame(rating, ead)
df_sorted <-
df[order(df$rating),]
df_sorted_AAA <- subset(df_sorted, rating=="AAA")
df_sorted_AA <- subset(df_sorted, rating=="AA")
df_sorted_A <- subset(df_sorted, rating=="A")
df_sorted_BBB <- subset(df_sorted, rating=="BBB")
df_sorted_BB <- subset(df_sorted, rating=="BB")
df_sorted_B <- subset(df_sorted, rating=="B")
df_sorted_CCC <- subset(df_sorted, rating=="CCC")
## we begin with BBB rating. The R output for df_sorted_BBB is as...
2010 Aug 30
2
Band-wise Conditional Sum - Actual problem
...gt; df <- data.frame(rating, ead)
>
> df_sorted <-
> df[order(df$rating),]
>
> df_sorted_AAA <- subset(df_sorted, rating=="AAA")
> df_sorted_AA <- subset(df_sorted, rating=="AA")
> df_sorted_A <- subset(df_sorted, rating=="A")
> df_sorted_BBB <- subset(df_sorted, rating=="BBB")
> df_sorted_BB <- subset(df_sorted, rating=="BB")
> df_sorted_B <- subset(df_sorted, rating=="B")
> df_sorted_CCC <- subset(df_sorted, rating=="CCC")
>
> ## we begin with BBB rating. The R output...