summary.holdings: Prepare a dashboard of key metrics

Description Usage Arguments Details Examples

Description

Creating a summary of matrics an investor would find useful in evaluating their account.

Usage

1
2
## S3 method for class 'holdings'
summary(object, ...)

Arguments

object

data.frame of loans from DetailedNotesOwned()

...

currently not used

Details

At Risk Ratio calculates the percentage of the loans with principal 16 or more days late.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
summary( lc_DetailedNotesOwned( LC_CRED ))

# split notes on a variable and  run summary for each subset
holdings<- lc_DetailedNotesOwned(LC_CRED)$content
x<- lapply(split(holdings, f= holdings$portfolioName), summary)
y<- Reduce(function(...) merge(..., by= 'col_labs',  all.x= TRUE), x)
names(y)[-1]<- names(x)
y

## End(Not run)

LendingClub documentation built on May 1, 2019, 9:14 p.m.