Guest User

Untitled

a guest
Feb 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. #!/usr/bin/env ruby -w
  2.  
  3. f_call = String.new
  4. DATA.each do |line|
  5. line.chomp!
  6. case line
  7. when /^\s*(?:#.*)?$/
  8. # do nothing--discard whitespace and comments
  9. when /\)\s*$/
  10. puts "#{f_call} #{line}"
  11. f_call = String.new
  12. else
  13. f_call += " #{line}"
  14. end
  15. end
  16.  
  17. __END__
  18. ## S3 method for class 'mlm':
  19. anova(object, ...,
  20. test = c("Pillai", "Wilks", "Hotelling-Lawley", "Roy", "Spherical"),
  21. Sigma = diag(nrow = p),
  22. T = Thin.row(proj(M) - proj(X)), M = diag(nrow = p), X = ~0,
  23. idata = data.frame(index = seq(length=p)))
  24. anova(object, ...)
  25. ansari.test(x, ...)
  26.  
  27. ## Default S3 method:
  28. ansari.test(x, y, alternative = c("two.sided", "less", "greater"),
  29. exact = NULL, conf.int = FALSE, conf.level = 0.95, ...)
  30.  
  31. ## S3 method for class 'formula':
  32. ansari.test(formula, data, subset, na.action, ...)
  33. aov(formula, data = NULL, projections = FALSE, qr = TRUE,
  34. contrasts = NULL, ...)
  35. approx (x, y = NULL, xout, method="linear", n=50,
  36. yleft, yright, rule = 1, f = 0, ties = mean)
  37.  
  38. approxfun(x, y = NULL, method="linear",
  39. yleft, yright, rule = 1, f = 0, ties = mean)
  40. ar.ols(x, aic = TRUE, order.max = NULL, na.action = na.fail,
  41. demean = TRUE, intercept = demean, series, ...)
  42. ar(x, aic = TRUE, order.max = NULL,
  43. method=c("yule-walker", "burg", "ols", "mle", "yw"), na.action,
  44. series, ...)
Add Comment
Please, Sign In to add comment