Displaying 20 results from an estimated 3000 matches similar to: "Packages with functionality related to Oil/Gas exploration"
2012 May 14
3
Scraping a web page.
Folks,
I want to scrape a series of web-page sources for strings like the following:
"/en/Ships/A-8605507.html"
"/en/Ships/Aalborg-8122830.html"
which appear in an href inside an <a> tag inside a <div> tag inside a table.
In fact all I want is the (exactly) 7-digit number before ".html".
The good news is that as far as I can tell the the <a>
2012 Mar 01
3
Create a function "automatically" from lm formula and coefficients?
I hope the subject says it all.
I want to be able to use an lm object and the associated coefficients to create function that can produce "expected" "y" values given inputs.
Thanks,
KW
--
[[alternative HTML version deleted]]
2013 Jun 11
2
R-help Digest, Vol 124, Issue 12
Folks,
Sorry for butting in here. I ran the code from John Kane below and it worked fine.
I did however get a deprecation message suggesting the use of ggpairs from the GGally package to make this chart.
Unfortunately I haven't found the correct incantation to get the diagonal to display the density plots using the "diag" parameter.
Any suggestions?
Just trying to learn,
2012 Feb 12
2
Is it possible or has it been done?
A port of R to iOS?
Thanks for your time,
KW
--
[[alternative HTML version deleted]]
2012 Nov 07
8
Aggregate data frame across columns
Folks,
I have a data frame with columns 200401, 200402, ..., 201207, 201208.
These represent years/months. What would be the best way to sum these columns by year? What about by quarter?
Thanks for your time,
KW
--
[[alternative HTML version deleted]]
2012 Oct 25
1
Estimating credit card default probabilities.
Folks,
I am working on a credit card defaults and transition probabilities. For example a single credit card account could be in a number of states: up-to-date, 30, 60, 90 days in arrears or in default.
* Are there packages in R that do estimation of the transition probabilities given historical cohort defaults?
* Any pointers to papers specific to this type of estimation?
* Simulation of future
2013 Apr 03
3
arrayInd and which
Folks,
I have Googled but not found much regarding arrayInd aside from the "which" help page.
Any good examples or docs on what arrayInd does that is better or different from which()?
In addition take the following 20x10 matrix:
td<-structure(c(1, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 1, 6, 6, 6, 6, 6,
6, 6, 1, 6, 6, 6, 6,
2012 Nov 09
2
Creating yyyymm regexp strings on the fly for aggregation.
Folks,
This question is somewhat related to a previous posting of mine.
I just can't seem to create a generic solution.
Here is a function that I found searching around the internet:
splitIt <- function(x, n) {split(x, sort(rank(x) %% n))}
I use it like so:
> splitIt(1:12, 2)
$`0`
[1] 1 2 3 4 5 6
$`1`
[1] 7 8 9 10 11 12
Or
> splitIt(1:12, 4)
$`0`
[1] 1 2 3
$`1`
[1] 4 5 6
2012 Jun 19
1
Scaling a "density".
Folks,
I have a small dataset of counts of recoveries on defaulted loans:
recoveries<-structure(c(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1,
0, 0, 0, 0, 0, 4, 0, 1, 2, 2, 12), .Dim = c(11L, 2L), .Dimnames = list(
NULL, c("pcts", "counts")))
Here is the data in columnar form:
pcts counts
[1,] 0.0 0
[2,] 0.1 0
[3,] 0.2 0
[4,] 0.3
2012 Aug 29
1
mach_override.c
Folks,
I just upgraded my Mac to Mountain Lion and on running R.app I get the following message:
mach_override: some instructions unknown! Need to update mach_override.c
err = f8000001 /Volumes/Haxdisk/Projects/DefaultFolderX/DFCarbonPatch/../../Libraries/mach_star-1.2-intel-0.3/mach_override/mach_override.c:215
err = f8000001
2023 Jan 19
0
JPA1, M100, D2, D6, Mazut M100, Gasoline93 Octane, Liquefied Natural Gas, Liquefied Petroleum Gas, HSD2 Gas Oil, CST180, Russian Petroleum Coke
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20230119/99b779d7/attachment.htm>
2012 Jun 15
1
Divide all rows of a data frame by the first row.
Folks,
I call the function calcAmorts like so:
calcAmorts(prevAm, amort, myDates)
Note that I use the package lubridate.
The last line where do.call is called to first divide all the rows by the first row and then rbind gives the following error:
Error in do.call("rbind", apply(amortsByYears, 1, "/", amortsByYears[, :
second argument must be a list
By contrast if
2012 Feb 16
2
Problem building up ggplot graph in a loop.
Folks,
I want to automate some graphing using ggplot.
Here is my code
graphChargeOffs2<-function(coffs) {
ggplot(coffs, aes(levels))
dataNames<-names(coffs)[!names(coffs) == "levels"]
for(i in dataNames) {
thisData<-coffs[[i]]
last_plot() + geom_line(aes(y = thisData, colour = i))
}
last_plot() + ylab("Total Chargeoffs")
}
coffs is a data.frame.
2011 Nov 18
1
Drawing ticks in the 3rd and 4th row of a lattice
Dear all,
I want to draw ticks on the 3rd and 4th row of a lattice. How do I do this
? In my search of the help, I discovered a parameter alternating,which kind
of says where the ticks will be but does not suffice for me.
I am running this command : -
barchart(X03/1000~time|Company,
data=df1[which(df1$time!=1),],
horiz=F,
2007 Mar 29
1
Dell poweredge 860 acceptable forofficeenvironment ?
>> The tomshardware-guys (no gals would do this...) have removed the
>> fans, and immersed the innards of the computer in a sealed cabinet
>> filled with cooking oil. So they have a completely silent machine
>> in 40C warm oil. Amazing...
It certainly is. And, I suppose, this will work, for a while, as long as:
The "sealed cabinet", has enough expansion
2007 Apr 18
0
Oil progress
The first thing to do in tuesday is to get in on EQTD. It will SOAR
up next week. There will be more than 100%
appreciation within the first few hours, so do it without delay.
With oil markets retreating, big traders are turning to
gold, driving it to levels never before seen. EQTD has
made an advertisement of staggering proportions related to a
recent survey on one of their gold properties.
2007 Apr 18
0
Oil progress
The first thing to do in tuesday is to get in on EQTD. It will SOAR
up next week. There will be more than 100%
appreciation within the first few hours, so do it without delay.
With oil markets retreating, big traders are turning to
gold, driving it to levels never before seen. EQTD has
made an advertisement of staggering proportions related to a
recent survey on one of their gold properties.
2010 May 11
1
merge two data frames
Dear group,
I have these 2 following data frame:
allcon <-
structure(list(DESCRIPTION = structure(1:17, .Label = c("COFFEE C Jul/10",
"COPPER May/10", "CORN Jul/10", "CORN May/10", "COTTON NO.2 Jul/10",
"CRUDE OIL miNY May/10", "GOLD Jun/10", "HENRY HUB NATURAL GAS May/10",
"ROBUSTA COFFEE (10)
2023 Jan 16
1
Reg: Frequency in declaring time series data
Dear All,
I have a time series daily data with date are stored ( %dd-%mm-%yy format )
from 22-01-20 to 03-08-21. In total I have 560 observations. I am using the
following command to declare as a time series object. Here the the data set
is 7 days a week.
oil <- read_xlsx("crudefinal.xlsx")
pricet=ts(oil$price, start = c(2020, 22), freq = 365)
2012 May 09
4
Can't read xlsx file into R. Seem, Seem to have XLConnect loaded.
I have spent hours on R in Windows 7. Just installed 2 days ago so the R
package should be current.
Currently I am using the RGui (64-bit) for Windows.
I can not read an Excel file into R from my computer. Have hours on this.
Completely crazy!!
I have the XLConnect package loaded. I think it is loaded because when I
enter:
> loadedNamespaces()
[1] "base"