| Thread Closed |
S-plus question about length of data |
Share Thread |
| Mar24-09, 03:28 PM | #1 |
|
|
S-plus question about length of data
Hello, I'm trying to figure out how to program the Exponential Integral function, and then make it compute values for a vector of data.
I have this: Code:
expint <- function(s){
integrand <- function(x) {exp(x)/x}
integrate(integrand, lower = -Inf, upper = s)$integral
}
Warning messages: 1: Condition has 72 elements: only the first used in: e1 && e2 2: Condition has 72 elements: only the first used in: e1 || e2 Problem in bound + (sgn * (1 - nodes))/nodes: length of longer operand (72) should be a multiple of length of shorter (15) Anyone know what I need to change for it to work with vectors? |
| Thread Closed |
Similar discussions for: S-plus question about length of data
|
||||
| Thread | Forum | Replies | ||
| Data analysis question... | Introductory Physics Homework | 3 | ||
| Rotation Question. Is there sufficient data/values? Pondered on question 4 sumtime.. | Introductory Physics Homework | 17 | ||
| data sheet question | Electrical Engineering | 4 | ||
| Data conversion question | Computing & Technology | 4 | ||
| Realize professional data management with TechRepublic's Guide to Data Storage Design | Computing & Technology | 0 | ||