Skip to content

Commit 6502719

Browse files
committed
NO table label
1 parent 5e14c60 commit 6502719

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/oppsumtabell.R

+4
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,11 @@ oppsumtabell <- function(dataset,variables=NULL,variable=NULL,export=NULL,norsk=
164164
sumtab.df <- as.data.frame(sumtab)
165165
sumtab.df <- cbind(stats,sumtab.df)
166166
rownames(sumtab.df) <- NULL
167+
if(isTRUE(norsk)){
168+
colnames(sumtab.df) <- c("Variabel",variables)
169+
}else{
167170
colnames(sumtab.df) <- c("Variable",variables)
171+
}
168172

169173
# Regular export
170174
if(export==T){

0 commit comments

Comments
 (0)