similar to: [Fwd: Re: cleaning up a vector]

Displaying 20 results from an estimated 1000 matches similar to: "[Fwd: Re: cleaning up a vector]"

2010 Oct 02
1
[Fwd: RE: maximum likelihood problem]
I forgot to add that I first gave a starting value for K. Nonlinear least squares won't work because my errors are not normally distributed. Any advide on my maximum likelihood function would be greatly appreciated. ---------------------------- Original Message ---------------------------- Subject: RE: [R] maximum likelihood problem From: "Ravi Varadhan" <rvaradhan at
2010 Oct 01
4
cleaning up a vector
I calculated a large vector. Unfortunately, I have some measurement error in my data and some of the values in the vector are erroneous. I ended up wih some Infs and NaNs in the vector. I would like to filter out the Inf and NaN values and only keep the values in my vector that range from 1 to 20. Is there a way to filter out Infs and NaNs in R and end up with a clean vector? Mike
2011 Jan 22
0
how to call BayesX in R to see the graph
Hi Everybody, please can you help me how to call BayesX in R in order to see the graph already exist in BayesX Thanks ---------- Forwarded message ---------- From: <r-help-request@r-project.org> Date: Sat, Jan 22, 2011 at 5:00 AM Subject: R-help Digest, Vol 95, Issue 22 To: r-help@r-project.org Send R-help mailing list submissions to r-help@r-project.org To subscribe or
2003 Mar 12
0
job opportunity
The University of Miami's Rosenstiel School of Marine and Atmospheric Sciences (RSMAS) is seeking a research associate to work with hydrographic data. The objective of the project is to develop statistical models for estimating salinity and density from observations of temperature together with knowledge of location and time. Because the relationship between salinity and temperature can be
2003 Mar 12
0
job opportunity
The University of Miami's Rosenstiel School of Marine and Atmospheric Sciences (RSMAS) is seeking a research associate to work with hydrographic data. The objective of the project is to develop statistical models for estimating salinity and density from observations of temperature together with knowledge of location and time. Because the relationship between salinity and temperature can be
2010 Jan 29
0
[SOLVED] RMySQL, Sweave and the annoying TRUE echo
S: Works! Thanx... 2010-01-29 Henrique Dallazuanna wrote: Try this: > >invisible(mysqlCloseConnection(con)) > >On Fri, Jan 29, 2010 at 9:10 AM, Stefan Petersson ><stefan.petersson at inizio.se> wrote: >> >> Hi, >> >> A small (but annoying) problem with RMySQL library. When a connection is closed, it echoes 'TRUE' to the console. Like this:
2011 May 19
0
Flattening lists and environments (was: "how to flatten a list to the same level?")
Dear list, I came up with a two functions that flatten arbitrary deeply nested lists (as long as they're named; not tested for unnamed) and environments (see attachment; 'flatten_examples.txt' contains some examples). The paradigm is somewhat similar to that implemented in 'unlist()', yet extends it. I would have very much liked to build upon the superfast functionality
2003 Dec 11
1
downloaded win98 print drivers fail in Samba 3.0
Windows 98 client cannot print via samba to PrintPro printer "exported" via Cups/PrintPro on PrintPro/Samba server. "Exporting" with Cups on server node allows print drivers to be downloaded to Windows clients from the server. Any help or suggestions are greatly appreciated. Win98 node gim98.rsmas.miami.edu [129.171.97.21] connects to Samba 3.0.0-15 server "prima"
2009 Sep 11
3
For sending my R package as part of R-project
To Whom It May Concern: I have an R package and want to put this package be part of R-project and available to anyone who is interested in. The R package is created for my paper, titled "Acceptance Sampling Plans from Truncated Life Tests Based on the Birnbaum-Saunders Distribution for Percentiles". The paper has been accepted by Communications in Statistics: Simulation and
2009 Jul 09
2
How to Populate List
Hi, I'm new to R and would like to know, how one can populate the list with array data. I'm reading a tab separated table in R. The data in the table looks something like this. #Table Data Comp    A    B    C Extracellular    103    268    535759 Nucleus    45603    47783    442744 #R code myData <- read.table("table.data",                 header=T,                
2004 Aug 06
1
icecast2 documentation - where is it ?
Have a successful install of icecast2 and ices2 from CVS. Runs fine but some documentation would be lovely ;) Is this doc good for icecast2 http://www.rsmas.miami.edu/personal/angel/web/ This documentation describes some tags in the config file that I don't see in my newer version of icecast. <p>TIA Richard --- >8 ---- List archives: http://www.xiph.org/archives/ icecast
2010 Oct 01
3
maximum likelihood problem
I am trying to figure out how to run maximum likelihood in R. Here is my situation: I have the following equation: equation<-(1/LR-(exp(-k*T)*LM)*(1-exp(-k))) LR, T, and LM are vectors of data. I want to R to change the value of k to maximize the value of equation. My attempts at optim and optimize have been unsuccessful. Are these the recommended functions that I should use to maximize
2010 Sep 29
2
repeat a function
I have R randomly sampling my array made up of 2 columns of data. Here is my code randomly sampling 5 different rows from my dataset to create a new dataset of 8 rows of data: testdat<-growth[sample(5,8,replace=T),] Now I want to tell R to repeat this function 50 times and give me the output. I have been searching the internet and have been unable to figure this out. Any advice
2010 Sep 29
2
need help with ramdomly sampling some data
I am trying to get R to randomly select values from my dataset (i.e. bootstrapping) with replacement. However, my attempts at this have been unsuccessful. Here is a basic example of what I am doing: I have a data vector of 8 values (i.e. data= 2,5,9,4,5,6,7,8). I used the sample function and it worked. However, it only repeated my values in the exact same order as the dataset. It did not
2010 Sep 29
2
resampling issue
I am trying to get R to resample my dataset of two columns of age and length data for fish. I got it to work, but it is not resampling every replicate. Instead, it resamples my data once and then repeated it 5 times. Here is my dataset of 9 fish samples with an age and length for each one: Age Length 2 200 5 450 6 600 7 702 8 798 5 453 4 399 1 120 2 202 Here is my code which resamples my
2010 Nov 16
1
Error: invalid type(list) for variable when using lm()
Try this: y <- rnorm(100) X <- matrix(runif(100 * 10), ncol = 10) lm(y ~ ., data = cbind.data.frame(y, X)) On Tue, Nov 16, 2010 at 5:07 PM, Tianchan Niu <niu@isis.georgetown.edu>wrote: > Dear All,I would like to do multiple regression in R. I used: lm(y~X), > where y is a n by 1 vector, and X is a n by m matrix. I kept getting the > error > message:Error in
2007 Aug 11
0
DOE and interaction plot general question
This is a general question about Design of experiments. If i am not allowed to post general questions like this here please accept my apologies and ignore the question. I did a DOE with six factors in eight runs. I know i cannot check for interactions using this design, but i tried the interaction plot and it showed me many interactions. After this I foldover the design and ran the 8 runs to learn
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
Hi all, After writing data in MMF(Memory Map File) using SEXP structure, can i reference in R? If input data is larger than 2GB, Can i reference MMF Data in R? my work environment : R version : 2.11.1 OS : WinXP Pro sp3 Thanks and best regards. Park, Young-Ju from Korea. ---------[ ???????? ???????? ???????? ]---------- ???????? : R-help Digest, Vol 89,
2010 Sep 28
1
ramdom sampling from a dataset
I am trying to get R to pick random integers from my dataset (i.e. bootstrapping) with replacement. However, my attempts at this have been unsuccessful. Here is a basic example of what I am doing: I have a data vector of 8 integers (data= 2,5,9,4,5,6,7,8). I used the sample function and it worked but it only repeated my values in the exact same order. It did not randomly sample them. Here
2010 Sep 29
1
next step in randomly sampling
Thanks to the people on this list I was able to fix my code for randomly sampling. Thanks. Now, I am moving on to the next step and I ran into another snag. I have a large dataset but I am starting with a small made-up dataset until I figure it out. I have two columns of data (age and length). I got R to read my data called growth which is the age and length for 10 fish: >