similar to: one problem

Displaying 20 results from an estimated 3000 matches similar to: "one problem"

2012 Aug 20
2
colorful plot
Hello guys, I want to increase contrast of colors in my matrix plot. I attached final plot with heatmap. How I could increase contrast with 9 kind of color. Thanks Nooshin [[alternative HTML version deleted]]
2012 Nov 06
2
avarage my data each hour
Hello, I have much more than one milion tempreture is gained each 15 seconds. So each 15 seconds, I have one data. How could I calculate avarage datas in each hour in R? If you could help me. [[alternative HTML version deleted]]
2017 Jul 30
1
problem in run cmsaf script
Hi I work with cmsaf package and have a script for prepare data in R. I run this script and have some error like this:Error in if (startdate < dates[1]) (dums <- 1) : missing value where TRUE/FALSE needed In addition: Warning messages: 1: running command 'tar.exe -tf "D:/CM SAF/ORD24552.tar"' had status 2 2: In eval(ei, envir) : NAs introduced by coercion 3: In eval(ei,
2010 Feb 18
1
how to change number of itemes appeare in right-hand-side of the rule with apriori in R(arules)?
Hi All, I use arules library, and try to create an association rules for this transaction file: a,c,f,3,4,5 b,e,1,2,4 a,c,e,f,1,3,4,5 d,5 b,c,e,f,1,2,3,4 a,c,e,f,1,3,4,5 b,c,e,f,1,3,4 b,e,1,2,4 a,c,e,f,1,3,4,5 a,b,c,e,f,1,3,4 a,c,d,f,3,4,5 I want to get the rule such: {c,e,f}=> {3,4,5} I used this command: ar=apriori(tr, parameter=list(support=.4, confidence=0.8, maxlen=11), appearance
2012 Jul 06
3
estimating NA values against selected slots
Dear R Users, Could you please help me on the following issue? I have a real large yearly data set. For each year I have 365 flow values. Some of the flow values are not known and that’s why you will see NA written in those slots. I wanted to know, is there a way that I can estimate those values? I tried approx command but it seems least helpful for the kind of issue I am up against.
2012 Oct 06
3
vector is not assigned correctly in for loop
Hi there, Here is a minimum working example: ---------------------------------------------------------------- lower = 0 upper = 1 n_bins = 50 interval = (upper - lower) / n_bins bins = vector(mode="numeric", length=n_bins) breaks = seq(from=lower + interval, to=upper, by=interval) for(idx in breaks) { bins[idx / interval] = idx } print(bins)
2013 May 15
1
x and y lengths differ
I have a problem with R. I try to compute the confidence interval for my df. When I want to create the plot I have this problem: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ. I try this code: library(dplR) df.rwi <- detrend(rwl = df, method = "Spline",nyrs=NULL) write.table(df.rwi,file="rwi.txt",quote=FALSE,row.names=TRUE)
2004 Feb 03
5
creating a factor
Hi list, I'd like to make a factor with seven 1s and three 2s using the factor() function. That is, 1 1 1 1 1 1 1 2 2 2 I will then bind this factor to the matrix below using cbind.data.frame(). 0.56 0.48 0.22 0.59 0.32 0.64 0.26 0.60 0.25 0.38 0.24 0.45 0.56 0.67 0.78 0.97 0.87 0.79 0.82 0.85 I am new to R and have been using various manuals and have made many attempts without
2012 Jul 30
2
distance matrix and hclustering
Dear R Users,i am very new to R. I want your help on an issue regarding distance matrix and cluster analysis i had discharge data of 4 rivers(a,b,c,d) in 4 vectors each having 364 values > dput(qmu)structure(list(a = c(0.26, 0.25, 0.25, 0.25, 0.24, 0.23, 0.22, 0.21, 0.21, 0.21, 0.2, 0.19, 0.19, 0.19, 0.19, 0.18, 0.18, 0.18, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17, 0.17,
2012 Apr 25
2
On the Design of the R Language
http://www.cs.purdue.edu/homes/jv/pubs/ecoop12.pdf A new paper out on R the language -- I'm not all the way through it but it's been an interesting read so far. Thought it might be of interest to the list. Michael Weylandt [[alternative HTML version deleted]]
2011 Oct 03
4
distance coefficient for amatrix with ngative valus
Hi, I need to run a PCoA (PCO) for a data set wich has both positive and negative values for variables. I  could not find any distancecoefficient other than euclidean distace running for the data set. Are there any other coefficient works with negtive values.Also I cannot get summary out put (the eigen values) for PCO as for PCA.   Thanks. Dilshan [[alternative HTML version deleted]]
2011 Aug 25
3
Segment out of the Graph
Hello everyone, I have a graph and a segment parallel to the x axis at y=-10, x=0, and bars on it. Now the question is, Is there a way to leave the segment there but let the graph axis start from the origin? In this way the segment will be out of the graph Thanks [[alternative HTML version deleted]]
2011 Sep 25
4
selecting first row of a variable with long-format data
Hi, I am trying to select the first row of a variable with data in long-format, e.g., # sample data id <- c(1,1,1,2,2) value <- c(5,6,7,4,5) dat <- data.frame(id, value) dat How can I select/subset the first 'value' for each unique 'id'? Thanks, AC [[alternative HTML version deleted]]
2011 Jul 29
2
special recursive filter
Hi, I have a question about a special recursive filter problem. What I have: - given variables: x: time series with rather randomly occuring '0' and '1' wait: non negative integer - a working but ineffectiv implementation (see below) How the implementation works (what I want): The filter should drill holes of distance 'wait' between the '1' in x, e.g. x =
2012 Apr 11
4
r graphing
can anybody tell me how i can draw x- y- axis and draw x^3 graph using R graph?? i need nice coordinate system with legends and coordinate numberings.. and nice graph of x^3 on it.. it will be nice if you tell me how i can center the graph.. i want the origin (0,0) to be right in the middle of the graph. thank you so much.
2011 Sep 26
2
Triangular matrix upper to down
Hi, suppose that we have a triangular upper matrix A test <- matrix(ncol = 4, nrow = 4) test[1, ] <- c(NA,1,1,1) test[2, ] <- c(NA,NA,1,1) test[3, ] <- c(NA,NA,NA,1) test[4, ] <- c(NA,NA,NA,NA) I know how quickly set diagonal value diag(test) <- 1. But how quickly set down value i.e. matrix is symmetrical? Is there in r project any quickly function? Thanks, Best Marcin
2011 Sep 27
4
Question concerning Box.test
Hi everyone, I've got a question concerning the function Box.test for testing autocorrelation in my data. My data consist of (daily) returns of several stocks over time (first row=time, all other rows=stock returns). I intend to perform a Box-Ljung test for my returns (for each stock). Since I have about 3000 stocks in my list, I'm not able to perform the test individually for each
2011 Dec 07
5
Object xxx not found
Dear All, I am having a very basic error, but somehow do not know how to resolve it. I've read a dataset in .csv into R with two columns - sector, export. When trying to plot the data it says "sector not found" This is the formula. SouthAfrica<-read.csv(c,header=T) > hist(sector$exports,xlab="exports (MtCO2)",main="CO2 Exports") Error in
2009 Jan 14
3
Partial sort?
This is definitely a newbie question but from the documentation I have not been able to figure out what the partial sort option on the sort method does. I have read and re-read the documentation and looked at the examples but for some reason it doesn't register. Would someone attempt to explain what sort with a non-null partial array of indices does? Thank you. Kevin
2012 Jan 21
1
recomile a dll file in R
dear all, I created a dll file from a fortran program. How I can recompile it in R? I use "dyn.load(F:/myprogram.dll)" without any error but when I run "source(F:/myprogram.r)" this error occurs: "Error in file(file, "r", encoding = encoding) : cannot open the connection In addition: Warning message: In file(file, "r", encoding = encoding) :