search for: aledanda

Displaying 11 results from an estimated 11 matches for "aledanda".

2009 Jul 03
3
Histogram
Hallo, How can I have the control of the width of each bin in the histogram? I would like to plot my data modifying the number and the width of the bins. Is there a good pdf or manual where i can learn to use the plot/hist in R very well? I find the help not always clear Thanks a lot Ale -- View this message in context: http://www.nabble.com/Histogram-tp24325261p24325261.html Sent from the R
2010 Jun 07
2
as.integer
Hi, Is there a way to recursively change the variables imported with read.table(..) - and then attached with attach(..) - from as.factor to as.integer? I have about 9 variables that are now recognized as factors but I need to do statistics on them so I need to change them in as.integer. It works, but I wonder if there is a way to to this for all the variables in one go. Thanks a lot for your
2009 Apr 29
3
mode(x) <- "double"
Hi, I need your help!! I imported a big coloumn vector from a txt file but it results as mode :"list" I want to change it in numeric otherwise I can't do my analysis. This is what i get: mode (data) <- "double" Error in eval(expr, envir, enclos) : (list) object cannot be coerced to type 'double' > Thanks a lot!!! Alessandra -- View this message in
2012 Mar 13
2
beginner's loop issue
Dear All, I hope you don't mind helping me with this small issue. I haven't been using R in years and I'm trying to fill in a matrix with the output of a function (I'm probably using the Matlab logic here and it's not working). Here is my code: for (i in 1:length(input)){ out[i,1:3] <- MyFunction(input[i,1],input[i,2], input[i,3]) out[i,4:6] <-
2009 Jun 29
2
re moving value from a vector
Hallo, I have a vector of several iterations and I have to remove /filter out all the values < than 10, how can I do this? Thanks a lot Alessandra -- View this message in context: http://www.nabble.com/removing-value-from-a-vector-tp24250608p24250608.html Sent from the R help mailing list archive at Nabble.com.
2009 May 09
1
for loop
Hi, I need your help. I have a vector of numbers reflecting the switch in the perception of a figure. For a certain period I have positive numbers (which reflect the perception A) then the perception changes and I have negative numbers (perception B), and so on for 40000 iterations. I need to take the rate of this switch for my analysis. Namely, I need a new vector with numbers which reflect how
2009 Jul 07
2
rle
Hallo, I have an other problem, I have this vector signData with an alternation of 1 and -1 that corrispond to the duration of two different percepts. I extracted the durations like this: signData<- scan("dataTR10.txt") dur<-rle(signData)$length Now I would like to extract only the positive duration, e.g. signData <- c(1,1,1,1,-1,-1,-1,1,1,-1,-1) posduration <- c(4,2) I
2009 Jul 01
1
Plot cumulative probability of beta-prime distribution
Hallo, I need your help. I fitted my distribution of data with beta-prime, I need now to plot the Cumulative distribution. For other distribution like Gamma is easy: x <- seq (0, 100, 0.5) plot(x,pgamma(x, shape, scale), type= "l", col="red") but what about beta-prime? In R it exists only pbeta which is intended only for the beta distribution (not beta-prime) This is
2012 Jun 05
1
Fourier descriptors created in a loop
Hi All, Here is the problem: I'm trying to generate a number of Fourier Descriptors figures for an experiment. All I need is that they are created within a loop and saved with sequential names (e.g., s1_1.png, s1_2.png etc..) in my directory. I created a nested loop with a counter for the different amplitudes for the actual shapes and a counter for the file names. This script: *count
2009 Jun 08
0
SMACOF joint configuration plot with bread data? (Michael Kubovy)
...15. Re: Finding a folder at the root level of an unknown drive > (Duncan Murdoch) > 16. Re: S4: When is validObject issued? (or why S4 is killing > me:( .. (Martin Morgan) > 17. Re: Installation of R in Redhat Linux (64 bit) (Santosh) > 18. Fitting with Beta-prime (aledanda) > 19. Truncated R output in Sweave (Frank E Harrell Jr) > 20. large numbers of observations using ME() of spdep (lucero mariani) > 21. Fwd: correct line types in lattice legends (Deepayan Sarkar) > 22. Journal Articles that Have Used R (Jason Rupert) > 23. Re: Journal Art...
2009 Jun 06
0
Fitting with Beta-prime
Hi, I need to fit my data with beta-prim distribution. I found the function in the package VGAM: betaprime and betaff. I don't know how can I make it work. I know that i need to calculate the parameters that describe this function on my distribution. But for exemple I don't understand the "link function. And then How can I plot my data fitted? Can you help me out with this? Thanks