search for: astronauta

Displaying 20 results from an estimated 40 matches for "astronauta".

2008 Sep 29
3
replicating dataframe rows
...ld like that the new data.frame have many rows as the population collumn. place<-c("place1", "place2", "place3", "place4", "place5") population<-c(100,200,300,50,30) my.df<-data.frame(cbind(place,population)) my.df best wishes, miltinho astronauta brazil [[alternative HTML version deleted]]
2008 Aug 18
2
changing plot font for Times new roman
...family of fonts. I tryed par(family="times") without success. Surfing on R archieve I got an suggestion of use par(font.lab=6), but when I go to the par(font.lab) help the highest value there is 5. How can I have sure that font.lab=6 is the Times New Roman? Thanks in advance, miltinho astronauta brazil --- op<-par() x11(800,500) par(mfrow=c(1,2)) x<-plot(runif(100),rnorm(100) , main="standard font") par(font.lab=6) par(font.axis=6) x<-plot(runif(100),rnorm(100) , main="font=6") par<-op [[alternative HTML version deleted]]
2008 Jul 06
4
Numbers as Points in Graphs
I am trying to produce a simple plot where the points in the plot are actually integers from my data. That is, I am making a length/width plot and I would like the points, rather dots or triangles, appear as different numbers corresponding to a column in my data. I have tried using this: ...,pch="column title" but this merely returns the first letter of the column title, B. Is there
2008 Oct 07
1
Ecological Niche Modelling on R
...ers are on ASC format, and the record of species is a data-frame with X, Y, name of species. Note that in general we don´t have real absence data. Could someone give some advice how can I use "grasp" and/or "adehabitat" to generate my predictive models? Best regards, Miltinho AStronauta brazil [[alternative HTML version deleted]]
2008 Sep 10
1
isolating X on an expression
Dear R-gurus, I know that it is not a R problem, but as need to implement some solution for this on R, I would like to know if someone help me on how to isolate X on the expression below. K=(sen A * sen B ) + ( cos A * cos B * cos ( X - Y ) ) Any help are welcome mitinho astronauta brazil [[alternative HTML version deleted]]
2008 Sep 17
3
Need help creating spatial correlation for MC simulation
I want to create a dataset in R with spatial correlation (i.e. clustering) built in for a linear regression analysis. Any tips on how to do this? Thanks. -- View this message in context: http://www.nabble.com/Need-help-creating-spatial-correlation-for-MC-simulation-tp19542145p19542145.html Sent from the R help mailing list archive at Nabble.com.
2008 Jul 23
5
Histogram
Hi, how can I treat data organised in classes and frequencies? Ex. class frequency 20-23 9 23-25 7 26-28 5 29-31 5 32-34 3 Thanks Angelo Scozzarella
2008 Jul 08
1
package segmented problem
Hi, while using package "segmented" (version 0.2-4) by Vita Muggeo to investigate a possible change point (around time = 222) in admissions for a specific medical condition I had the following error message: fit2.seg<-segmented(fit2, seg.Z=~time,psi=222) Error in segmented.lm(fit2, seg.Z = ~time, psi = 222) : (Some) estimated psi out of its range "fit2" is a simple
2008 Jul 19
1
estimating volume from xyz points
...nts and I need to estimate the volume that encompass all my points. Recently I got some adivice to show the "convex hull" of my points using geometry package (see code below). But now I need to calculate the volume of my set of points. Any advice are wellcome. Thanks in advance Miltinho Astronauta Brazil ----- require(geometry) library(rgl) x<-rnorm(100) k<-runif(100)*20+5 y<-rnorm(100) z<-sin(x)+cos(y)^2 my.data.3d<-data.frame(cbind(x,y,z)) my.data.3d = sqrt(3) * my.data.3d / drop(sqrt((my.data.3d^2) %*% rep(1,3))) data.ts.surf = t( convhulln(my.data.3d,"QJ")...
2008 Jul 23
1
an extremely simple question
Hi! What is the difference between using data(somedataset) vs. attach(somedataset), please? thanks, Edna Bell
2008 Jul 23
1
Sample on dataframe
Hi I'm looking for solution or function which I can use to sample data frame, to obtain new (smaller) data frame similar to sample() function Jarek Jasiewicz
2008 Jul 25
2
How to preserve the numeric format and digits ?
Instead of > m <- c(400000000, 50000000000) > paste("A", m, "B", sep="") [1] "A4e+08B" "A5e+10B" I want "A400000000" and "A50000000000"
2008 Jul 25
1
Insert rows into a pre-existing data frame
Hi, I'm sorry if this is a simple question. How do you insert a blank row into a data frame? I basically need to do this: old table: new table: C1 C2 C3 C1 C2 C3 1 32 34 1 32 34 2 52 23 54 2 52 23
2008 Jul 26
2
response surface analysis
Hi, Is there a package that could do response surface analysis equivalent to SAS RSREG procedure? Thanks! Regards, Jinsong
2008 Aug 27
1
How to create additional columns?
I do have some data of dim 100*3 (i.e 100 rows and 3 columns ) stored in a txt file. I want to read the data into R, Perform the same operation in each row and store the result in a forth column( that I should create). I do not know how I can create a forth column to store the result of the operation for each row? -- View this message in context:
2008 Aug 30
4
remove levels from a factor
Hi,   how to remove levels that have less than a specific number such as 2. i.e..   > f<-as.factor(c("a","b","a")) > f [1] a b a Levels: a b I want to remove level b because level b has less than 2. > f [1] a a Levels: a   [[alternative HTML version deleted]]
2008 Sep 12
1
point with change of tendecy
Hi, As I can obtain, of a temporary series, if it has some point where a significant change of tendency takes place. Tank's Ramón Hidalgo [[alternative HTML version deleted]]
2008 Sep 15
1
modifying this barplot
Here is an example barplot that needs some tweaking: library(gplots) ratios <- data.frame(c(0.05,0.10,0.9),c(0.06,0.15,0.76)) rownames(ratios) <- c("T1","T2","T3") colnames(ratios) <- c("A1","A2") ratios <- as.matrix(ratios) myplot <- barplot2(ratios, beside = TRUE,col = c("blue",
2008 Sep 24
1
climatological standard deviation
Hello R users, I have a montly time series over a several year period. It's easy to compute a monthly climatology (12 values), Now, I would like to calculate the corresponding standard deviation, ie the 12 values calculated from the january values, february values, etc. What's the best way for such a calculation ? Regards, Yogesh -- Yogesh K. Tiwari (Dr.rer.nat), Scientist, Indian
2008 Sep 28
1
Kernel Estimate for the Intensity Function
To anyone who can help me: I found that the function "smooth.ppp" in the package "spatstat" provides the kernel estimate for the intensity function of a "two-dimensional" point process with marks. Does anyone know that which package can do this for simply a "one- dimensional" point process with marks? I've been searching all over the R site but still