Displaying 20 results from an estimated 14612 matches for "naing".
Did you mean:
naming
2013 Apr 09
3
count by value
Hello all!
I have a big problem now. I want a data frame like this:
dput(head(test,100))
structure(c(NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
2003 Mar 18
3
Tukey's HSD
Greetings,
I am trying the get the standard errors of multiple comparisons using
Tukey's HSD. These are not reported by the function TukeyHSD. When I apply
the following code to the data, which I store as PROLE4.TXT, several
unexpected things happen. First, the function TukeyHSD works for all the
comparisons but the function simint doesn't. Second, after the application
of na.omit
2011 Jul 19
2
strang behaviour of mice package
I am using mice package for multiple imputation. For one data
(attached), mice doesn't impute all missing values. Specifically, some
variables were not imputed at all.
the reproducible code
library(mice)
test.df<-read.table(c:\\test.txt',header=T,sep=',')
mi<-mice(test.df,maxit=10,m=5)
sum(is.na(complete(mi,1)))
>129
and x41, x50... were not imputed at all.
Any
2024 Jan 30
1
R interpreting numeric field as a boolean field
Dear friends,
Hope you are doing well. I am currently using R version 4.3.2, and I have a
.xlsx file that has 46 sheets on it. I basically combined all 46 sheets
and read them as a single dataframe in R using package rio.
I read a solution using package readlx, as suggested in a StackOverflow
discussion as follows:
df <- read_excel(path = filepath, sheet = sheet_name, guess_max = 100000).
2013 Apr 06
5
arrange data
Hello all!
I have a problem to arrange data in another form. My initial data is like
this:
'data.frame': 421 obs. of 58 variables:
$ 01A: num NA NA NA NA NA NA NA NA NA NA ...
$ 01B: num NA NA NA NA NA NA NA NA NA NA ...
$ 03A: num NA NA NA NA NA NA NA NA NA NA ...
$ 03B: num NA NA NA NA NA NA NA NA NA NA ...
$ 05A: num NA NA NA NA NA NA NA NA NA NA ...
$ 05B: num NA NA NA NA
2011 Feb 04
1
read.table error
R experts,
I am working with a fairly large data set comprised of 563 rows by 116 columns including several
different modes. I have been unable to read in the data set completely using the read.table
function and the RGui (i.e. nearly half the total number of rows are missing from the data set
along with the column names). The data does read in fully using Tinn-R's Rterm;
however, at several
2005 May 06
3
conversion factor into numeric
Thank you all for your (fast) comments.
Unfortunately I could not make the advise work:
> mass
[1] 800 800 800 800 800 800 800 800 800 800 800
800 800 800 800 800 800 800 910 910 910 910 910
910 910
[26] 910 910 910 910 910 910 910 910 910 910 910
910 910 910 1,020 1,020 1,020 1,020 1,020 1,020 1,020 1,020 1,020
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)
2002 Dec 18
1
problem with 'gnls'
I'm working with data measured in a tunnel to estimate the
emission factor of heavy & light vehicles.
I tried to use 'gnls' and I get the following Error:
>> Error in "coef<-.corARMA"(*tmp*, value = c(174.267493382104, 173.412740072763 :
>> Coefficient matrix not invertible
Here is my R-code:
data <- d.plabutsch.neu
# calculating the starting
2009 Feb 25
1
read and reshape time series table with empty items
Dear useR's,
I have a problem to read data (daily precipitation).
The data are formated in months by columns wich leads to empty items in
months with less then 31 days.
What i did was reading the file and try to reshape the object
a<- read.table("nds.txt", header=TRUE, sep=";", dec = ".",
na.string="NA")
ar<-reshape(a,
2012 Jul 11
3
unable to subtract dates in R
Hi,
I wanted to calculate the age of people in my dataset by subtracting the
individual's date of birth from their intake into a program.
After several hours, searches of help archives, and the downloading of
lubiridate, I have had no luck with this.
Below is the code I used.
> intakeDS$DOB <- as.character(intakeDS$DOB)
> intakeDS$DOB <- as.Date(intakeDS$DOB,
2009 Jun 23
7
first value...
Hi,
I've a vector like this:
> inc
[1] NA NA NA NA NA NA NA
[8] NA NA NA NA NA NA NA
[15] NA NA NA NA NA NA NA
[22] NA NA NA NA NA NA NA
[29] NA NA NA NA
2009 Sep 16
1
Can someone please explain why the last tick mark on this chart is not showing?
Hi all,
I'm trying to log chart but with natural looking tick marks. My
specifications are very specific -- it must indicate the lowest
number's tick as well as the maximum.
I've attached sample code and data for a particular case (and there
are a few more like this) where the bottom tickmarks on the chart are
not set to where I want them to be and yet they fit in the ylim range.
2013 Aug 01
3
Problemas con NA y sub-selección por índice
Estimados compañeros de lista, estábamos trabajando con unos datos que
adjunto y queríamos hacer una selección mediante índices pero nos
deparamos con algún problema.
Por ejemplo si hacemos solamente:
data[data$PESO==76] me da algo como:
> str(data[data$PESO==76,])
'data.frame': 2475 obs. of 10 variables:
$ PUREZA_A: Factor w/ 1 level "pi": 1 NA NA NA NA NA NA NA
2012 May 21
1
Changing selected elements of an array
Hi!
I have a matrix defined on geographical positions (through) row and column
names. I need to change a number of elements in this matrix using the
information of a data.frame containing geographical positions and a number of
variables.
Changing the value of one specific element is easy, but changing on a number
of selected positions seems more difficult. When I use the geographical
2005 Jun 01
2
Different versions, different results ?
Dear all,
I wrote the following batch script on a iMac, and ran it on a linux
mosix cluster.
tu <- read.table("cage.mm5.tags.rna_lib.CAA-CAJ.tu-reshape.table")
tu_reshaped <- t(reshape(tu[1:50,], direction="wide", timevar="tu", idvar=c("rna","lib")))
write.table(tu_reshaped, "cage.mm5.tags.rna_lib.CAA-CAJ.tu-reshaped.table")
2012 Feb 13
2
see NA
Dear All
I want to chose just spacial columns in R. (read table)
data1<- read.table("/home/Documents/data.txt",header=F,sep = "\t", as.is =F)
data.2<-data1[sub.data[,1],]
The dimension of data.2 is correct but my data are transformed NA
head(data.2)
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18
V19 V20 V21 V22 V23 V24
NA <NA> NA NA NA
2013 Apr 07
1
R ecuatia error
Dear all!
I have a problem when I use this equation with R.
mpr <- 843.75*exp(-1.119*pg)
Error in FUN(left, right) : non-numeric argument to binary operator
pg
01 02 03 04 05 06 07 08 09-236 10-63T 11 12 13 14 15 16 17-234 18 19 20
23
1592 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA NA
1593 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
2009 Apr 14
4
cbind
I have a list of numbers with NAs as below:
> A[,1]
[1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[19] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[37] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[55] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[73] NA NA NA 62 78 98
2011 Oct 24
4
Lm function: Error in model.frame.default
Hello,
I am trying to get a linear model of y ~ log(x).
*> lm (y~log(x))*
However, I always get an error report:
/Error in model.frame.default(formula = y ~ log(x), drop.unused.levels =
TRUE) :
variable lengths differ (found for 'log(x)')/
*Here was my y:*
> y
[1] 0.4500000 0.0500000 0.5000000 0.4000000 0.0000000
0.5000000 0.4000000
[8] 0.0500000