search for: data_nam

Displaying 7 results from an estimated 7 matches for "data_nam".

Did you mean: data_num
2013 Apr 03
1
Superscript and for loops
Hi, If I have data as follows: DATA_names<-c( "A mg kg" "B mg kg" "C mg kg" "D mg kg" "E mg kg" "F mg kg" "G mg kg" "H mg kg" How do I convert to: -1 A (mg kg ) -1 B (mg kg ) -1 C (mg kg ) -1 D (mg...
2010 Sep 24
1
Some questions about string processing
...nly scratched the surface so far. 1) I am wanting to send some strings into a function to allow flexibility inside. My first idea has been e.g. auto_io <- function( var_string, factors ) { # e.g. var_string sent as "test_file.txt" factors sent as "x1 + x2 + x3" # input data_name <- get( var_string ) # term_list <- get( factors ) resp_data <- read.table( data_name, header = TRUE ) # fit temp_model <- lm( y ~ factors, data = resp_data ) etc... Neither the read.table() nor the lm() are working because in each case the string is not con...
2004 Nov 24
1
(no subject)
Good morning, I have to apply the Ks test with the the t distribution. I know I have to write ks.test(data_name,"distribution_name", parameters..) but I don't know what is the name fot t distribution and which parameters to introduce? may be mean=0 and freedom degrees in my case? Thank you for helping me. Angela Re
2010 Apr 06
2
help in function in R akin to macro in SAS
Dear Whom it may concern, I need help to figure the "macro" function in R: I need to plot the different data sets by a plotxyf function, I want the title to be different for different data set. # get the data set final.xyf<- xyf(data=as.matrix(my.final), Y=classvec2classmat(final$outcome), xweight = 0.5, grid=somgrid(5, 4, "hexagonal")) #plot function
2009 Apr 01
3
Fit unequal variance model in R
...C 3 1.58666 Mid D 3 1.35759 High A 4 2.02680 High B 4 1.52372 High C 4 2.19167 High D 4 1.29949 The SAS code is: proc mixed data=data_name order=data method=ml; *scoring=10; classes group1; model GSI=group1/residual influence solution; repeated /group=group1; run; Basically, I need different variance for each treatment group. I want to do the similar thing in R. Here is what I get so far: lm1<-lme(response~tre...
2012 May 25
4
Reading a bunch of csv files into R
Dear R users I am struggling from a data importing issue: I have some hundreds of csv files needed to be read into R for futher analysis. All those csv files are named in one of the three formats: (1) strings: e.g. London_Oxford street (2) Integer: e.g. 1234_5678 (3) combined: e.g. London_1234 I intend to use read.csv("xxxx_xxx.csv") but I only dealt with sigle documents before and
2005 Mar 24
0
AGI commands STDOUT problem
...}"); return $bytes; } private function ReceiveAsteriskEnvironmentVariables() { do { $asterisk_string = $this->ReadStdin(); if ( $asterisk_string != "\n" ) { $delimiter_position = strpos($asterisk_string,':'); $data_name = substr($asterisk_string, 0, $delimiter_position); $data_value = substr($asterisk_string, $delimiter_position + 1); $this->asterisk_environment_variables[$data_name] = trim($data_value); } } while ( $aste...