content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
# Tested on R 3.1.1 clients on Ubuntu 14.04 Trusty Tahr, # Mac OS X 10.9 Mavericks, and Windows 8.1 connecting to # MADlib 1.6 running in PostgreSQL 9.3.5 on CentOS 6.5. library(RPostgreSQL) db.drv <- PostgreSQL() db.conn <- dbConnect(db.drv, host = "hostname", port = 5432, dbname = "rdb", ...
/book/packt/R.High.Performance.Programming/chapter-09/09-04_in-database_madlib.R
permissive
xenron/sandbox-da-r
R
false
false
838
r
# Tested on R 3.1.1 clients on Ubuntu 14.04 Trusty Tahr, # Mac OS X 10.9 Mavericks, and Windows 8.1 connecting to # MADlib 1.6 running in PostgreSQL 9.3.5 on CentOS 6.5. library(RPostgreSQL) db.drv <- PostgreSQL() db.conn <- dbConnect(db.drv, host = "hostname", port = 5432, dbname = "rdb", ...
library(textreadr) library(dplyr) library(stringr) library(tidytext) library(reshape2) library(ggplot2) library(wordcloud) library(tidyr) library(tm) library(quanteda) data(stop_words) setwd('/Users/user/Desktop/R/Mod B/Project Team') read_data <- read_document(file="survey.txt") junk <- data_frame( word=c("visit"...
/TOKENISATION IN R .R
no_license
mable1996/TOKENIZATION-IN-R-
R
false
false
15,912
r
library(textreadr) library(dplyr) library(stringr) library(tidytext) library(reshape2) library(ggplot2) library(wordcloud) library(tidyr) library(tm) library(quanteda) data(stop_words) setwd('/Users/user/Desktop/R/Mod B/Project Team') read_data <- read_document(file="survey.txt") junk <- data_frame( word=c("visit"...
# Exercise 2: indexing and filtering vectors # Create a vector `first_ten` that has the values 10 through 20 in it (using # the : operator) first_ten <- 10:20 # Create a vector `next_ten` that has the values 21 through 30 in it (using the # seq() function) next_ten <- seq(21, 30) # Create a vector `all_numbers` by...
/Exercise-2.R
no_license
Ali-gogo/Chapter-07-exercises.
R
false
false
1,621
r
# Exercise 2: indexing and filtering vectors # Create a vector `first_ten` that has the values 10 through 20 in it (using # the : operator) first_ten <- 10:20 # Create a vector `next_ten` that has the values 21 through 30 in it (using the # seq() function) next_ten <- seq(21, 30) # Create a vector `all_numbers` by...
rotationMatrixToEP <- function(R){ # From: Computing Euler angles from a rotation matrix by Gregory G. Slabaugh if(R[3, 1] == -1 || R[3, 1] == -1){ o1 <- 0 if(R[3, 1] == -1){ t1 <- pi/2 p1 <- o1 + atan2(R[1, 2], R[1, 3]) }else{ t1 <- -pi/2 p1 <- -o1 + atan2(-R[1, 2], -R[1, 3]) } o2 <- 0 t2...
/R/rotationMatrixToEP.R
no_license
aaronolsen/linkR
R
false
false
641
r
rotationMatrixToEP <- function(R){ # From: Computing Euler angles from a rotation matrix by Gregory G. Slabaugh if(R[3, 1] == -1 || R[3, 1] == -1){ o1 <- 0 if(R[3, 1] == -1){ t1 <- pi/2 p1 <- o1 + atan2(R[1, 2], R[1, 3]) }else{ t1 <- -pi/2 p1 <- -o1 + atan2(-R[1, 2], -R[1, 3]) } o2 <- 0 t2...
#' @title Plot percent spliced-in (PSI) values for mutually exclusive exons (MXE) located on negative strand #' #' @description #' \code{PlotPSI.MXE.Neg} computes percent spliced-in (PSI) at each genomic coordinate for mutually exclusive exons (MXE) located on negative (reverse) strand. #' #' @details #' This function ...
/R/Script_01_4_PlotPSI_MXE_NegativeStrand.R
no_license
wenweixiong/VALERIE
R
false
false
30,384
r
#' @title Plot percent spliced-in (PSI) values for mutually exclusive exons (MXE) located on negative strand #' #' @description #' \code{PlotPSI.MXE.Neg} computes percent spliced-in (PSI) at each genomic coordinate for mutually exclusive exons (MXE) located on negative (reverse) strand. #' #' @details #' This function ...
### Barplot with stacked scatter plot with mean/s.d. ### library(ggplot2) ### Import data ### rdata = read.table(file.choose(), header = TRUE, sep = "\t") ### Data are in long format!!! ### rdata dim(rdata) ### extensive cleanup for plot (run before plot) cleanup = theme(panel.grid.major = element_blank(), ...
/Barplot_w_dots.R
no_license
tschemic/Additional_Scripts
R
false
false
2,922
r
### Barplot with stacked scatter plot with mean/s.d. ### library(ggplot2) ### Import data ### rdata = read.table(file.choose(), header = TRUE, sep = "\t") ### Data are in long format!!! ### rdata dim(rdata) ### extensive cleanup for plot (run before plot) cleanup = theme(panel.grid.major = element_blank(), ...
# Generate time series data based on different generators # Author: Brian Lee Yung Rowe #' @examples #' mygbm <- function(x) gbm(x, 40, .03/1440) #' ps <- rprices(mygbm, obs=100) rprices(process, start, ohlc, volume, ...) %::% Function:.:logical:logical:...:xts rprices(process, start=Sys.Date(), ohlc=FALSE, volume=FAL...
/R/framework.R
no_license
alexsbromberg/fractalrock
R
false
false
6,420
r
# Generate time series data based on different generators # Author: Brian Lee Yung Rowe #' @examples #' mygbm <- function(x) gbm(x, 40, .03/1440) #' ps <- rprices(mygbm, obs=100) rprices(process, start, ohlc, volume, ...) %::% Function:.:logical:logical:...:xts rprices(process, start=Sys.Date(), ohlc=FALSE, volume=FAL...
#' Calculate Cramer's V for categorical variables #' #' Function calculates Cramer's V for two categorical variables based on the table #' function #' #' The function calculates Cramer's V and also returns the associated statistics from #' Chi-Squared test with the null hypothesis of independence of the two variables. ...
/fuzzedpackages/greybox/R/cramer.R
no_license
akhikolla/testpackages
R
false
false
3,350
r
#' Calculate Cramer's V for categorical variables #' #' Function calculates Cramer's V for two categorical variables based on the table #' function #' #' The function calculates Cramer's V and also returns the associated statistics from #' Chi-Squared test with the null hypothesis of independence of the two variables. ...
#### 11-1 미국 주별 강력 범죄율 단계 구분도 작성 #### ## -------------------------------------------------------------------- ## install.packages("ggiraphExtra") # install.packages("maps") # install.packages("stringi") library(ggiraphExtra) library(maps) # USArrests : 1973년 미국 주별 10만명당 강력 범죄율 정보. # - 살인 건, 폭행 건, 도시인구, 강간 건. str(USAr...
/R/Doit_R-master/Script/Part11_Teacher.r
no_license
dico1631/TIL
R
false
false
2,792
r
#### 11-1 미국 주별 강력 범죄율 단계 구분도 작성 #### ## -------------------------------------------------------------------- ## install.packages("ggiraphExtra") # install.packages("maps") # install.packages("stringi") library(ggiraphExtra) library(maps) # USArrests : 1973년 미국 주별 10만명당 강력 범죄율 정보. # - 살인 건, 폭행 건, 도시인구, 강간 건. str(USAr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sedproxy.R \docType{data} \name{stages.key} \alias{stages.key} \title{Description of proxy stages} \format{ A data frame with 13 rows and 6 variables: \tabular{ll}{ \cr \code{stage} \tab proxy stage \cr \code{label} \tab label for pro...
/man/stages.key.Rd
permissive
EarthSystemDiagnostics/sedproxy
R
false
true
769
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sedproxy.R \docType{data} \name{stages.key} \alias{stages.key} \title{Description of proxy stages} \format{ A data frame with 13 rows and 6 variables: \tabular{ll}{ \cr \code{stage} \tab proxy stage \cr \code{label} \tab label for pro...
#' Create `cowplot` label based on a ggplot theme #' #' This is a wrapper around `cowplot::draw_label()` that creates a `ggplot`-based label that inherits formatting from a given theme element. It's more or less been superceded by `ggplot`'s new `plot.title.position` theme argument. #' @param label A string of text for...
/R/themed_label.R
permissive
camille-s/camiller
R
false
false
2,285
r
#' Create `cowplot` label based on a ggplot theme #' #' This is a wrapper around `cowplot::draw_label()` that creates a `ggplot`-based label that inherits formatting from a given theme element. It's more or less been superceded by `ggplot`'s new `plot.title.position` theme argument. #' @param label A string of text for...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmut.edap.cont.R \name{pmut.edap.cont} \alias{pmut.edap.cont} \title{Create Exploratory Visualization for Continuous Feature} \usage{ pmut.edap.cont(datatable, varstring, targetstring, meta = c(50, 4, 0.01, 0.99), qbin = FALSE, pred.df = NU...
/man/pmut.edap.cont.Rd
no_license
chengjunhou/pmut
R
false
true
1,880
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmut.edap.cont.R \name{pmut.edap.cont} \alias{pmut.edap.cont} \title{Create Exploratory Visualization for Continuous Feature} \usage{ pmut.edap.cont(datatable, varstring, targetstring, meta = c(50, 4, 0.01, 0.99), qbin = FALSE, pred.df = NU...
plotData <- read.csv("./data/DataHousehold.csv") temp<-transform(plotData, X=strptime(paste(as.character(plotData$Date),as.character(plotData$Time)), "%d/%m/%Y %H:%M:%S")) png(file="plot2.png") plot(temp$X, temp$Global_active_power, type="l", xlab=" ", ylab="Global Active Power (kilowatts)") dev.off()
/figure/plot2.R
no_license
ebnetera/ExData_Plotting1
R
false
false
305
r
plotData <- read.csv("./data/DataHousehold.csv") temp<-transform(plotData, X=strptime(paste(as.character(plotData$Date),as.character(plotData$Time)), "%d/%m/%Y %H:%M:%S")) png(file="plot2.png") plot(temp$X, temp$Global_active_power, type="l", xlab=" ", ylab="Global Active Power (kilowatts)") dev.off()
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
/r/tests/testthat/test-Table.R
permissive
pitrou/arrow
R
false
false
22,134
r
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
\name{disc.ef} \alias{disc.ef} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Discretization using the method of equal frequencies} \description{ Unsupervised discretization using intervals of equal frequencies } \usage{ disc.ef(data, varcon, k,out=c("symb","num")) } %- maybe also 'u...
/man/disc.ef.Rd
no_license
neslon/dprep
R
false
false
1,106
rd
\name{disc.ef} \alias{disc.ef} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Discretization using the method of equal frequencies} \description{ Unsupervised discretization using intervals of equal frequencies } \usage{ disc.ef(data, varcon, k,out=c("symb","num")) } %- maybe also 'u...
testlist <- list(x1 = numeric(0), x2 = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), y1 = numeric(0), y2 = numeri...
/palm/inst/testfiles/euc_distances/libFuzzer_euc_distances/euc_distances_valgrind_files/1612968615-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
386
r
testlist <- list(x1 = numeric(0), x2 = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), y1 = numeric(0), y2 = numeri...
# This script creates the "Categories.txt" file which is used to add group # membership information to the epigenetic pipeline output. # Set working directory. setwd("C:/Dev/Projects/Epigenetics/EMAP") # Load the appropriate annotation file. VERSION <- "v2" annotationFolder <- file.path("Annotations", VERSION...
/Scripts/BuildCategoryAnnotation.R
no_license
ericfournier2/EMAP
R
false
false
3,357
r
# This script creates the "Categories.txt" file which is used to add group # membership information to the epigenetic pipeline output. # Set working directory. setwd("C:/Dev/Projects/Epigenetics/EMAP") # Load the appropriate annotation file. VERSION <- "v2" annotationFolder <- file.path("Annotations", VERSION...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/offinbest.R \docType{data} \name{offinmeta} \alias{offinmeta} \title{Metadata of Infiltration data of Offin Basin} \format{A data frame with 15 rows and 18 variables: \describe{ \item{ID}{Unique ID of the data} \item{TownName}{Town Name} ...
/man/offinmeta.Rd
no_license
Mactavish11/vadose
R
false
true
978
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/offinbest.R \docType{data} \name{offinmeta} \alias{offinmeta} \title{Metadata of Infiltration data of Offin Basin} \format{A data frame with 15 rows and 18 variables: \describe{ \item{ID}{Unique ID of the data} \item{TownName}{Town Name} ...
# Copyright 2017 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
/R/calc_annual_cumulative_stats.R
permissive
MonkmanMH/fasstr
R
false
false
9,115
r
# Copyright 2017 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/STDEV.R \name{STDEV} \alias{STDEV} \title{Basic STDEV function from excel} \usage{ STDEV( number1, number2 = NA, number3 = NA, number4 = NA, number5 = NA, number6 = NA, number7 = NA, number8 = NA, number9 = NA, number10 = ...
/man/STDEV.Rd
no_license
cran/ExcelFunctionsR
R
false
true
1,325
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/STDEV.R \name{STDEV} \alias{STDEV} \title{Basic STDEV function from excel} \usage{ STDEV( number1, number2 = NA, number3 = NA, number4 = NA, number5 = NA, number6 = NA, number7 = NA, number8 = NA, number9 = NA, number10 = ...
#' Convert a Named Vector to a Data Frame #' #' @param x named vector #' @return data frame with columns \code{name}, containing the names of \code{x} #' and \code{value}, containing the values of \code{x} #' @export #' @examples #' namedVectorToDataFrame(c(a = 1, b = 2, c = 3)) namedVectorToDataFrame <- function(x) ...
/R/namedVectorToDataFrame.R
permissive
KWB-R/kwb.utils
R
false
false
386
r
#' Convert a Named Vector to a Data Frame #' #' @param x named vector #' @return data frame with columns \code{name}, containing the names of \code{x} #' and \code{value}, containing the values of \code{x} #' @export #' @examples #' namedVectorToDataFrame(c(a = 1, b = 2, c = 3)) namedVectorToDataFrame <- function(x) ...
# Call Libraries and Attach Data require(ISLR) require(tree) attach(Carseats) # Visualize Sales hist(Sales) # Create New Dataframe with Custom Variable High <- ifelse(Sales <= 8, "Yes", "No") Carseats <- data.frame(Carseats, High) # Create and examining tree-model tree.carseats <- tree(High~.-Sales, da...
/code/10_Decision Tree.R
no_license
felixschildorfer/Statistical-Learning-in-R
R
false
false
1,090
r
# Call Libraries and Attach Data require(ISLR) require(tree) attach(Carseats) # Visualize Sales hist(Sales) # Create New Dataframe with Custom Variable High <- ifelse(Sales <= 8, "Yes", "No") Carseats <- data.frame(Carseats, High) # Create and examining tree-model tree.carseats <- tree(High~.-Sales, da...
# --- -2 --- -1 --- 0 --- 1 --- 2 --- rm(answer) x <- rnorm(1) if(x > 1){ answer <- "Greater than 1" }else if(x >=-1){ answer<- "Between -1 and 1" }else{ answer<- "Less than -1" }
/Practice Files/IfStatement.R
no_license
avinash-vijayakumar/R-Udemy
R
false
false
194
r
# --- -2 --- -1 --- 0 --- 1 --- 2 --- rm(answer) x <- rnorm(1) if(x > 1){ answer <- "Greater than 1" }else if(x >=-1){ answer<- "Between -1 and 1" }else{ answer<- "Less than -1" }
## plot4.R ## Coursera Data Scientist ## Course 4: Exploratory Data analysis ## Course Project #2 ## Due Sept 7 2014 ## Step 1: Manually download and unzip the data into the working directory. ## Ensure that the "household_power_consumption.txt" file is in the same directory as the plot1.R file. ## Set the working d...
/plot4.R
no_license
DataJay/ExData_Plotting1
R
false
false
2,361
r
## plot4.R ## Coursera Data Scientist ## Course 4: Exploratory Data analysis ## Course Project #2 ## Due Sept 7 2014 ## Step 1: Manually download and unzip the data into the working directory. ## Ensure that the "household_power_consumption.txt" file is in the same directory as the plot1.R file. ## Set the working d...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workspacesweb_operations.R \name{workspacesweb_disassociate_ip_access_settings} \alias{workspacesweb_disassociate_ip_access_settings} \title{Disassociates IP access settings from a web portal} \usage{ workspacesweb_disassociate_ip_access_sett...
/cran/paws.end.user.computing/man/workspacesweb_disassociate_ip_access_settings.Rd
permissive
paws-r/paws
R
false
true
609
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workspacesweb_operations.R \name{workspacesweb_disassociate_ip_access_settings} \alias{workspacesweb_disassociate_ip_access_settings} \title{Disassociates IP access settings from a web portal} \usage{ workspacesweb_disassociate_ip_access_sett...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AGread_Data.R \docType{data} \name{imu_to_check} \alias{imu_to_check} \title{IMU data to check} \format{A data frame with 300 rows and 8 variables: \describe{ \item{file_source_IMU}{The filename of the IMU file} \item{date_proces...
/AGread/man/imu_to_check.Rd
permissive
akhikolla/InformationHouse
R
false
true
998
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AGread_Data.R \docType{data} \name{imu_to_check} \alias{imu_to_check} \title{IMU data to check} \format{A data frame with 300 rows and 8 variables: \describe{ \item{file_source_IMU}{The filename of the IMU file} \item{date_proces...
#NOTE: the Java wrapper for this script first sources CNVPlottingLibrary.R options(error = quote({dump.frames(dumpto = "plotting_dump", to.file = TRUE); q(status = 1)})) # Useful for debugging library(optparse) library(data.table) source('CNVPlottingLibrary.R') option_list = list( make_option(c("--sample_name"...
/bin/PlotDenoisedCopyRatios.R
no_license
Jianhua-Wang/GATK
R
false
false
5,888
r
#NOTE: the Java wrapper for this script first sources CNVPlottingLibrary.R options(error = quote({dump.frames(dumpto = "plotting_dump", to.file = TRUE); q(status = 1)})) # Useful for debugging library(optparse) library(data.table) source('CNVPlottingLibrary.R') option_list = list( make_option(c("--sample_name"...
# library(devtools) # install_github("dgrtwo/broom") # install_github("cran/bstats") # install_github("bdemeshev/rusquant") # install_github("bdemeshev/sophisthse") library(lubridate) library(sandwich) library(lmtest) library(car) library(bstats) library(zoo) library(xts) library(dplyr) library(broom) library(ggplot2)...
/6. Econometrics/6.7. Week 6.R
no_license
sergeymong/R
R
false
false
4,109
r
# library(devtools) # install_github("dgrtwo/broom") # install_github("cran/bstats") # install_github("bdemeshev/rusquant") # install_github("bdemeshev/sophisthse") library(lubridate) library(sandwich) library(lmtest) library(car) library(bstats) library(zoo) library(xts) library(dplyr) library(broom) library(ggplot2)...
library('randomForest') source(paste(Sys.getenv('HOME'), '/.rconfig.R', sep='')) load(paste(githome, '/electricity_logging/statistics/hourly_correction_model.RData', sep='')) # Get args args <- commandArgs(trailingOnly=TRUE) sum_date <- args[1] hour <- args[2] kwh_ch1 <- args[3] kwh_ch2 <- args[4] pdata <- rbind(sum...
/statistics/hourly_correction_predict.R
no_license
guitar1999/electricity_logging
R
false
false
397
r
library('randomForest') source(paste(Sys.getenv('HOME'), '/.rconfig.R', sep='')) load(paste(githome, '/electricity_logging/statistics/hourly_correction_model.RData', sep='')) # Get args args <- commandArgs(trailingOnly=TRUE) sum_date <- args[1] hour <- args[2] kwh_ch1 <- args[3] kwh_ch2 <- args[4] pdata <- rbind(sum...
hpcdata <- read.delim2("household_power_consumption.txt", header = TRUE, sep = ";", na.strings="?") subhpc <- subset(hpcdata, Date=="1/2/2007" | Date=="2/2/2007") subhpc$datetime<-strptime(paste(subhpc$Date,subhpc$Time), "%d/%m/%Y %H:%M:%S") subhpc$Sub_metering_1<-as.numeric(as.character(subhpc$Sub_metering_1)) subhpc$...
/plot3.R
no_license
shekars/ExData_Plotting1
R
false
false
881
r
hpcdata <- read.delim2("household_power_consumption.txt", header = TRUE, sep = ";", na.strings="?") subhpc <- subset(hpcdata, Date=="1/2/2007" | Date=="2/2/2007") subhpc$datetime<-strptime(paste(subhpc$Date,subhpc$Time), "%d/%m/%Y %H:%M:%S") subhpc$Sub_metering_1<-as.numeric(as.character(subhpc$Sub_metering_1)) subhpc$...
\name{rLSloadSemiContData} \alias{rLSloadSemiContData} \title{Load semi-continuous data into a model structure.} \description{ R interface function for LINDO API function \code{LSloadSemiContData}. For more information, please refer to LINDO API User Manual. } \usage{ rLSloadSemiContData(model,nSCVars...
/man/rLSloadSemiContData.Rd
no_license
cran/rLindo
R
false
false
974
rd
\name{rLSloadSemiContData} \alias{rLSloadSemiContData} \title{Load semi-continuous data into a model structure.} \description{ R interface function for LINDO API function \code{LSloadSemiContData}. For more information, please refer to LINDO API User Manual. } \usage{ rLSloadSemiContData(model,nSCVars...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{uy_deptos_grid} \alias{uy_deptos_grid} \title{Uruguay Departments grid} \format{ A data frame with 19 rows and 4 variables: \describe{ \item{name}{name of the "Departamento"} \item{code}{INE code of t...
/man/uy_deptos_grid.Rd
no_license
cran/geouy
R
false
true
761
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{uy_deptos_grid} \alias{uy_deptos_grid} \title{Uruguay Departments grid} \format{ A data frame with 19 rows and 4 variables: \describe{ \item{name}{name of the "Departamento"} \item{code}{INE code of t...
test_that("Paper Example G Stats", { res3 <- small_samptest(c(3,0,0,0,0,0,0)) res2 <- small_samptest(c(2,1,0,0,0,0,0)) res1 <- small_samptest(c(1,1,1,0,0,0,0)) test_stats <- c(11.68,7.86,5.08) res_stats <- c(res3$test_stat,res2$test_stat,res1$test_stat) expect_equal(test_stats,round(res_stats,2)) }) # http...
/tests/testthat/test-exact.R
permissive
tkante/ptools
R
false
false
1,563
r
test_that("Paper Example G Stats", { res3 <- small_samptest(c(3,0,0,0,0,0,0)) res2 <- small_samptest(c(2,1,0,0,0,0,0)) res1 <- small_samptest(c(1,1,1,0,0,0,0)) test_stats <- c(11.68,7.86,5.08) res_stats <- c(res3$test_stat,res2$test_stat,res1$test_stat) expect_equal(test_stats,round(res_stats,2)) }) # http...
library(quantmod) amzn = getSymbols("AMZN",auto.assign=FALSE) sampleTimes = index(amzn) length(grep("^2012",sampleTimes)) table(weekdays(as.Date(sampleTimes[grep("^2012",sampleTimes)],'%Y-%m-%d')))
/HW4.R
no_license
ckatsulis/Getting-and-Cleaning-Data
R
false
false
200
r
library(quantmod) amzn = getSymbols("AMZN",auto.assign=FALSE) sampleTimes = index(amzn) length(grep("^2012",sampleTimes)) table(weekdays(as.Date(sampleTimes[grep("^2012",sampleTimes)],'%Y-%m-%d')))
setwd("/home/brito/salt/JSRepairClass/input/applications/") data <- read.csv("repositories_metrics.csv") hist(data$TotalCommits, main = paste("Histogram for ", nrow(data), "node.js applications"), xlab = "Total number of commits") setwd("/home/brito/salt/JSRepairClass/input/modules/") data <- read.csv("repositories_me...
/core/tools/histogram_from_repository_metrics.r
permissive
nashid/CommitMiner
R
false
false
478
r
setwd("/home/brito/salt/JSRepairClass/input/applications/") data <- read.csv("repositories_metrics.csv") hist(data$TotalCommits, main = paste("Histogram for ", nrow(data), "node.js applications"), xlab = "Total number of commits") setwd("/home/brito/salt/JSRepairClass/input/modules/") data <- read.csv("repositories_me...
library(tidyverse) library(MuMIn) library(caret) library(broom) data("mtcars") index <- sample(1:nrow(mtcars), size = round(nrow(mtcars)/2)) Train <- mtcars[index, ] Test <- mtcars[-index, ] Modelo <- lm(mpg ~ hp + I(hp^2), data = Train) Modelo2 <- lm(mpg ~ hp + I(hp^2) + I(hp^3) + I(hp^4), data = Train) broom...
/Scripts_Clases/Clase1.R
no_license
derek-corcoran-barrios/Curso_multivariado_2020_2
R
false
false
1,369
r
library(tidyverse) library(MuMIn) library(caret) library(broom) data("mtcars") index <- sample(1:nrow(mtcars), size = round(nrow(mtcars)/2)) Train <- mtcars[index, ] Test <- mtcars[-index, ] Modelo <- lm(mpg ~ hp + I(hp^2), data = Train) Modelo2 <- lm(mpg ~ hp + I(hp^2) + I(hp^3) + I(hp^4), data = Train) broom...
trend <- function(year,month,start.year=1958){ #Function to calculate 'trend' vector for time-series: nyear=year-start.year trend=month+nyear*12 trend }
/R/old/trend.r
no_license
bearedo/effdis
R
false
false
161
r
trend <- function(year,month,start.year=1958){ #Function to calculate 'trend' vector for time-series: nyear=year-start.year trend=month+nyear*12 trend }
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_item_index_max_information.R \name{get_item_index_max_information} \alias{get_item_index_max_information} \title{Item index maximum information} \usage{ get_item_index_max_information(available, item_information, estimate, stop_test, al...
/man/get_item_index_max_information.Rd
no_license
Karel-Kroeze/ShadowCAT
R
false
true
2,228
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_item_index_max_information.R \name{get_item_index_max_information} \alias{get_item_index_max_information} \title{Item index maximum information} \usage{ get_item_index_max_information(available, item_information, estimate, stop_test, al...
\name{magnets-package} \Rdversion{1.1} \alias{magnets-package} \alias{magnets} \docType{package} \title{ Numerically Simulate n Micro-spins under the Influence of Temperature & Other External Conditions } \description{ In recent years, micro-magnets systems have arisen much theoretical and experimental interest a...
/man/magnets-package.Rd
no_license
cran/magnets
R
false
false
3,020
rd
\name{magnets-package} \Rdversion{1.1} \alias{magnets-package} \alias{magnets} \docType{package} \title{ Numerically Simulate n Micro-spins under the Influence of Temperature & Other External Conditions } \description{ In recent years, micro-magnets systems have arisen much theoretical and experimental interest a...
# --- Header ------------------------------------------------------------------- # (C) Joachim Gassen 2021, gassen@wiwi.hu-berlin.de # License: MIT. See LICENSE file for details. # # English language shiny app communicating the results of the pricing experiment # --------------------------------------------------------...
/app_results_en.R
permissive
joachim-gassen/shiny_croom_exp
R
false
false
5,904
r
# --- Header ------------------------------------------------------------------- # (C) Joachim Gassen 2021, gassen@wiwi.hu-berlin.de # License: MIT. See LICENSE file for details. # # English language shiny app communicating the results of the pricing experiment # --------------------------------------------------------...
/FactoMineR/R/descfreq.R
no_license
ingted/R-Examples
R
false
false
1,873
r
\name{tickTF-package} \alias{tickTF-package} \alias{tickTF} \docType{package} \title{ \packageTitle{tickTF} } \description{ \packageDescription{tickTF} } \details{ This package contains the data and functions used to describe the infection process of the roe deer fawns by the ticks described by Bariod et al. (in...
/man/tickTF-package.Rd
no_license
ClementCalenge/tickTF
R
false
false
1,056
rd
\name{tickTF-package} \alias{tickTF-package} \alias{tickTF} \docType{package} \title{ \packageTitle{tickTF} } \description{ \packageDescription{tickTF} } \details{ This package contains the data and functions used to describe the infection process of the roe deer fawns by the ticks described by Bariod et al. (in...
test_that("convertFYQToCQ", { expect_equal(convertFYQToCQ(1995, 1), "1994Q4") expect_equal(convertFYQToCQ(1995, 2), "1995Q1") expect_equal(convertFYQToCQ(1995, 3), "1995Q2") expect_equal(convertFYQToCQ(1995, 4), "1995Q3") })
/tests/testthat/test-convertFYQToCQ.R
permissive
pepfar-datim/datimutils
R
false
false
235
r
test_that("convertFYQToCQ", { expect_equal(convertFYQToCQ(1995, 1), "1994Q4") expect_equal(convertFYQToCQ(1995, 2), "1995Q1") expect_equal(convertFYQToCQ(1995, 3), "1995Q2") expect_equal(convertFYQToCQ(1995, 4), "1995Q3") })
## ## 28 Jan 2020 ## ## Details: Test coupons, Inconel 718 Plate 02-Build 01 ## ## ## Find center axis of test coupons using non-linear least squares ## ##------------------------------------------------------------------------------------------------------------------------ library(fields) library(plyr) setwd("C:/U...
/nlsAxis/porosity/nlsPorosityFit.R
no_license
dnychka/Coupons
R
false
false
1,636
r
## ## 28 Jan 2020 ## ## Details: Test coupons, Inconel 718 Plate 02-Build 01 ## ## ## Find center axis of test coupons using non-linear least squares ## ##------------------------------------------------------------------------------------------------------------------------ library(fields) library(plyr) setwd("C:/U...
\name{SCRdesign} \alias{SCRdesign} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Computes an SCR design.%% ~~function to do ... ~~ } \description{ Computes an SCR design given the state-space and number of traps to deploy. Note: the function is experimental. The math has not been checked and t...
/Rpackage/scrbook/man/SCRdesign.Rd
no_license
jaroyle/scrbook
R
false
false
4,115
rd
\name{SCRdesign} \alias{SCRdesign} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Computes an SCR design.%% ~~function to do ... ~~ } \description{ Computes an SCR design given the state-space and number of traps to deploy. Note: the function is experimental. The math has not been checked and t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Line.Transect.R, R/Point.Transect.R \name{plot,Line.Transect,ANY-method} \alias{plot,Line.Transect,ANY-method} \alias{plot,Point.Transect,ANY-method} \title{Plot} \usage{ \S4method{plot}{Line.Transect,ANY}(x, y, ...) \S4method{plot}...
/man/plot.Transect-methods.Rd
no_license
cran/dssd
R
false
true
670
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Line.Transect.R, R/Point.Transect.R \name{plot,Line.Transect,ANY-method} \alias{plot,Line.Transect,ANY-method} \alias{plot,Point.Transect,ANY-method} \title{Plot} \usage{ \S4method{plot}{Line.Transect,ANY}(x, y, ...) \S4method{plot}...
#'@title #'Retrieve data from the sampled logs #' #'@description #'\code{sampled_logs} reads in and parses data from the 1:1000 sampled RequestLogs #'on stat1002. #' #'@param file either the full name of a sampled log file, or the year/month/day of the log file you want, #'provided as YYYYMMDD #' #'@details #'It does w...
/R/sampled_logs.R
permissive
Protonk/WMUtils
R
false
false
2,543
r
#'@title #'Retrieve data from the sampled logs #' #'@description #'\code{sampled_logs} reads in and parses data from the 1:1000 sampled RequestLogs #'on stat1002. #' #'@param file either the full name of a sampled log file, or the year/month/day of the log file you want, #'provided as YYYYMMDD #' #'@details #'It does w...
#! /usr/bin/env Rscript # by caozj # 18 Dec 2017 # 4:11:20 PM # This script converts the RDS data downloaded from hemberg website # into HDF5 format to be used by different methods suppressPackageStartupMessages({ library(rhdf5) library(SingleCellExperiment) library(Seurat) }) source("../../Utilities/dat...
/Datasets/collect/collect_manno_human.R
permissive
JiahuaQu/Cell_BLAST
R
false
false
742
r
#! /usr/bin/env Rscript # by caozj # 18 Dec 2017 # 4:11:20 PM # This script converts the RDS data downloaded from hemberg website # into HDF5 format to be used by different methods suppressPackageStartupMessages({ library(rhdf5) library(SingleCellExperiment) library(Seurat) }) source("../../Utilities/dat...
library(pbdBASE, lib.loc="~/R/lib") library(pbdDMAT, quiet=TRUE,lib.loc="~/R/lib") library(openblasctl) library(pryr) library(pbdIO, quiet=TRUE) library(dmx) openblas_set_num_threads(1) args = commandArgs(trailingOnly = TRUE) init.grid() n_num <- as.numeric(args[1]) p_num <- as.numeric(args[2]) blm <- as.numeric(arg...
/MPI_KRLS/pbd_KRLS3.r
no_license
ikarus702/pbd_KRLS
R
false
false
10,621
r
library(pbdBASE, lib.loc="~/R/lib") library(pbdDMAT, quiet=TRUE,lib.loc="~/R/lib") library(openblasctl) library(pryr) library(pbdIO, quiet=TRUE) library(dmx) openblas_set_num_threads(1) args = commandArgs(trailingOnly = TRUE) init.grid() n_num <- as.numeric(args[1]) p_num <- as.numeric(args[2]) blm <- as.numeric(arg...
\name{coxinterval.control} \alias{coxinterval.control} \title{Control model fit} \description{ Set parameters controlling the model fit. } \usage{ coxinterval.control(eps = 1e-7, iter.max = 5000, coef.typ = 1, coef.max = 10, return.data = FALSE, eps.norm = c("max", "grad"), ...
/man/coxinterval.control.Rd
no_license
aboruvka/coxinterval
R
false
false
5,726
rd
\name{coxinterval.control} \alias{coxinterval.control} \title{Control model fit} \description{ Set parameters controlling the model fit. } \usage{ coxinterval.control(eps = 1e-7, iter.max = 5000, coef.typ = 1, coef.max = 10, return.data = FALSE, eps.norm = c("max", "grad"), ...
#' rredlist - IUCN Red List Client #' #' @section Authentication: #' IUCN requires you to get your own API key, an alphanumeric string that you #' need to send in every request. Get it at #' \url{http://apiv3.iucnredlist.org/api/v3/token}. #' Keep this key private. You can pass the key in to each function via the #' \c...
/R/rredlist-package.R
permissive
jlehtoma/rredlist
R
false
false
2,041
r
#' rredlist - IUCN Red List Client #' #' @section Authentication: #' IUCN requires you to get your own API key, an alphanumeric string that you #' need to send in every request. Get it at #' \url{http://apiv3.iucnredlist.org/api/v3/token}. #' Keep this key private. You can pass the key in to each function via the #' \c...
corr <- function(directory, threshold = 0) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'threshold' is a numeric vector of length 1 indicating the ## number of completely observed observations (on all ## variables) required to compute the correlation bet...
/corr.R
no_license
raypacheco/datasciencecoursera
R
false
false
790
r
corr <- function(directory, threshold = 0) { ## 'directory' is a character vector of length 1 indicating ## the location of the CSV files ## 'threshold' is a numeric vector of length 1 indicating the ## number of completely observed observations (on all ## variables) required to compute the correlation bet...
`mNNinfo2` <- function (n, R, Q) { N <- sum(n) k <- length(n) l <- names(n) EN <- matrix(0, nrow = k, ncol = k) VN <- VarN <- matrix(0, nrow = k * k, ncol = k * k) for (i in 1:k) { for (j in 1:k) { EN[i, j] <- n[i] * (n[j] - (i == j))/(N - 1) } } ...
/R/mNNinfo2.R
no_license
cran/dixon
R
false
false
6,903
r
`mNNinfo2` <- function (n, R, Q) { N <- sum(n) k <- length(n) l <- names(n) EN <- matrix(0, nrow = k, ncol = k) VN <- VarN <- matrix(0, nrow = k * k, ncol = k * k) for (i in 1:k) { for (j in 1:k) { EN[i, j] <- n[i] * (n[j] - (i == j))/(N - 1) } } ...
comments <- list( "325"="Verify lack of growth or loss in HH 2010-20 is reasonable or revise(Known issue)", "505"="HH too high in Rural area, 15,500-16,000 in 2020, 18,500-19,000 in 2030, 22,500-23,000 in 2040(Pierce)", "506"="HH low given inventory of post-2010 MPDs, 11,000-11,500 in 2030, 14,800-15,400 in 2040(Pierce...
/data/comments_mhs_updated.R
no_license
hanase/Rreports
R
false
false
8,377
r
comments <- list( "325"="Verify lack of growth or loss in HH 2010-20 is reasonable or revise(Known issue)", "505"="HH too high in Rural area, 15,500-16,000 in 2020, 18,500-19,000 in 2030, 22,500-23,000 in 2040(Pierce)", "506"="HH low given inventory of post-2010 MPDs, 11,000-11,500 in 2030, 14,800-15,400 in 2040(Pierce...
library(ggplot2) library(ggthemes) library(scales) library(reshape2) # For melt() library(dplyr) pf <- read.csv('pseudo_facebook.tsv', sep = '\t') yo <- read.csv('yogurt.csv') statesInfo <- read.csv('stateData.csv') data('airquality') airquality ##################################################### # 1. LOOKING A...
/5 - Data Munging.R
no_license
macjas/Analytics-with-R
R
false
false
8,353
r
library(ggplot2) library(ggthemes) library(scales) library(reshape2) # For melt() library(dplyr) pf <- read.csv('pseudo_facebook.tsv', sep = '\t') yo <- read.csv('yogurt.csv') statesInfo <- read.csv('stateData.csv') data('airquality') airquality ##################################################### # 1. LOOKING A...
##' @importFrom grid gList ##' @importFrom grid rectGrob ##' @importFrom grid polygonGrob ##' @importFrom grid gpar candleGrob <- function(x, y, color.candle = "orange", color.fire = "red", vp=NULL) { width <- 0.02 height <- 0.2 xx = c(x+.005,x-.01,x+.01,x+.03,x+.015,x+0.005) yy = c(y+.2,y+.23,y+.26,y+...
/R/geom_cake.R
no_license
xtmgah/yyplot
R
false
false
3,948
r
##' @importFrom grid gList ##' @importFrom grid rectGrob ##' @importFrom grid polygonGrob ##' @importFrom grid gpar candleGrob <- function(x, y, color.candle = "orange", color.fire = "red", vp=NULL) { width <- 0.02 height <- 0.2 xx = c(x+.005,x-.01,x+.01,x+.03,x+.015,x+0.005) yy = c(y+.2,y+.23,y+.26,y+...
# modeldb/DatasetService.proto # # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # # The version of the OpenAPI document: version not set # # Generated by: https://openapi-generator.tech #' @docType class #' @title ModeldbGetExperimentRunByDatasetResponse #...
/R/modeldb_get_experiment_run_by_dataset_response.R
no_license
botchkoAI/VertaDatasetService
R
false
false
2,785
r
# modeldb/DatasetService.proto # # No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # # The version of the OpenAPI document: version not set # # Generated by: https://openapi-generator.tech #' @docType class #' @title ModeldbGetExperimentRunByDatasetResponse #...
library(RSQLite) # OPEN DATABASE AND QUERY conn <- dbConnect(RSQLite::SQLite(), dbname="CLData.db") sqlData <- dbGetQuery(conn, "SELECT * FROM cldata") dbDisconnect(conn) # WRITE TO CSV write.csv(sqlData, paste0("CLData_R.csv"), row.names=FALSE) cat("Successfully migrated SQL data to CSV!\n")
/SQL/SQLtoCSV/SQLtoCSV_R.R
no_license
ParfaitG/DATA_MIGRATION
R
false
false
308
r
library(RSQLite) # OPEN DATABASE AND QUERY conn <- dbConnect(RSQLite::SQLite(), dbname="CLData.db") sqlData <- dbGetQuery(conn, "SELECT * FROM cldata") dbDisconnect(conn) # WRITE TO CSV write.csv(sqlData, paste0("CLData_R.csv"), row.names=FALSE) cat("Successfully migrated SQL data to CSV!\n")
#' ISRaD.build builds the database and updates objects in R package #' #' Wrapper function that combines tools for rapid deployment of R package data objects. #' Meant to be used by the maintainers/developers of ISRaD #' #' @param ISRaD_directory directory where the ISRaD package is found #' @param geodata_directory ...
/R/ISRaD.build.R
no_license
olgavinduskova/ISRaD
R
false
false
7,217
r
#' ISRaD.build builds the database and updates objects in R package #' #' Wrapper function that combines tools for rapid deployment of R package data objects. #' Meant to be used by the maintainers/developers of ISRaD #' #' @param ISRaD_directory directory where the ISRaD package is found #' @param geodata_directory ...
\encoding{UTF-8} \docType{methods} \name{seploc} \alias{seploc} \alias{seploc-methods} \alias{seploc,ANY-method} \alias{seploc,genind-method} \alias{seploc,genpop-method} \alias{seploc,genlight-method} \title{ Separate data per locus} \description{ The function \code{seploc} splits an object (\linkS4class{genind}, ...
/man/seploc.Rd
no_license
gtonkinhill/adegenet
R
false
false
2,934
rd
\encoding{UTF-8} \docType{methods} \name{seploc} \alias{seploc} \alias{seploc-methods} \alias{seploc,ANY-method} \alias{seploc,genind-method} \alias{seploc,genpop-method} \alias{seploc,genlight-method} \title{ Separate data per locus} \description{ The function \code{seploc} splits an object (\linkS4class{genind}, ...
#' Get the UID codes from NCBI for taxonomic names. #' #' Retrieve the Unique Identifier (UID) of a taxon from NCBI taxonomy browser. #' #' @export #' @param sciname character; scientific name. #' @param ask logical; should get_uid be run in interactive mode? If TRUE and #' more than one TSN is found for the species, t...
/R/get_uid.R
permissive
fozy81/taxize
R
false
false
15,120
r
#' Get the UID codes from NCBI for taxonomic names. #' #' Retrieve the Unique Identifier (UID) of a taxon from NCBI taxonomy browser. #' #' @export #' @param sciname character; scientific name. #' @param ask logical; should get_uid be run in interactive mode? If TRUE and #' more than one TSN is found for the species, t...
# Read Data Pow_Data<-read.delim('household_power_consumption.txt',header = TRUE,sep=";", stringsAsFactors=FALSE, dec=".") #head(Pow_Data) #subset Data to for 1st 2 days in Feb 2007 New_Data <- Pow_Data[Pow_Data$Date %in% c("1/2/2007","2/2/2007"),] #combine Date and Time New_Data$DateTime <- strptime(paste(Ne...
/plot3.R
no_license
dheeraj13/ExData_Plotting1
R
false
false
1,124
r
# Read Data Pow_Data<-read.delim('household_power_consumption.txt',header = TRUE,sep=";", stringsAsFactors=FALSE, dec=".") #head(Pow_Data) #subset Data to for 1st 2 days in Feb 2007 New_Data <- Pow_Data[Pow_Data$Date %in% c("1/2/2007","2/2/2007"),] #combine Date and Time New_Data$DateTime <- strptime(paste(Ne...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lpca.R \name{lpca} \alias{lpca} \title{Perform local PCA on each cluster of the data} \usage{ lpca(indicator, X, d) } \arguments{ \item{X}{Data.} \item{d}{intrinsic dimension} \item{indicatr}{cluster membership or number of clusters for pam...
/man/lpca.Rd
no_license
Yanhao29/GeoRatio
R
false
true
2,520
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lpca.R \name{lpca} \alias{lpca} \title{Perform local PCA on each cluster of the data} \usage{ lpca(indicator, X, d) } \arguments{ \item{X}{Data.} \item{d}{intrinsic dimension} \item{indicatr}{cluster membership or number of clusters for pam...
data(nhl) fit<-survfit(Surv(time,status)~1,data=nhl) plotbands(fit)
/kmconfband/demo/nhldemo.R
no_license
ingted/R-Examples
R
false
false
70
r
data(nhl) fit<-survfit(Surv(time,status)~1,data=nhl) plotbands(fit)
# Unit 4 - "Judge, Jury, and Classifier" Lecture # VIDEO 4 # Read in the data stevens = read.csv("stevens.csv") str(stevens) # Split the data library(caTools) set.seed(3000) spl = sample.split(stevens$Reverse, SplitRatio = 0.7) Train = subset(stevens, spl==TRUE) Test = subset(stevens, spl==FALSE) # Install rpart l...
/Unit4_SupremeCourt.R
no_license
wuthmone/The-Analytics-Edge
R
false
false
2,745
r
# Unit 4 - "Judge, Jury, and Classifier" Lecture # VIDEO 4 # Read in the data stevens = read.csv("stevens.csv") str(stevens) # Split the data library(caTools) set.seed(3000) spl = sample.split(stevens$Reverse, SplitRatio = 0.7) Train = subset(stevens, spl==TRUE) Test = subset(stevens, spl==FALSE) # Install rpart l...
## ------------------------------------------------------------------------- ## ## function 'applyCoeffs': ## ------------------------------------------------------------------------- ## test_that(desc="testApplyCoeffs", code={ x <- matrix(rnorm(10), nrow=2, ncol=5) eSet <- Biobase::ExpressionSet(assayData=x) no...
/tests/testthat/test_applyCoeffs.R
no_license
andreaschrader/TPP
R
false
false
531
r
## ------------------------------------------------------------------------- ## ## function 'applyCoeffs': ## ------------------------------------------------------------------------- ## test_that(desc="testApplyCoeffs", code={ x <- matrix(rnorm(10), nrow=2, ncol=5) eSet <- Biobase::ExpressionSet(assayData=x) no...
#' Create a page to utilise Groundworks grids #' #' Add detail here #' #' @param ... Elements to include within the page #' @rdname gwfluidPage #' @export gwfluidPage <- function(...){ gwLIBS(...) } #' @rdname gwfluidPage #' @param class additional class definitions to add. #' @export gwfluidRow <- function(..., cla...
/R/gw-layout.R
no_license
arturochian/shinyGWorks
R
false
false
1,636
r
#' Create a page to utilise Groundworks grids #' #' Add detail here #' #' @param ... Elements to include within the page #' @rdname gwfluidPage #' @export gwfluidPage <- function(...){ gwLIBS(...) } #' @rdname gwfluidPage #' @param class additional class definitions to add. #' @export gwfluidRow <- function(..., cla...
/R_기초프로그래밍_회귀분석/02_데이터형태(170717_18).R
permissive
heechulk/Data_science_school_with_R
R
false
false
9,465
r
#read in a vector of character strings of parks visited #output dataset with vector added 1 for visited, 0 for not agrep_vec_sapply<-function(vec, mdtol, lookup) { agm<-sapply(vec, FUN=function(x) agrep(x, lookup, max.distance = mdtol), simplify = TRUE) agml<-sapply(agm, length) md<-unlist(agm[which(agml==1)]) ...
/parkstrmatch.R
no_license
sestaszak/FindYourPark
R
false
false
4,182
r
#read in a vector of character strings of parks visited #output dataset with vector added 1 for visited, 0 for not agrep_vec_sapply<-function(vec, mdtol, lookup) { agm<-sapply(vec, FUN=function(x) agrep(x, lookup, max.distance = mdtol), simplify = TRUE) agml<-sapply(agm, length) md<-unlist(agm[which(agml==1)]) ...
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shinydashboard) library(mvtnorm) library(scatterplot3d) library(ellipse) library(plot3D) BOUND1<-5 BOUND2<-5 ui <- dashboardPage( dashboard...
/inst/shiny/condpro.R
no_license
REXCHE/gbcode
R
false
false
7,376
r
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shinydashboard) library(mvtnorm) library(scatterplot3d) library(ellipse) library(plot3D) BOUND1<-5 BOUND2<-5 ui <- dashboardPage( dashboard...
############################### # # # TELSTRA TELECOMMUNICATIONS # # # ############################### # ASSUMPTION: The required data files are downloaded from competition site and made available locally. # COMPETITION SITE URL: https://www.kaggle.com/c/...
/Telstra/3-RandomForest.R
no_license
socratesk/kaggle
R
false
false
4,965
r
############################### # # # TELSTRA TELECOMMUNICATIONS # # # ############################### # ASSUMPTION: The required data files are downloaded from competition site and made available locally. # COMPETITION SITE URL: https://www.kaggle.com/c/...
library(tidyverse) library(gapminder) # paired programming # write the gapminder data set to a CSV write_csv(gapminder, './gapminder.csv') # the dot adds the current working directory! So tidy View(gapminder) # look at the data set like a spreadsheet gapminder_sum <- gapminder %>% group_by(continent) %>% su...
/cm011.R
no_license
HJMcSorley/STAT545-participation
R
false
false
2,272
r
library(tidyverse) library(gapminder) # paired programming # write the gapminder data set to a CSV write_csv(gapminder, './gapminder.csv') # the dot adds the current working directory! So tidy View(gapminder) # look at the data set like a spreadsheet gapminder_sum <- gapminder %>% group_by(continent) %>% su...
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(countrycode) library(plotly) library(dplyr) library(tidyr) source("PopData.R") ...
/server.R
no_license
ez3804/Life_Expectancy
R
false
false
1,631
r
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(countrycode) library(plotly) library(dplyr) library(tidyr) source("PopData.R") ...
args <- commandArgs(TRUE) library("methylKit") saveRDS(args, "~/arg.RDS") output <- args[1] treatment <- args[2] mincov <- args[3] input <- args[4:length(args)] print(output) print(class(input)) #------------------------------------------------------------------- #' Combine multiple methylRaw objects into a...
/Scripts/methCall_merge.R
no_license
katwre/makeWGBSnake
R
false
false
2,295
r
args <- commandArgs(TRUE) library("methylKit") saveRDS(args, "~/arg.RDS") output <- args[1] treatment <- args[2] mincov <- args[3] input <- args[4:length(args)] print(output) print(class(input)) #------------------------------------------------------------------- #' Combine multiple methylRaw objects into a...
#visualize reversal library(pheatmap) library(dplyr) library("gplots") library("ggplot2") library("RColorBrewer") lincs_drug_prediction = read.csv(paste(outputFolder, "/all_lincs_score.csv", sep=""),stringsAsFactors = F) dz_gene_ids = read.csv(paste(outputFolder, "/dz_sig_used.csv", sep=""),stringsAsFactors = F) dz_s...
/Code/deprecatedfor_v0.1/visualize_drug_hits.R
no_license
metabdel/octad_desktop
R
false
false
3,987
r
#visualize reversal library(pheatmap) library(dplyr) library("gplots") library("ggplot2") library("RColorBrewer") lincs_drug_prediction = read.csv(paste(outputFolder, "/all_lincs_score.csv", sep=""),stringsAsFactors = F) dz_gene_ids = read.csv(paste(outputFolder, "/dz_sig_used.csv", sep=""),stringsAsFactors = F) dz_s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/susie_ss.R \name{susie_z} \alias{susie_z} \title{Summary statistics version of SuSiE on z scores and correlation (or covariance) matrix.} \usage{ susie_z(z, R, r_tol = 1e-08, L = 10, estimate_residual_variance = TRUE, optimize_option = c("u...
/man/susie_z.Rd
permissive
KaiqianZhang/susieR
R
false
true
1,621
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/susie_ss.R \name{susie_z} \alias{susie_z} \title{Summary statistics version of SuSiE on z scores and correlation (or covariance) matrix.} \usage{ susie_z(z, R, r_tol = 1e-08, L = 10, estimate_residual_variance = TRUE, optimize_option = c("u...
library(askpass) ### Name: askpass ### Title: Password Prompt Utility ### Aliases: askpass ### ** Examples ## No test: # Prompt user for passwd pw <- askpass("Please enter your password") ## End(No test)
/data/genthat_extracted_code/askpass/examples/askpass.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
212
r
library(askpass) ### Name: askpass ### Title: Password Prompt Utility ### Aliases: askpass ### ** Examples ## No test: # Prompt user for passwd pw <- askpass("Please enter your password") ## End(No test)
uniqueEl <- function(arg1) { ##computes the number of unique elements in a pair of sets, for all pairs of columns in a matrix ##George Crowley if(!is.matrix(arg1)){ stop("input argument is not a matrix") } n = ncol(arg1) unique.mat <- matrix(,ncol= n, nrow = n) for (i in 1:n){ for (j in 1:n) { ...
/uniqueEl.R
no_license
NolanLabNYU/PEDF-a-pleiotropic
R
false
false
448
r
uniqueEl <- function(arg1) { ##computes the number of unique elements in a pair of sets, for all pairs of columns in a matrix ##George Crowley if(!is.matrix(arg1)){ stop("input argument is not a matrix") } n = ncol(arg1) unique.mat <- matrix(,ncol= n, nrow = n) for (i in 1:n){ for (j in 1:n) { ...
library(argparse) library(monocle) library(stringr) library(dplyr) library(Matrix) library(tidyr) source("custom_monocle_da_functions.R") get_gene_vs_gRNAgroup_1Mb_DE <- function(gRNA_group, cds_obj, gene_gRNAgroup_pair_table){ genes_to_test <- subset(gene_gRNAgroup_pair_table, gRNAgroup == gRNA_group) #p...
/get_deg.pilot.R
no_license
shendurelab/tafka-crisprQTL
R
false
false
4,165
r
library(argparse) library(monocle) library(stringr) library(dplyr) library(Matrix) library(tidyr) source("custom_monocle_da_functions.R") get_gene_vs_gRNAgroup_1Mb_DE <- function(gRNA_group, cds_obj, gene_gRNAgroup_pair_table){ genes_to_test <- subset(gene_gRNAgroup_pair_table, gRNAgroup == gRNA_group) #p...
(A <- matrix(1:6,nrow=2,ncol=3)) # nrow,ncolは省略可 (B <- rbind(c(2,3,5),c(7,11,13))) # 行ベクトルを連結 (C <- cbind(c(0,0),c(0,1),c(1,0))) # 列ベクトルを連結 A + B - C
/RFiles/matrix-sum2.R
no_license
marco-tn/StaticticsBasic
R
false
false
189
r
(A <- matrix(1:6,nrow=2,ncol=3)) # nrow,ncolは省略可 (B <- rbind(c(2,3,5),c(7,11,13))) # 行ベクトルを連結 (C <- cbind(c(0,0),c(0,1),c(1,0))) # 列ベクトルを連結 A + B - C
context("Test memo structure") test_that("We can warn on an invalid COP year", { d <- list() d$info$cop_year <- "1999" expect_warning(d2 <- memoStructure(d, d2_session = training)) expect_null(d2$memo$structure) expect_identical(d, d2) }) with_mock_api({ test_that("We can create a memo structure", { d...
/tests/testthat/test-memo-structure.R
permissive
jason-p-pickering/datapackr
R
false
false
1,442
r
context("Test memo structure") test_that("We can warn on an invalid COP year", { d <- list() d$info$cop_year <- "1999" expect_warning(d2 <- memoStructure(d, d2_session = training)) expect_null(d2$memo$structure) expect_identical(d, d2) }) with_mock_api({ test_that("We can create a memo structure", { d...
runlengthencoding <- function(x) { splitx <- unlist(strsplit(input, "")) rlex <- rle(splitx) paste(with(rlex, as.vector(rbind(lengths, values))), collapse="") } input <- "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW" runlengthencoding(input)
/Programming Language Detection/Experiment-2/Dataset/Train/R/run-length-encoding-1.r
no_license
dlaststark/machine-learning-projects
R
false
false
275
r
runlengthencoding <- function(x) { splitx <- unlist(strsplit(input, "")) rlex <- rle(splitx) paste(with(rlex, as.vector(rbind(lengths, values))), collapse="") } input <- "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW" runlengthencoding(input)
# Copyright 2018 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
/R/SpeciesMapRemap.R
permissive
rjdejong14/SIndexR
R
false
false
2,596
r
# Copyright 2018 Province of British Columbia # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
# sidebar ----------------------------------------------------------------- sidebar <- dashboardSidebar( sidebarMenu( menuItem( "Monitoring", tabName = "monitoring", icon = icon("line-chart") ), menuItem( "Removal Rate Tuning", tabName = "tuning", icon = icon("...
/R/phm_dashboard2/ui.R
no_license
phm16/cdm_prediction
R
false
false
3,762
r
# sidebar ----------------------------------------------------------------- sidebar <- dashboardSidebar( sidebarMenu( menuItem( "Monitoring", tabName = "monitoring", icon = icon("line-chart") ), menuItem( "Removal Rate Tuning", tabName = "tuning", icon = icon("...
#loads data into tibble variable hpc source('./LoadHouseholdPowerConsumptionData.R') plot1 <- function(data = NULL) { if(is.null(data)) { data <- load_data() } # Open Png device png(filename = "plot1.png", width = 480, height = 480, units = "px") with(dat...
/plot1.R
no_license
jb1t/ExData_Plotting1
R
false
false
547
r
#loads data into tibble variable hpc source('./LoadHouseholdPowerConsumptionData.R') plot1 <- function(data = NULL) { if(is.null(data)) { data <- load_data() } # Open Png device png(filename = "plot1.png", width = 480, height = 480, units = "px") with(dat...
#' @importFrom dplyr arrange #' @importFrom dplyr do #' @importFrom dplyr filter #' @importFrom dplyr group_by #' @importFrom dplyr select #' @importFrom dplyr summarise #' @importFrom dplyr n #' @importFrom dplyr mutate #' @importFrom data.table data.table #' @importFrom ggplot2 aes #' @importFrom ggplot2 ae...
/R/firstlib.R
no_license
adamsorbie/microbiomeutilities
R
false
false
6,564
r
#' @importFrom dplyr arrange #' @importFrom dplyr do #' @importFrom dplyr filter #' @importFrom dplyr group_by #' @importFrom dplyr select #' @importFrom dplyr summarise #' @importFrom dplyr n #' @importFrom dplyr mutate #' @importFrom data.table data.table #' @importFrom ggplot2 aes #' @importFrom ggplot2 ae...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/flags.R \name{flags} \alias{flags} \alias{flag_numeric} \alias{flag_integer} \alias{flag_boolean} \alias{flag_string} \title{Flags for a training run} \usage{ flags( ..., config = Sys.getenv("R_CONFIG_ACTIVE", unset = "default"), file =...
/man/flags.Rd
no_license
cran/tfruns
R
false
true
2,257
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/flags.R \name{flags} \alias{flags} \alias{flag_numeric} \alias{flag_integer} \alias{flag_boolean} \alias{flag_string} \title{Flags for a training run} \usage{ flags( ..., config = Sys.getenv("R_CONFIG_ACTIVE", unset = "default"), file =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generics.R, R/WindowSpec.R \name{orderBy} \alias{orderBy} \alias{orderBy,WindowSpec,character-method} \alias{orderBy,WindowSpec,Column-method} \title{Ordering Columns in a WindowSpec} \usage{ orderBy(x, col, ...) \S4method{orderBy}{WindowSpe...
/man/orderBy.Rd
no_license
cran/SparkR
R
false
true
1,016
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/generics.R, R/WindowSpec.R \name{orderBy} \alias{orderBy} \alias{orderBy,WindowSpec,character-method} \alias{orderBy,WindowSpec,Column-method} \title{Ordering Columns in a WindowSpec} \usage{ orderBy(x, col, ...) \S4method{orderBy}{WindowSpe...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nest_by.R \name{nest_by.} \alias{nest_by.} \title{Nest data.tables} \usage{ nest_by.(.df, ..., .key = "data", .keep = FALSE) } \arguments{ \item{.df}{A data.frame or data.table} \item{...}{Columns to group by. If empty nests the entire data....
/man/nest_by..Rd
no_license
cran/tidytable
R
false
true
872
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nest_by.R \name{nest_by.} \alias{nest_by.} \title{Nest data.tables} \usage{ nest_by.(.df, ..., .key = "data", .keep = FALSE) } \arguments{ \item{.df}{A data.frame or data.table} \item{...}{Columns to group by. If empty nests the entire data....
library(bigstatsr) library(testthat) spmat0 <- Matrix::rsparsematrix(1000, 1000, 0.01, symmetric = TRUE) X <- as_SFBM(spmat0) spmat <- as(spmat0, "dgCMatrix") X2 <- as_SFBM(spmat) expect_identical(readBin(X$sbk, what = 1, n = 1e6), readBin(X2$sbk, what = 1, n = 1e6)) expect_equal(X$p, spmat@p) col_co...
/tmp-tests/test-write-sym2.R
no_license
privefl/bigsparser
R
false
false
405
r
library(bigstatsr) library(testthat) spmat0 <- Matrix::rsparsematrix(1000, 1000, 0.01, symmetric = TRUE) X <- as_SFBM(spmat0) spmat <- as(spmat0, "dgCMatrix") X2 <- as_SFBM(spmat) expect_identical(readBin(X$sbk, what = 1, n = 1e6), readBin(X2$sbk, what = 1, n = 1e6)) expect_equal(X$p, spmat@p) col_co...
library(igraph) h<-0 for(i in 1:200){ g<-barabasi.game(1000,directed=FALSE) if(is.connected(g)) h<-h+1} h/200
/EE232HW1/2b_connected.R
no_license
realmichaelzyy/UCLA_EE232_Network-Graph-Flow
R
false
false
120
r
library(igraph) h<-0 for(i in 1:200){ g<-barabasi.game(1000,directed=FALSE) if(is.connected(g)) h<-h+1} h/200
#!/usr/bin/env Rscript library("devtools") library (ggplot2) require(gtools) library(plyr) #library (data.table) #require(ggseqlogo) setwd("/media/nikolai/DATADRIVE1/BioProjects/TAL_generator/swapsams/") list.files(pattern=".txt$") # use the pattern argument to define a common pattern for import files with regex. He...
/R_analysis/oldTALEscripts/postgraph.R
no_license
genome-traffic/ZFN_analysis
R
false
false
8,413
r
#!/usr/bin/env Rscript library("devtools") library (ggplot2) require(gtools) library(plyr) #library (data.table) #require(ggseqlogo) setwd("/media/nikolai/DATADRIVE1/BioProjects/TAL_generator/swapsams/") list.files(pattern=".txt$") # use the pattern argument to define a common pattern for import files with regex. He...
#set working directory and important list of relevant participants setwd("/Users/abbiepopa/Documents/Lab/DPTB/Cortisol Analysis/cortdata from Elliot/Working") Participants<-read.csv("PartList_DPTB.csv", na.strings=".") #import reaction time data for TD participants RTTD<-read.csv("DPTB_RT_9-17-14_TDKoralyOut.csv",na.s...
/Cort Follow-Up - ChangeInCort.R
permissive
abbiepopa/DPTB_Cortisol
R
false
false
22,090
r
#set working directory and important list of relevant participants setwd("/Users/abbiepopa/Documents/Lab/DPTB/Cortisol Analysis/cortdata from Elliot/Working") Participants<-read.csv("PartList_DPTB.csv", na.strings=".") #import reaction time data for TD participants RTTD<-read.csv("DPTB_RT_9-17-14_TDKoralyOut.csv",na.s...
# HW2: Generate patterned matrix # # In this exercise, you will write functions to create matrices with indicated patterns. # Hint: You can create a zero matrix with required dimension first, then alter the matrix. # # 1. Write a function `matrix_1(d)` to return a d dimensional square matrix with following pattern: # ...
/HW2/Patterned Matrix.R
no_license
lsjhome/GR5206
R
false
false
1,720
r
# HW2: Generate patterned matrix # # In this exercise, you will write functions to create matrices with indicated patterns. # Hint: You can create a zero matrix with required dimension first, then alter the matrix. # # 1. Write a function `matrix_1(d)` to return a d dimensional square matrix with following pattern: # ...
require(xgboost) require(methods) library(data.table) library(plyr) library(Hmisc) library(lattice) require(gridExtra) library(fastfurious) library(parallel) ### FUNCS cluster_by = function(predictor.train,predictor.test,num_bids = 8,verbose=T) { require(Hmisc) ## clustering by quantity if (verbose) { ...
/competitions/caterpillar-tube-pricing/Predict_2_Cluster_Qty_Ensemble_ClusterSelect_Tune_All_Models.R
permissive
fxcebx/fast-furious
R
false
false
13,210
r
require(xgboost) require(methods) library(data.table) library(plyr) library(Hmisc) library(lattice) require(gridExtra) library(fastfurious) library(parallel) ### FUNCS cluster_by = function(predictor.train,predictor.test,num_bids = 8,verbose=T) { require(Hmisc) ## clustering by quantity if (verbose) { ...
library(tidyr) library(ggplot2) library(ggrepel) library(cowplot) library(scales) library(ggpubr) library(Category) library(GSEABase) library(GOstats) library(org.Hs.eg.db) library(knitr) library(limma) library(grid) library(tidyverse) library(ggsignif) library(ggtext) library(glue) library(RColorBrewer) library(MASS) ...
/figure4.R
no_license
paupuigdevall/somaticBurdenNeuro2022
R
false
false
24,521
r
library(tidyr) library(ggplot2) library(ggrepel) library(cowplot) library(scales) library(ggpubr) library(Category) library(GSEABase) library(GOstats) library(org.Hs.eg.db) library(knitr) library(limma) library(grid) library(tidyverse) library(ggsignif) library(ggtext) library(glue) library(RColorBrewer) library(MASS) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BayesFunc.R \name{chains.plotOwn} \alias{chains.plotOwn} \alias{mixchains.Own} \title{Plots to assess the mixing of the Chains} \usage{ chains.plotOwn(data, vline.red = min(data$iter), post.mean.green = apply(data, 2, mean), ..., title = ...
/man/ggplotbayesfuns.Rd
no_license
proto4426/PissoortThesis
R
false
true
2,061
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/BayesFunc.R \name{chains.plotOwn} \alias{chains.plotOwn} \alias{mixchains.Own} \title{Plots to assess the mixing of the Chains} \usage{ chains.plotOwn(data, vline.red = min(data$iter), post.mean.green = apply(data, 2, mean), ..., title = ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils_global.R \name{\%>\%} \alias{\%>\%} \title{Pipe operator} \usage{ lhs \%>\% rhs } \arguments{ \item{lhs}{A value or the magrittr placeholder.} \item{rhs}{A function call using the magrittr semantics.} } \value{ The result of calling \c...
/man/pipe.Rd
permissive
asshah4/tardis
R
false
true
434
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils_global.R \name{\%>\%} \alias{\%>\%} \title{Pipe operator} \usage{ lhs \%>\% rhs } \arguments{ \item{lhs}{A value or the magrittr placeholder.} \item{rhs}{A function call using the magrittr semantics.} } \value{ The result of calling \c...
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # ui <- fluidPage( titlePanel("Harp seals as indicators of Arctic climate change"), br(), p("In March 2019 scientists from the ", a("Sea Mammal...
/ui.R
no_license
jamesgrecian/harpMap
R
false
false
1,728
r
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # ui <- fluidPage( titlePanel("Harp seals as indicators of Arctic climate change"), br(), p("In March 2019 scientists from the ", a("Sea Mammal...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/multivariance-functions.R \name{m.multivariance} \alias{m.multivariance} \title{m distance multivariance} \usage{ m.multivariance( x, vec = NA, m = 2, Nscale = TRUE, Escale = TRUE, squared = TRUE, ... ) } \arguments{ \item{x}{ei...
/fuzzedpackages/multivariance/man/m.multivariance.Rd
no_license
akhikolla/testpackages
R
false
true
3,274
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/multivariance-functions.R \name{m.multivariance} \alias{m.multivariance} \title{m distance multivariance} \usage{ m.multivariance( x, vec = NA, m = 2, Nscale = TRUE, Escale = TRUE, squared = TRUE, ... ) } \arguments{ \item{x}{ei...