Displaying 20 results from an estimated 1000 matches similar to: "converting character strings to numbers"
2012 Mar 31
2
unable to move temporary installation
Hi all,
I'm having a strange error that prevents me from installing new packages,
or updating packages after reinstalling. The error message is
Warning: unable to move temporary installation ‘C:\Program
Files\R\R-2.14.2\library\file15045004ac2\sandwich’ to ‘C:\Program
Files\R\R-2.14.2\library\sandwich’
for one of the packages that is failing to install/update. This error
started happening
2012 Apr 02
7
Calculating NOEL using R and logistic regression - Toxicology
Hello, I used the glm function in R to fit a dose-response relationship and
then have been using dose.p to calculate the LC50, however I would like to
calculate the NOEL (no observed effect level), ie the lowest dose above
which responses start occurring. Does anyone know how to do this?
[[alternative HTML version deleted]]
2012 Apr 10
1
Package boot, funtion cv.glm
Hey all,
I need some help with a cross validation. I'm new with R and as well with
statistics. I had a group work to create a tool for remote sensing class
that extracts the best bands of hyperspectral satellite images that describe
vegetation. Its a regression between a linear function of using a normalized
differenced index (i-j)/(i+j) while i and j are the bands (in the data these
are the
2012 Jun 25
1
using multiple cpu's - scaling in processing power
Hi All
In the past I have worked with parallel processing in R where a function F
is applied to the elements of a list L. The more cpu cores one has, the
faster the process will run. At the time of launching the process for (F,L)
I will have a certain fixed number of cpu's that I can use. I have tested
this approach and it works fine (i.e. package 'multicore' , using 'mapply'
2012 Apr 05
1
reclaiming lost memory in R
Dear list,
I am trying to reclaim what I think is lost memory in R, I have been using gc(), rm() and also using Rprof to figure out where all the memory is going but I might be missing something.
I have the following situation
basic loop which calls memoryHogFunction:
for i in (1:N) {
dataset <- generateDataset(i)
fit <- try( memoryHogFunction(dataset, otherParameters))
}
and
2012 Apr 10
2
Error: cannot allocate vector of size...
Hello:
While running R doing the analysis of my data I (using packages such as
BIOMOD or e1071) get the following error as a result of several of my
analysis:
Error: cannot allocate vector of size 998.5 Mb
In addition: Warning messages:
1: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) :
Reached total allocation of 4095Mb: see help(memory.size)
2: In array(c(rep.int(c(1,
2012 Apr 03
5
R equivalent for SQL query
Hi,
I have a query which I would like to translate into R, but I do not know how to do it in an easy way.
Assume a data frame has columns A, B and C:
A B C
1 1 3
1 1 4
1 1 5
1 2 6
1 2 7
1 3 8
The query is as follows:
select A, B, count(*)
from data.frame
group by A, B
order by count(*) desc
How do I translate this into R statements in such way that the result is a data frame structured as
2012 Apr 10
5
Creating a loop with an indefinite end term
Everyone,
I'm very new to R, especially when it comes to loops and functions, so
please bear with me if this is an elementary question. I cannot seem to
figure out how to construct a loop which runs a function until a certain
value is computed. For example, say I have the following:
num = numeric (10)
num [1] = 0
for (i in 2:10) {
num [i] = num [i-1] + 5
}
This adds 5 to the
2012 Apr 03
0
Off Topic: Re: Calculating NOEL using R and logistic regression - Toxicology
Below.
-- Bert
On Tue, Apr 3, 2012 at 1:47 PM, Danielle Duncan <dlduncan2 at alaska.edu> wrote:
> Thanks for the response, I should have clarified that the NOEL is the
> smallest dose above which there is a statistically significant effect.
>
This is not a scientifically meaningful nor defensible definition as
it is stochastic, depends on the test used, design, level chosen, etc.
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",
2006 Jan 07
2
Where is the stud.ci() function used in boot.ci()?
Hello!
I am trying to duplicate the studentized bootstrap confidence interval
calculations in boot.ci() without using boot.ci(). My w/o boot.ci()
calculations are close to boot.ci() using the same object from
implementation of boot(), but not quite the same (I think the differences
are due to how quantiles are computed for z*). Through examining the
boot.ci() code, I can see there is a call
2010 Nov 21
3
R help
Dear All,
I'm a beginner user in R and I would like to make a quadratic and
plateau model in R. Can you help please with an example?
Thanks so much
--
Ahmed M. Attia
Assistant Lecturer
El-Khattara farm Station
Agronomy Dept.,
Zgazig Univ., Egypt
Visiting Scientist
Haskell Agricultural laboratory
Agronomy and Horticultural Dept.,
Univ. of Nebraska-Lincoln
ahmedatia at zu.edu.eg
2011 Feb 08
4
Interactions in a nls model
I am interested in testing two similar nls models to determine if the
lines are statistically different when fitted with two different data
sets; one corn, another soybean. I know I can do this in linear models
by testing for interactions. See Introductory Statistics with R by
Dallgaard p212-218 for an example. I have two different data sets I am
comparing to lai. ci.re should have very
2009 Aug 31
2
online classes or online eduction in statistics? esp. time series analysis and cointegration?
Hi all,
I am looking for low cost online education in statistics. I am thinking of
taking online classes on time series analysis and cointegration, etc.
Of course, if there are free video lectures, that would be great. However I
couldn't find any free video lectures at upper-undergraduate and graduate
level which formally going through the whole timeseries education... That's
why I would
2006 Sep 11
2
Making shared object on 64bit machine
I want to make a shared object from Fortran code to be loaded with
dyn.load(), but have the following messages:
# g77 -c kerimp1.f
# R CMD SHLIB kerimp1.o
gcc -shared -L/usr/local/lib64 -o kerimp1.so kerimp1.o -L/usr/lib64/R/lib
-lR
/usr/bin/ld: kerimp1.o: relocation R_X86_64_PC32 against `qweight_' can not
be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link
2002 Oct 16
1
FIXED: error in make pkg-...
Sorry, spoke too quickly!
The problem was caused by my editing the MkRules file with an editor that
replaces tabs with spaces. Make evidently requires that all lines start with
a tab (see http://www.delorie.com/djgpp/v2faq/faq22_17.html). Perhaps worth
warning windoze users like myself of such perils in readme.packages or
somewhere similar!
Now I have a new problem, but it looks fixable.
2002 May 03
1
copy or save of plots (PR#1507)
On Fri, 3 May 2002 drew.tyre@csiro.au wrote:
> Full_Name: Drew Tyre
> Version: 1.4.0
> OS: Win 2000
> Submission from: (NULL) (140.253.74.225)
>
>
> When creating a rather complex plot, the resulting figures 'shrink' when either
> copied to the clipboard or saved as a metafile using the GUI menu. Also saving
> as postscript or pdf causes the same problem, as
2004 Dec 08
2
Clustering in R
Is there a command to get cluster criterion for the cluster methods? SAS has its criterion, but I prefer to do it in R. If there is not a command is there code to produce criteria to choose the number of clusters?
Adrian Katschke
Statistics Grad Student
University of Nebraska-Lincoln
[[alternative HTML version deleted]]
2017 Aug 03
1
find similar words in text
I received this from Matt Jockers and it worked!
I missed something.
How can I now see(display) this list?
Hi Riann,
There are a couple of ways that you could do this. . . the best
approach would probably be to use *grep* instead of *which*, but let me
show you both ways.
On page 30, replace
whales.v <- which(moby.word.v == *whale*)
with
whale_words <- c(*whale", *whales",
2004 Apr 07
1
ZIB models
I attempted to contact Drew Tyre, but the email I have for him is no
longer in service.
Hopefully someone can help.
I'm using obs.error in R to model turtle occupancy in wetlands.
I have 4 species and 20 possible patch and landscape variables, which
I've been testing in smaller groups.
> zib.out<-obs.error(y=painted,m=numvis,bp=zvars,pcovar=7)
I get the following error