search for: basel_asset_class

Displaying 4 results from an estimated 4 matches for "basel_asset_class".

2013 Oct 17
4
Subseting a data.frame
Dear Forum, I have a data frame as  mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001)) > mydat   basel_asset_class defa_frequency 1                 2          0.150 2                 8          0.070 3                 8          0.030 4                 8          0.001 I need to get the subset of this data.frame wher...
2013 Oct 17
4
Subseting a data.frame
Dear Forum, I have a data frame as  mydat = data.frame(basel_asset_class = c(2, 8, 8 ,8), defa_frequency = c(0.15, 0.07, 0.03, 0.001)) > mydat   basel_asset_class defa_frequency 1                 2          0.150 2                 8          0.070 3                 8          0.030 4                 8          0.001 I need to get the subset of this data.frame wher...
2011 Mar 08
2
How to plot multiple graphs?
...as given below, but it produces only one graph and that too just a straight line. I have recently started my R venture and trying to learn through the help I receive from various R forum helpers and through old R mails which are achieved. My code is as given below. library(plyr) df = data.frame(basel_asset_class = c("bank","bank","bank","bank","bank","bank","bank","corporate","corporate","corporate","corporate","corporate","corporate","corporate","sovereign",...
2011 Mar 14
1
Multiple graphs
...en different figures. Regards Akshata # Here is the part of my code which generates the graphs - library(plyr) internal_scale = c("AAA","AA","A","BBB","BB","B","CCC") # internal_scale_id <- c(1:length(internal_scale)) # basel_asset_class <- c("Bank", "Corporate", "Sovereign") # basel_asset_class_id <- c(1:length(basel_asset_class)) output = data.frame(basel_asset_class_id = c(1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3), internal_scale_id = c(1,2,3,4,5,6,7,1,2,3,4,5,6,7,1,2,3,4,5,6,7)...