Displaying 20 results from an estimated 10000 matches similar to: "dealing with Date vars"
2011 Dec 03
1
problems using the thin plate spline method
Dear R users,
I am a beginner in R trying to apply the thin plate spline method to my climate data. I used the example in R to do so, and the lines seem to run fine ( I am not getting errors) but I am not getting any output in the form of graph or anything. I got a warning message saying that 'surface extends beyond box'.
Any help is much appreciated.
thanks
minti
2011 Oct 28
1
About the statistics for ratio comparison
Hi
I have a table with four columns and 3 rows. I calculated the average for
each columns as average (A), average (B), average (C) and average (D), then
calculate the relative ratio as average (A)/average (B), and average
(C)/average (D). I would like to know how can I calculate the significance
between the two ratios.
Thanks,
Meng
[[alternative HTML version deleted]]
2013 Apr 04
2
question about message
Hello R, could you tell me please, how to fix this issue?
There is installed RStudio-2.15.2 and the next steps where follow but
the message appears:
http://cran.r-project.org/web/packages/RMySQL/INSTALL):
>
> 1. Download the RMySQL_0.9.tar.gz file to the folder C:\Program
> Files\R\R-2.15.1\bin\x64
> 2. Open a Windows command line, and change directory to that folder
> 3.
2013 Apr 04
5
help with kriging interpolation
All,
I am new to using R and know some basics. I wish to use kriging in R to
do the following:
given data Y =f(X1,X2,X3,.....,Xn) --1000+ irregular measured data set.
I would like to be able to get a single value y given sinle input set
(x1,x2,x3,...xn)
A google search on this takes me lierally to the same example on involving
analysis with soil sampling and I cannot figure out how to
2013 Aug 26
3
Naming columns
Hi ,
I just imported a large data set from notepad. I want to label the columns
in R.
I used 'import Dataset' to bring in my data set
Now, I would like to label V1,V2,V3 etc??
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Naming-columns-tp4674595.html
Sent from the R help mailing list archive at Nabble.com.
2012 Oct 21
1
[Vars] package: impulse response function
Hello,
I'm doing a research on the impulse responses in VAR models and I'm having
troubles in interpretation of R results.
My question is what is the shock of impulse variable that is produced to
obtain the response? Is it one-standard-deviation positive shock? If it is
so how can I obtain the responses on other types of shocks, say, 10%
negative shock?
Thanks a lot,
Marion
2011 Dec 18
2
Dealing with NAs
Hi
I am trying to estimate parameter values with mlogit. I attach a part of my data.
My code is
x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero")
summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass))
But i get
Error in if (abs(x - oldx) < ftol) { :
missing value where TRUE/FALSE needed
Because there is Na
2012 Nov 16
2
Dealing with factors ???
I have a data frame x that came from read.csv. It seemed to read in ok but
then I tried doing some plotting of the values and ran into difficulties.
The plot command seems to be plotting factors instead of the values. How do
I get rid of these factors ? The plot command I use is : plot (x$dat, x$TX,
type='l'). I also tried ...plot(x$dat, levels(x$TX), type='l) but got an
error :
2013 Apr 30
1
Error message
Hi there
I am a Masters student at the University of Stellenbosch. I have been using R to analyze the data, using the GLS model, of one of my experiments.
The problem that I am having is that whenever I run my model using:
fit.glsmodel1<-gls(Number~as.factor(Season)+as.factor(Depth)+as.factor(Orientation), data=Number, weights=varPower(), method="ML")
I get the error:
Error in
2012 Nov 22
1
error message in Linkcomm package
Dear All,
Some of the functions in Linkcomm return an error:
unused argument(s) (v = V(x$igraph))
Although I follow the guidance in the manual a number of the functions
return this error. The igraph vector is an edgelist.
Many thanks for any guidance.
Best,
Nick
2012 Dec 30
2
levelplot
I have two questions;
Do you know how to take out axes in a levelplot? Me doesn't work axes =
FALSE
And I would like to fix the values range of colorkey or legend from my
rainbow col.regions, dou you know how can I fix this values independent
of values database?
Thanks and happy new year!
[[alternative HTML version deleted]]
2013 Jan 26
1
Setting global variables inside R reference class ?
Hello,
I'm a newbie to R, I have a quesiton.
I'm a bit confused on global variable assignments.
I have the following situation. I have 2 global variables current_idx and
previous_idx. *These 2 global variables have to be set by a method in a
reference class*.
Essentially, using <<- assignment operator should work right ? But, I get
this warning
Non-local assignment to non-field
2013 Apr 01
1
Help Please, ggplot2
library(ggplot2)
a<- read.table("data", header=T)
b = na.omit(a)
ggplot(data=b) + geom_line(aes(x=timepoint, y=value,group=sample, colour= factor(sample))) +? geom_point(aes(x=timepoint, y=value, group=s
ample)) + facet_wrap(~bio, scales = "free",ncol = 5) +theme_bw() + opts(legend.direction = "horizontal",??? legend.position = "top",????
2013 May 03
2
Very basic statistics in R
Dear all,
Very simple question, but apparently uneasy to solve in R:
I have a sampling of a variable x: (3, 4. 5, 2, ...)
I want to know:
- the mean <x> -> mean(x)
- the uncertainty on <x> -> std.error(x) ? Or sd(x)?
- the standard deviation of x -> ?
- the uncertainty on the standard deviation -> ?
Anyone has an idea?
Thanks in advance,
2013 Mar 08
2
Select rows from Data Frame with conditions
Hi all,
I have two dataframes. The first (A) contains all the stock prices for
today including today. So the first column is the stock Symbol and the
second column is the stock price. The second (B) is the symbol list in the
top 100 stocks.
I want to pick out from dataframe A only the rows containing the symbols
from B. i.e. something like:
prices <- A[A[,1]==B,2]
is there any
2012 Nov 27
2
error of runing R in R 2.15.2 w/o graphes generated
Hi,
I have installed R 2.15.2 on windows 7.
http://cran.cnr.berkeley.edu/
I tried to run some simple graph code:
http://www.harding.edu/fmccown/r/
But, no graphs are presented or poped up.
Any help will be appreciated.
Thanks
[[alternative HTML version deleted]]
2017 Jun 29
0
Different date formats in one column
I doubt your actual file looks like the mess that made it to my email
software (below) because you posted HTML-format email. Read the Posting
Guide, and in particular figure out how to send plain text email.
You might try the "anytime" contributed package, though I suspect it too
will choke on your mess. Otherwise, that will pretty much leave only a
brute-force series of regular
2012 Apr 23
2
.rda vs. .RData
Are they the same with .RData being the newer format?? Thanks,
...Tao
2013 Jan 26
1
Attempting to confirm a program i wrote in C (normalize 2 datasets, transform into histogram, transform into CDF, perform KS test)
I have written a program in C that two xy datasets, aligns these 2 datasets
based on shared features, transforms them into equal sized histograms,
transforms the histograms into cumulative distribution functions (via GSL)
and finally performs a KS_test.
I am wanting to validate my program's results and figure'd i would use R but
i am kinda stuck at ithe histograms (I have 2 histogram
2013 Oct 12
1
lmerTest
Hi,
I'm trying to user lmer function from lmerTest package because, if I
understood correectly, it allows to make better inference than lmer method
from lme4 package. However, whatever I do I keep getting this error:
Error in lme4::lFormula(formula = mark ~ ssCount + sTime+ : rank of X =
1660 < ncol(X) = 1895
any ideas what could be a problem?
thanks,
Srecko
[[alternative HTML