Displaying 20 results from an estimated 2000 matches similar to: "string functions"
2009 Sep 26
3
evaluate a set of symbols within an IF statement
Hello, writing some R code to cleanse a data set, if the following set
of symbols are identified then perform some actions. trying to write
the minimum code to do this.
tname = "VIX"
checkticker = c("VIX", "TYX", "TNX", "IRX")
if (tname == checkticker) {
//perform some operations
}
result i get is
> tname == checkticker
2006 Jul 19
2
voronoi tessellations
Okay, been working with tripack, seems the most mature package for this. Got it to work well with their test data set - data(tritest). When i tried random numbers to explore further, i am getting some results that don't reconcile.
example run this:
library(tripack)
y <- runif(100)
x <- runif(100)
vm <- voronoi.mosaic(x,y)
plot(vm)
par(new=T)
plot(x,y,col='blue')
when
2006 May 19
6
bayesian belief networks to determine causality
Hello, does R estimate belief networks to estimate chains of causality.
Anyone point me to the right direction, or the most developed library?
looking at DEAL>
2004 May 02
2
r dev site is down
the R developer site has been down for some time, what gives?
http://developer.r-project.org/
2008 Apr 21
3
optFederov/AlgDesign - help avail?
Hello, we are needing to generate optimal (Fractional) designs for
discrete choice applications, where we will be using logistic regression
or multinomial logit as the modeling technique.
It looks like optFederov, in the AlgDesign package may work, but not
sure if this algorithm works when the variable of interest is binary or
nominal?
Anyone who are experts in this area, anyone interested
2009 Nov 09
4
prcomp - principal components in R
Hello, not understanding the output of prcomp, I reduce the number of
components and the output continues to show cumulative 100% of the
variance explained, which can't be the case dropping from 8 components
to 3.
How do i get the output in terms of the cumulative % of the total
variance, so when i go from total solution of 8 (8 variables in the data
set), to a reduced number of
2009 Mar 29
2
Mature SOAP Interface for R
Hello, we are writing rich internet user interfaces and like to call R
for some of the computational needs on the data, as well as some
creation of image files. Our objects communicate via the SOAP
interface. We have been researching the various packages to expose R as
a SOAP service.
No current CRAN SOAP packages however.
Found 3 to date:
RSOAP (http://sourceforge.net/projects/rsoap/)
2004 Apr 20
1
multi-user engine
hello, i just got introduced to R - WOW its beautiful..
I am presently a SAS user and wanted to configure R to work in a multi-user
enteprise environment. Client - Server. Where we have a strong LINUX
server supporting about 10 statisticians with R. Anyone have any backround
or information they can share to help me get jump-started on setting up R in
this environment? Does each user have
2009 Nov 23
2
dynlm predict with newdata?
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091122/6a079ab8/attachment-0001.pl>
2009 Dec 16
1
R and Hierarchical Forecasting
Hello, does anyone know of any R routines capable of whats called
Hierarchical Forecasting, reconciling the different hierarchies.
Example: A top down forecast where the corporate forecast is created and
then all the regions within the corporate entity are also forecasted,
with the constraint they sum to the corporate forecast.
2011 Jun 29
1
lmer() computational performance
Hello, running a mixed model in the package LME4, lmer()
Panel data, have about 322 time periods and 50 states, total data set is
approx 15K records and about 20 explanatory variables. Not a very
large data set.
We run random intercepts as well as random coefficients for about 10 of
the variables, the rest come in as fixed effects. We are running into
a wall of time to execute these models.
2017 Nov 29
2
How to count instructions in a function?
Hello,
I am trying to count IR instructions in a function for static analysis
using llvm pass. In contrast with existing examples, I am trying to include
instruction counts of all the callees of the function.
Counting the instructions of a function is easy using passes, but iterating
through the module's CallGraph is proving to be confusing. I believe I have
to use CallGraphWrapperPass to
2017 Nov 30
1
How to count instructions in a function?
Thanks so much John! That works :)
Previously I wrote a pass that inherited from CallGraphWrapperPass and used
its getCallGraph() function within runOnModule() which resulted in
segmentation faults for me. Not sure why that happened, perhaps callgraph
wasn't setup by the time runOnModule() was called internally. If you know
why, kindly enlighten me and perhaps document the behavior for the
2004 Oct 23
2
JDBC DB access in R
Hello, i see packages referencing using ODBC access to databases via R, are
there any packages that use JDBC to submit SQL to a database and return into
a data frame?
-zubin
2009 May 25
2
cairoDevice.dll error, but it exists..?
Hello, running windows vista, R2.9. Installed the following libraries:
(*latticist*, *playwith* and *Cairo*)
Wanted then to run, to evaluate the visualization features:
>data(iris)
>library(latticist)
>latticist(iris)
However, i tested my desktop and laptop and get the following error
after typing latticist(iris):
latticist(iris)
Loading required package: playwith
Loading
2017 Oct 03
2
Procesamiento de Lenguaje Natural
Hola:
Me gustaría que me recomendarais paquetes o alguna forma de "hincarle el diente" para empezar a investigar en la siguiente cuestión.
El proyecto trata de que, a partir de un numero grande de documentos pdf que contienen, básicamente, Notas Simples del Registro de la Propiedad deseamos extraer para cada uno de esos documentos una serie de ítems de información, a saber:
-Finca
2010 Mar 31
3
creating a variable using concatenation
A general problem i run into, i know there must be a simple solution.
I like to create a variable by appending a 1 for example, (i need to
loop later on from 1 to X, thus the reason for this). So i assign the
variable vplot with this value, however it has quotes and when i use it
in a barplot, it throws an error. but the tcenter$X1 does exist, its an
element of a data frame. So if i type
2017 May 19
1
Null pointer dereference?
I was curious if this was a real null pointer dereference issue in
R-devel/src/library/grDevices/src/devPS.c on line 1009?
1000: static type1fontinfo makeType1Font()
1001: {
1002: type1fontinfo font = (Type1FontInfo *) malloc(sizeof(Type1FontInfo));
1003: /*
1004: * Initialise font->metrics.KernPairs to NULL
1005: * so that we know NOT to free it if we fail to
1006: *
2017 Jul 31
4
find similar words in text
I am new to R.
Busy with Text Analysis.
Need a script to find e.g
whale, whales, whale's, whaler, whalers, whaling,... in Moby Dick
Riaan
2008 Nov 02
5
R newbie: how to replace string/regular expression
Hello;
I am a R newbie and would like to know correct and efficient method for
doing string replacement.
I have a large data set, where I want to replace character "M", "b",
and "K" (currency in Million, Billion and K) to millions. That is
209.7B with (209.7 * 10e6) and 100.00K with (100.00 *1/100)
and etc..
d <- c("120.0M", "11.01m",