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
\name{write.mpcross} \alias{write.mpcross} \alias{write2cross} \alias{write2happy} \title{Output mpcross objects to other file formats} \usage{ write2cross(object, filestem, chr, ...) write2happy(object, filestem, chr, ...) write.mpcross(object, filestem="mp", chr, format=c("qtl", "happy"), ...) } \arguments{...
/man/mpMap-output.Rd
no_license
JulongWei/mpMap
R
false
false
1,203
rd
\name{write.mpcross} \alias{write.mpcross} \alias{write2cross} \alias{write2happy} \title{Output mpcross objects to other file formats} \usage{ write2cross(object, filestem, chr, ...) write2happy(object, filestem, chr, ...) write.mpcross(object, filestem="mp", chr, format=c("qtl", "happy"), ...) } \arguments{...
#' Colour related aesthetics: colour, fill, and alpha #' #' These aesthetics parameters change the colour (`colour` and `fill`) and the #' opacity (`alpha`) of geom elements on a plot. Almost every geom has either #' colour or fill (or both), as well as can have their alpha modified. #' Modifying colour on a plot ...
/R/aes-colour-fill-alpha.R
no_license
cran/ggplot2
R
false
false
4,161
r
#' Colour related aesthetics: colour, fill, and alpha #' #' These aesthetics parameters change the colour (`colour` and `fill`) and the #' opacity (`alpha`) of geom elements on a plot. Almost every geom has either #' colour or fill (or both), as well as can have their alpha modified. #' Modifying colour on a plot ...
dataq3 <- "HAR.zip" if (!file.exists(dataq3)) { url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(url,destfile = dataq3) unzip(dataq3, exdir= getwd()) unlink(dataq3) } if (!require("data.table")) { install.packages("data.table") } if (!...
/run_analysis.R
no_license
cristiansolis29/Getting-and-Cleaning-Data-Course-Project
R
false
false
2,490
r
dataq3 <- "HAR.zip" if (!file.exists(dataq3)) { url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(url,destfile = dataq3) unzip(dataq3, exdir= getwd()) unlink(dataq3) } if (!require("data.table")) { install.packages("data.table") } if (!...
library(shiny) library(plotly) library(DT) shinyUI(fluidPage( titlePanel("MIVF Lipidomics Visualisation"), fluidRow( column(4, wellPanel( h4(em("Visualisation options:")), selectInput("plot_type", label = "Plot type:", choices = list("Static" ...
/lipidomics_vis/ui.R
no_license
jessicachung/mivf_shiny_apps
R
false
false
2,962
r
library(shiny) library(plotly) library(DT) shinyUI(fluidPage( titlePanel("MIVF Lipidomics Visualisation"), fluidRow( column(4, wellPanel( h4(em("Visualisation options:")), selectInput("plot_type", label = "Plot type:", choices = list("Static" ...
########################## ####Cleanup#### detach(data) rm(list=ls(all=TRUE)) par(mfrow=c(1,1)) ################### ################### library(meteR) #devtools::install_github('ajrominger/socorro') #library(socorro) ## load data setwd("~/Desktop/R_scripts/Restinga/R_inputs") res2015<- read.csv("Restinga_2...
/a_Restinga_load_clean_data.R
permissive
iskanderun/Restinga
R
false
false
901
r
########################## ####Cleanup#### detach(data) rm(list=ls(all=TRUE)) par(mfrow=c(1,1)) ################### ################### library(meteR) #devtools::install_github('ajrominger/socorro') #library(socorro) ## load data setwd("~/Desktop/R_scripts/Restinga/R_inputs") res2015<- read.csv("Restinga_2...
##' @rdname groupClade-methods ##' @exportMethod groupClade setMethod("groupClade", signature(object="beast"), function(object, node, group_name="group") { groupClade_(object, node, group_name) }) ##' @rdname groupClade-methods ##' @exportMethod groupClade setMethod("groupClade", sign...
/R/method-groupClade.R
no_license
yaohuan23/ggtree
R
false
false
2,790
r
##' @rdname groupClade-methods ##' @exportMethod groupClade setMethod("groupClade", signature(object="beast"), function(object, node, group_name="group") { groupClade_(object, node, group_name) }) ##' @rdname groupClade-methods ##' @exportMethod groupClade setMethod("groupClade", sign...
library(here) here::here("Course4week1.R") setwd("C:\\Users\\SUN\\Documents\\R Studio Scripts\\") NewData <- read.delim("C:\\Users\\SUN\\Documents\\R Studio Scripts\\Files Necessary\\Course4week1\\household_power_consumption.txt", header = T,sep = ";", dec = ".") NewData <- read.delim("Assignment 4 week 1/household...
/plot3.r
no_license
ChanX21/Exploratory-Data-Analysis
R
false
false
1,103
r
library(here) here::here("Course4week1.R") setwd("C:\\Users\\SUN\\Documents\\R Studio Scripts\\") NewData <- read.delim("C:\\Users\\SUN\\Documents\\R Studio Scripts\\Files Necessary\\Course4week1\\household_power_consumption.txt", header = T,sep = ";", dec = ".") NewData <- read.delim("Assignment 4 week 1/household...
# R script for validating the conditional outcome model #7425786 setwd("~/scratch/ThresholdsTargetTrial") library(dplyr) library(BART) library(tidyr) library(precrec) library(doParallel) # iterations to average over iter = 5 # colours c_light <- c("#DCBCBC") c_light_highlight <- c("#C79999") c_mid <- c("#B97C7C") c...
/ConditionalOutcomeModel/amd_outcome_model_validate.R
no_license
cjyarnell/TargetTrial_ThresholdsForIMV
R
false
false
6,205
r
# R script for validating the conditional outcome model #7425786 setwd("~/scratch/ThresholdsTargetTrial") library(dplyr) library(BART) library(tidyr) library(precrec) library(doParallel) # iterations to average over iter = 5 # colours c_light <- c("#DCBCBC") c_light_highlight <- c("#C79999") c_mid <- c("#B97C7C") c...
#' Import transcripts #' #' Download a curated data frame based on episode and movie transcripts containing metadata and variables for analysis of scenes, character presence, dialog, sentiment, etc. #' #' The data frame contains metadata associated with each transcript, one row per episode. #' It also contains a list c...
/R/transcripts.R
permissive
explore-n-learn/rtrek
R
false
false
2,459
r
#' Import transcripts #' #' Download a curated data frame based on episode and movie transcripts containing metadata and variables for analysis of scenes, character presence, dialog, sentiment, etc. #' #' The data frame contains metadata associated with each transcript, one row per episode. #' It also contains a list c...
# Random Forest prediction of Kyphosis data install.packages('randomForest') library(randomForest) fit <- randomForest(Kyphosis ~ Age + Number + Start, data=kyphosis) print(fit) # view results importance(fit) # importance of each predictor nrow(kyphosis) training=kyphosis[1:70,] test=kyphosis[71:81,] fit <- ra...
/DataMining/RandomForest.R
no_license
vivek14632/R-Programming-workshop
R
false
false
873
r
# Random Forest prediction of Kyphosis data install.packages('randomForest') library(randomForest) fit <- randomForest(Kyphosis ~ Age + Number + Start, data=kyphosis) print(fit) # view results importance(fit) # importance of each predictor nrow(kyphosis) training=kyphosis[1:70,] test=kyphosis[71:81,] fit <- ra...
#' Geocode with Marineregions #' #' @export #' @template dframe1 #' @param place (character) a place name #' @param like (logical) adds a percent-sign before and after place value #' (a SQL LIKE function). Default: `TRUE` #' @param fuzzy (logical) Uses Levenshtein query to find nearest matches. #' Default: `FAL...
/R/geo_code.R
permissive
cran/mregions
R
false
false
1,441
r
#' Geocode with Marineregions #' #' @export #' @template dframe1 #' @param place (character) a place name #' @param like (logical) adds a percent-sign before and after place value #' (a SQL LIKE function). Default: `TRUE` #' @param fuzzy (logical) Uses Levenshtein query to find nearest matches. #' Default: `FAL...
library(phyr) library(ape) library(tidyverse) library(stringr) library(grid) library(ggplotify) library(geoR) library(sf) # read in data mdf <- read.csv("data/LMM_data/phenoTraits_data_withNumObsData_updatedSeasTrat.csv", stringsAsFactors = FALSE) %>% filter(scientificName != "Diabrotica undecimpunctata") %>% fi...
/scripts/figures/ModelAssumptions_Fig.R
no_license
mbelitz/InsectDuration
R
false
false
10,285
r
library(phyr) library(ape) library(tidyverse) library(stringr) library(grid) library(ggplotify) library(geoR) library(sf) # read in data mdf <- read.csv("data/LMM_data/phenoTraits_data_withNumObsData_updatedSeasTrat.csv", stringsAsFactors = FALSE) %>% filter(scientificName != "Diabrotica undecimpunctata") %>% fi...
#Load library library(plyr) ## This first line will likely take a few seconds. Be patient! NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") #create png file png(filename = "plot1.png", width = 480, height = 480, units = "px") #plot the graph with( ddply(NEI,.(...
/plot1.R
no_license
dushyantlad/ExDataAna_Prj2
R
false
false
432
r
#Load library library(plyr) ## This first line will likely take a few seconds. Be patient! NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") #create png file png(filename = "plot1.png", width = 480, height = 480, units = "px") #plot the graph with( ddply(NEI,.(...
x <- seq(0, 100, by = 0.1) y <- -4. + 0.25 * x + rnorm(length(x), mean = 0., sd = 2.5) # and put them in a dataframe my_data <- data.frame(x = x, y = y) # perform a linear regression my_lm <- summary(lm(y ~ x, data = my_data)) # plot the data p <- ggplot(my_data, aes(x = x, y = y, colour...
/Week3/code/plotLin.R
permissive
Luoxsh6/CMEECourseWork
R
false
false
927
r
x <- seq(0, 100, by = 0.1) y <- -4. + 0.25 * x + rnorm(length(x), mean = 0., sd = 2.5) # and put them in a dataframe my_data <- data.frame(x = x, y = y) # perform a linear regression my_lm <- summary(lm(y ~ x, data = my_data)) # plot the data p <- ggplot(my_data, aes(x = x, y = y, colour...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CAnutrients.R \docType{data} \name{ca_conversion_factor} \alias{ca_conversion_factor} \title{Conversion factor dataset} \format{a \code{tbl_df} with 19,505 observations of the following 4 fields: \describe{ \item{FoodID}{Sequential number gen...
/man/ca_conversion_factor.Rd
no_license
yihanwu/CAnutrients
R
false
true
1,623
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CAnutrients.R \docType{data} \name{ca_conversion_factor} \alias{ca_conversion_factor} \title{Conversion factor dataset} \format{a \code{tbl_df} with 19,505 observations of the following 4 fields: \describe{ \item{FoodID}{Sequential number gen...
unpmle =function(n,t=15,C=0,method="W-L",b=200,conf=.95,seed=NULL,dis=1){ ## ================================================================================================ ## Purpose: This function calculates the unconditional NPMLE by Norris and Pollock 1998 using ## algorithm by Bonhing and Schon...
/R/unpmle.R
no_license
cran/SPECIES
R
false
false
9,059
r
unpmle =function(n,t=15,C=0,method="W-L",b=200,conf=.95,seed=NULL,dis=1){ ## ================================================================================================ ## Purpose: This function calculates the unconditional NPMLE by Norris and Pollock 1998 using ## algorithm by Bonhing and Schon...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DrugGeneHeteroNet.R \name{TransitionMatrix} \alias{TransitionMatrix} \title{Generate transition matrix from drug-gene/pathway interaction networks} \usage{ TransitionMatrix( drugAdj, geneAdj, pathwayAdj, druggeneAdj, drugpathwayAdj,...
/man/TransitionMatrix.Rd
no_license
VeronicaFung/DComboNet
R
false
true
3,607
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DrugGeneHeteroNet.R \name{TransitionMatrix} \alias{TransitionMatrix} \title{Generate transition matrix from drug-gene/pathway interaction networks} \usage{ TransitionMatrix( drugAdj, geneAdj, pathwayAdj, druggeneAdj, drugpathwayAdj,...
# analysis for outputs library(shiny) library(shinydashboard) library(dplyr) library(ggplot2) library(readxl) library(jsonlite) library(data.table) # dplyr - filter, select, arrange, mutate, summarise # Read excel file requests <- read_xlsx("SampleDataSet_CallCenter_Dash.xlsx", sheet = "Requests") survey <- read_xlsx...
/analysis.R
no_license
kondurisaisanthosh/customer
R
false
false
1,518
r
# analysis for outputs library(shiny) library(shinydashboard) library(dplyr) library(ggplot2) library(readxl) library(jsonlite) library(data.table) # dplyr - filter, select, arrange, mutate, summarise # Read excel file requests <- read_xlsx("SampleDataSet_CallCenter_Dash.xlsx", sheet = "Requests") survey <- read_xlsx...
with(a70f5958bdb3d4f2fa14b41a46c26bf50, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';rm(list=ls())});
/80bb2a25-ac5d-47d0-abfc-b3f3811f0936/R/Temp/aR7GngGTCbBeE.R
no_license
ayanmanna8/test
R
false
false
212
r
with(a70f5958bdb3d4f2fa14b41a46c26bf50, {ROOT <- 'D:/SEMOSS_v4.0.0_x64/SEMOSS_v4.0.0_x64/semosshome/db/Atadata2__3b3e4a3b-d382-4e98-9950-9b4e8b308c1c/version/80bb2a25-ac5d-47d0-abfc-b3f3811f0936';rm(list=ls())});
### # used by lc_stats.Rmd to generate comparison histograms ### lc.dhist <- function(x, y, xleg = "x" , yleg = "y", hmain = "", hpair = FALSE) { p <- t.test(x, y, paired = hpair) if (hpair) { hmtx <- matrix(replicate(22,0), nrow = 2, ncol = 11, dimnames = list(c(yleg, xleg...
/lc.compare.R
no_license
BShanrockSolberg/liacookDV
R
false
false
3,858
r
### # used by lc_stats.Rmd to generate comparison histograms ### lc.dhist <- function(x, y, xleg = "x" , yleg = "y", hmain = "", hpair = FALSE) { p <- t.test(x, y, paired = hpair) if (hpair) { hmtx <- matrix(replicate(22,0), nrow = 2, ncol = 11, dimnames = list(c(yleg, xleg...
## preset demography parameters .get_demography <- function( pen.type=c("mat.pen", "pred.excl", "moose.red", "wolf.red"), herd=NULL) { pen.type <- match.arg(pen.type) parms <- list() Herds <- c( "ColumbiaNorth", "ColumbiaSouth", "FrisbyQueest", "WellsGreySouth", "Grou...
/R/settings.R
permissive
bcgov/CaribouBC
R
false
false
8,951
r
## preset demography parameters .get_demography <- function( pen.type=c("mat.pen", "pred.excl", "moose.red", "wolf.red"), herd=NULL) { pen.type <- match.arg(pen.type) parms <- list() Herds <- c( "ColumbiaNorth", "ColumbiaSouth", "FrisbyQueest", "WellsGreySouth", "Grou...
#' Derive age at breast height #' #' @description This function uses site tools to derive age at breast height for the bored age that is not taken at #' breast height, i.e., \code{1.3 m}. The process was documented in BC VRI Sample Data Compilation Process. #' #' #' @param boredAge numeric, Age at bored he...
/R/boredAgeCalculator_Crted.R
permissive
bcgov/FAIBCompiler
R
false
false
4,673
r
#' Derive age at breast height #' #' @description This function uses site tools to derive age at breast height for the bored age that is not taken at #' breast height, i.e., \code{1.3 m}. The process was documented in BC VRI Sample Data Compilation Process. #' #' #' @param boredAge numeric, Age at bored he...
library(randomForest) library(ggplot2) library(dplyr) library(tree) library(cvTools) setwd("/Users/mrunalsawant/Desktop/Project/project 2/") ld_test=read.csv("store_test.csv",stringsAsFactors = F) ld_train= read.csv("store_train.csv",stringsAsFactors = F) ld_test$store=NA ld_test$data='test' ld_train$data='train' ...
/Project 2.R
no_license
ladykaguya/project2Rlanguage
R
false
false
6,293
r
library(randomForest) library(ggplot2) library(dplyr) library(tree) library(cvTools) setwd("/Users/mrunalsawant/Desktop/Project/project 2/") ld_test=read.csv("store_test.csv",stringsAsFactors = F) ld_train= read.csv("store_train.csv",stringsAsFactors = F) ld_test$store=NA ld_test$data='test' ld_train$data='train' ...
rm( list=ls() ) gc() script.name<-"lgbm-app1" switch ( Sys.info()[['sysname']], Windows = { directory.include <- "M:\\codigoR\\include\\" directory.work <- paste0("M:\\work\\",script.name,"\\") directory.plan <- "M:\\plan\\" directory.datasets <- "M:\\datasets\\dias\\"...
/exec/lgbm-app1.r
no_license
fdmenendez/cloud1
R
false
false
4,023
r
rm( list=ls() ) gc() script.name<-"lgbm-app1" switch ( Sys.info()[['sysname']], Windows = { directory.include <- "M:\\codigoR\\include\\" directory.work <- paste0("M:\\work\\",script.name,"\\") directory.plan <- "M:\\plan\\" directory.datasets <- "M:\\datasets\\dias\\"...
#' @title Tema de Transforma Uruguay. #' #' @description Configura como default el tema de Transforma Uruguay para los gráficos creados en ggplot2. #' #' @param #' #' @return #' #' @examples #' #' @export #' #' @import ggthemr, syfonts, ggplot2 library(ggplot2) sysfonts::font_add("MyriadPro", "MyriadPro-Regular.otf")...
/R/graficos.R
no_license
transformauy/estilotu
R
false
false
1,846
r
#' @title Tema de Transforma Uruguay. #' #' @description Configura como default el tema de Transforma Uruguay para los gráficos creados en ggplot2. #' #' @param #' #' @return #' #' @examples #' #' @export #' #' @import ggthemr, syfonts, ggplot2 library(ggplot2) sysfonts::font_add("MyriadPro", "MyriadPro-Regular.otf")...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_read_years} \alias{fars_read_years} \title{Title} \usage{ fars_read_years(years) } \arguments{ \item{years}{} } \description{ Title }
/man/fars_read_years.Rd
no_license
karacitir/cPack
R
false
true
240
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_read_years} \alias{fars_read_years} \title{Title} \usage{ fars_read_years(years) } \arguments{ \item{years}{} } \description{ Title }
library(PPRL) ### Name: CreateEnsembleCLK ### Title: Combine multiple independent CLKs using a simple majority rule ### Aliases: CreateEnsembleCLK 'Ensemble CLK' majority 'majority rule' ### ** Examples # Load test data testFile <- file.path(path.package("PPRL"), "extdata/testdata.csv") testData <-read.csv(testFile...
/data/genthat_extracted_code/PPRL/examples/CreateEnsembleCLK.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
678
r
library(PPRL) ### Name: CreateEnsembleCLK ### Title: Combine multiple independent CLKs using a simple majority rule ### Aliases: CreateEnsembleCLK 'Ensemble CLK' majority 'majority rule' ### ** Examples # Load test data testFile <- file.path(path.package("PPRL"), "extdata/testdata.csv") testData <-read.csv(testFile...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/classroom_functions.R \name{invitations.list} \alias{invitations.list} \title{Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `...
/googleclassroomv1.auto/man/invitations.list.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
1,582
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/classroom_functions.R \name{invitations.list} \alias{invitations.list} \title{Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the list request. *Note:* At least one of `user_id` or `...
library(lubridate) ###lets write a fcn for repeats agouti_rename <- function(x){ x$CreateDate <- gsub("_", " ", x$CreateDate, fixed=TRUE) #replace _ with space x$create_date_tz_panama <- as.POSIXct(x$CreateDate , format = "%d/%m/%Y %H:%M:%S", tz = "America/Panama") #convert to panama time x$create_date_tz_monte...
/agouti_metadata_date_conversions.R
no_license
ZoeGold/camtrap_coiba_zg
R
false
false
1,529
r
library(lubridate) ###lets write a fcn for repeats agouti_rename <- function(x){ x$CreateDate <- gsub("_", " ", x$CreateDate, fixed=TRUE) #replace _ with space x$create_date_tz_panama <- as.POSIXct(x$CreateDate , format = "%d/%m/%Y %H:%M:%S", tz = "America/Panama") #convert to panama time x$create_date_tz_monte...
library(shiny) library(tidyverse) library(plotly) library(leaflet) data("mtcars") vehicle_merged <- readRDS("./data/vehicle_merged.rds") #subset data analysis <- mtcars %>% rownames_to_column(var = "Name") %>% filter(hp >= 70) # Define UI for application that draws a histogram ui <- fluidPage( #...
/myBaby_solutions/app_complete.R
no_license
UM-Biostatistics/teachShiny
R
false
false
4,983
r
library(shiny) library(tidyverse) library(plotly) library(leaflet) data("mtcars") vehicle_merged <- readRDS("./data/vehicle_merged.rds") #subset data analysis <- mtcars %>% rownames_to_column(var = "Name") %>% filter(hp >= 70) # Define UI for application that draws a histogram ui <- fluidPage( #...
library(readxl) library(openxlsx) library(dplyr) remove_outliers <- function(x, na.rm = TRUE, ...){ qnt <- quantile(x, probs = c(.25, .75), na.rm = na.rm, ...) H <- 1.5 * IQR(x, na.rm = na.rm) y <- x y[x < (qnt[1] - H)] <- NA y[x > (qnt[2] + H)] <- NA y } #----- Load new dataframe setwd('C:/Users/Felix/Dr...
/F310119TRY01.R
no_license
firstime09/00RCode
R
false
false
1,043
r
library(readxl) library(openxlsx) library(dplyr) remove_outliers <- function(x, na.rm = TRUE, ...){ qnt <- quantile(x, probs = c(.25, .75), na.rm = na.rm, ...) H <- 1.5 * IQR(x, na.rm = na.rm) y <- x y[x < (qnt[1] - H)] <- NA y[x > (qnt[2] + H)] <- NA y } #----- Load new dataframe setwd('C:/Users/Felix/Dr...
# diretório + funções ---------------------------------------------- setwd("C:/Users/daiane.mattos/Dropbox/08 Previsão da PIM-PF") if (!require("pacman")) install.packages("pacman") pacman::p_load(vars, urca, tseries, forecast, readxl, xtable, seasonal, BETS, dygraphs, lubridate) MAPE <- function(y,x){ data...
/01.models/02.var/modelagem_var_auto2.R
no_license
nmecsys/indprod
R
false
false
3,968
r
# diretório + funções ---------------------------------------------- setwd("C:/Users/daiane.mattos/Dropbox/08 Previsão da PIM-PF") if (!require("pacman")) install.packages("pacman") pacman::p_load(vars, urca, tseries, forecast, readxl, xtable, seasonal, BETS, dygraphs, lubridate) MAPE <- function(y,x){ data...
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "MagicTelescope") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "class.") lrn = makeLea...
/models/openml_MagicTelescope/classification_class./0aa85b9c58c8a636212779e95fb46fe0/code.R
no_license
pysiakk/CaseStudies2019S
R
false
false
723
r
#:# libraries library(digest) library(mlr) library(OpenML) library(farff) #:# config set.seed(1) #:# data dataset <- getOMLDataSet(data.name = "MagicTelescope") head(dataset$data) #:# preprocessing head(dataset$data) #:# model task = makeClassifTask(id = "task", data = dataset$data, target = "class.") lrn = makeLea...
# loading libraries library(readxl) # for reading excel files library(dplyr) # for data manipulation library(corrplot) # for correlation-plot library(caTools) # for splitting dataset library(ggplot2) # for data visualization library(MLmetrics) # for machine learning metrics library(caret) # for feature imp...
/Healthcare_cost_analysis/Naquibuddin-R-Project.R
no_license
ShaikNaquibuddin/DataScience_R
R
false
false
4,137
r
# loading libraries library(readxl) # for reading excel files library(dplyr) # for data manipulation library(corrplot) # for correlation-plot library(caTools) # for splitting dataset library(ggplot2) # for data visualization library(MLmetrics) # for machine learning metrics library(caret) # for feature imp...
#!/usr/bin/env Rscript library(XML) library(RCurl) library(rlist) library(tidyverse) library(dplyr) library(stringr) args = commandArgs(trailingOnly=TRUE) race.id <- 117 # Berlin 06.08.2020 if(length(args) >= 1){ potential.id <- strtoi(args[1], 10) if(!is.na(potential.id)){ race.id <- potential.id ...
/src/data-retrieva-script.r~
no_license
haetze/Formula-E
R
false
false
4,733
#!/usr/bin/env Rscript library(XML) library(RCurl) library(rlist) library(tidyverse) library(dplyr) library(stringr) args = commandArgs(trailingOnly=TRUE) race.id <- 117 # Berlin 06.08.2020 if(length(args) >= 1){ potential.id <- strtoi(args[1], 10) if(!is.na(potential.id)){ race.id <- potential.id ...
#' @importClassesFrom Matrix dgCMatrix dgeMatrix #' @import methods # depends on matrix .onLoad <- function(libname, pkgname) { library.dynam("xgboost", pkgname, libname) } .onUnload <- function(libpath) { library.dynam.unload("xgboost", libpath) } # set information into dmatrix, this mutate dmatrix xgb.setinfo...
/src/external/xgboost/R-package/R/utils.R
permissive
Sitispeaks/turicreate
R
false
false
11,950
r
#' @importClassesFrom Matrix dgCMatrix dgeMatrix #' @import methods # depends on matrix .onLoad <- function(libname, pkgname) { library.dynam("xgboost", pkgname, libname) } .onUnload <- function(libpath) { library.dynam.unload("xgboost", libpath) } # set information into dmatrix, this mutate dmatrix xgb.setinfo...
# Import Libraries # library(devtools) # install_github("nurandi/katadasaR") library(textclean) library(tokenizers) library(dplyr) library(tidyverse) library(stringr) library(tm) library(knitr) library(tidytext) library(katadasaR) # Import dataset raw_tweets = readr::read_csv("crypto_tweets.csv") # import indonesia...
/main.R
no_license
SokKanaTorajd/sna-cryptocurrency-with-r
R
false
false
2,460
r
# Import Libraries # library(devtools) # install_github("nurandi/katadasaR") library(textclean) library(tokenizers) library(dplyr) library(tidyverse) library(stringr) library(tm) library(knitr) library(tidytext) library(katadasaR) # Import dataset raw_tweets = readr::read_csv("crypto_tweets.csv") # import indonesia...
head(quakes) plot(x=quakes$long,y=quakes$lat) ggplot(quakes,aes(x=mag))+ geom_histogram(bins =50) ggplot(quakes,aes(x=lat, y=long, col=mag))+ geom_point() geom_ #wide range of plots available! can see using autofill ggplot(mtcars,aes(x=mtcars$wt,y=mtcars$mpg))+ geom_point() ggplot(mtcars,aes(x=...
/Section 3/ggplot2(1).R
permissive
PacktPublishing/Heavy-Lifting-Using-R-Libraries-Video-
R
false
false
598
r
head(quakes) plot(x=quakes$long,y=quakes$lat) ggplot(quakes,aes(x=mag))+ geom_histogram(bins =50) ggplot(quakes,aes(x=lat, y=long, col=mag))+ geom_point() geom_ #wide range of plots available! can see using autofill ggplot(mtcars,aes(x=mtcars$wt,y=mtcars$mpg))+ geom_point() ggplot(mtcars,aes(x=...
# Lab 7 - Bootstrapping # https://michaelfrancenelson.github.io/eco_602_634_2020/assignments/eco_634/lab_07.html # Bootstrapping is a resampling technique by which we use sampling with replacement # of a single sample of observations to simulate the process of taking many samples # from a population! # Most impor...
/individual_assignments/AoED Labs/AoED Lab 7/AoED - Lab 7 - Bootstrap.R
no_license
JamesMacCabeTsalah/ECo_602_2020
R
false
false
7,976
r
# Lab 7 - Bootstrapping # https://michaelfrancenelson.github.io/eco_602_634_2020/assignments/eco_634/lab_07.html # Bootstrapping is a resampling technique by which we use sampling with replacement # of a single sample of observations to simulate the process of taking many samples # from a population! # Most impor...
`extrp.pi0` <- function(dat,slope.constraint=TRUE, gamma2.range=2^c(-4,3), rate.margin=c(0.5,0.5), plotit=TRUE ) { #library("limSolve") gamma2.range=range(gamma2.range) stopifnot(gamma2.range[1]>0) rate.margin=range(rate.margin) stopifnot(rate.margin[1]<=0,rate.margi...
/R/extrp.pi0.master.R
no_license
gitlongor/pi0
R
false
false
2,352
r
`extrp.pi0` <- function(dat,slope.constraint=TRUE, gamma2.range=2^c(-4,3), rate.margin=c(0.5,0.5), plotit=TRUE ) { #library("limSolve") gamma2.range=range(gamma2.range) stopifnot(gamma2.range[1]>0) rate.margin=range(rate.margin) stopifnot(rate.margin[1]<=0,rate.margi...
#This is a test dsfgsdfg x<-seq(11:20) gtdrht
/git_file.R
no_license
Rolf-dotcom/furry-eureka
R
false
false
47
r
#This is a test dsfgsdfg x<-seq(11:20) gtdrht
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/attributes.R \name{gather_attributes} \alias{gather_attributes} \title{Create a data-frame of attributes} \usage{ gather_attributes(x, attrs, omit_na = FALSE) } \arguments{ \item{x}{a list of objects with attributes} \item{attrs}{a character...
/man/gather_attributes.Rd
no_license
rw247/lookr
R
false
true
960
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/attributes.R \name{gather_attributes} \alias{gather_attributes} \title{Create a data-frame of attributes} \usage{ gather_attributes(x, attrs, omit_na = FALSE) } \arguments{ \item{x}{a list of objects with attributes} \item{attrs}{a character...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{c3_scatter} \alias{c3_scatter} \title{Scatter Plots} \usage{ c3_scatter(c3) } \arguments{ \item{c3}{c3 htmlwidget object} } \value{ c3 } \description{ For scatter plots options are defined in the `c3` function. Options are limit...
/man/c3_scatter.Rd
no_license
lukr90/c3
R
false
true
453
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{c3_scatter} \alias{c3_scatter} \title{Scatter Plots} \usage{ c3_scatter(c3) } \arguments{ \item{c3}{c3 htmlwidget object} } \value{ c3 } \description{ For scatter plots options are defined in the `c3` function. Options are limit...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{plots} \alias{plots} \title{Plotting the outputs of functions estimating the reproduction number from incidence time series and assumptions regarding the serial interval distribution} \usage{ plots(x = NULL, what = c("all", "I",...
/man/plots.Rd
no_license
yuster0/EpiEstim
R
false
true
4,756
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{plots} \alias{plots} \title{Plotting the outputs of functions estimating the reproduction number from incidence time series and assumptions regarding the serial interval distribution} \usage{ plots(x = NULL, what = c("all", "I",...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudformation_operations.R \name{cloudformation_describe_stack_instance} \alias{cloudformation_describe_stack_instance} \title{Returns the stack instance that's associated with the specified stack set, AWS account, and region} \usage{ cloudf...
/paws/man/cloudformation_describe_stack_instance.Rd
permissive
peoplecure/paws
R
false
true
1,196
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cloudformation_operations.R \name{cloudformation_describe_stack_instance} \alias{cloudformation_describe_stack_instance} \title{Returns the stack instance that's associated with the specified stack set, AWS account, and region} \usage{ cloudf...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/date.R \name{date_weekday_factor} \alias{date_weekday_factor} \title{Convert a date or date-time to a weekday factor} \usage{ date_weekday_factor( x, ..., labels = "en", abbreviate = TRUE, encoding = "western" ) } \arguments{ \item{...
/man/date_weekday_factor.Rd
permissive
isabella232/clock-2
R
false
true
1,786
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/date.R \name{date_weekday_factor} \alias{date_weekday_factor} \title{Convert a date or date-time to a weekday factor} \usage{ date_weekday_factor( x, ..., labels = "en", abbreviate = TRUE, encoding = "western" ) } \arguments{ \item{...
#Polar centered map: ## Set the projection string and parameters. proj_str = 'orthographic' proj_params = c() #no parameters for this projection rotation = 0 # deg CW longitude to rotate the projection. 0 means E is down. #Generate the basemap. arcticmap<-function(addmap=TRUE,Xlim=c(-180, 180),Ylim=c(60, 90),col="bla...
/arcticmap.r
no_license
kristokv/calanus_diapause_depth
R
false
false
1,673
r
#Polar centered map: ## Set the projection string and parameters. proj_str = 'orthographic' proj_params = c() #no parameters for this projection rotation = 0 # deg CW longitude to rotate the projection. 0 means E is down. #Generate the basemap. arcticmap<-function(addmap=TRUE,Xlim=c(-180, 180),Ylim=c(60, 90),col="bla...
combineFeatures <- function(object, groupBy, method = c("mean", "median", "weighted.mean", "sum", "medpolish", ...
/R/combineFeatures.R
no_license
meowcat/MSnbase
R
false
false
14,934
r
combineFeatures <- function(object, groupBy, method = c("mean", "median", "weighted.mean", "sum", "medpolish", ...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/make.matrix.R \name{make.matrix} \alias{make.matrix} \title{Utility extract function} \usage{ make.matrix(lines) } \description{ Utility extract function } \author{ Dan Fu }
/R-libraries/CASAL2/man/make.matrix.Rd
no_license
Cyrill1/CASAL2
R
false
false
261
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/make.matrix.R \name{make.matrix} \alias{make.matrix} \title{Utility extract function} \usage{ make.matrix(lines) } \description{ Utility extract function } \author{ Dan Fu }
############################################################################### ## Teste do funcionamento de copulas com os pacotes rugarch + spd + copula ## rugarch + spd para modelar cada um dos ativos, onde as distribuicoes margi ## nais dos residuos do garch serao uma semi-parametrica ## com a copula pode-se gerar ...
/teste-rugarch-spd-copula.R
no_license
rfbressan/tcc-r
R
false
false
10,936
r
############################################################################### ## Teste do funcionamento de copulas com os pacotes rugarch + spd + copula ## rugarch + spd para modelar cada um dos ativos, onde as distribuicoes margi ## nais dos residuos do garch serao uma semi-parametrica ## com a copula pode-se gerar ...
## code to prepare `DATASET` dataset goes here link <- "https://data.sunshinecoast.qld.gov.au/api/views/7f87-i6kx/rows.csv?accessType=DOWNLOAD" fullnames <- c("Abyssinian", "American Curl", "Australian Mist", "Australian Mist", "Balinese", "Bengal", "Birman", "Bombay", "British Longhair", "British Shorthair", "Burmes...
/data-raw/cat_reg.R
no_license
Reed-Math241/suncats
R
false
false
3,056
r
## code to prepare `DATASET` dataset goes here link <- "https://data.sunshinecoast.qld.gov.au/api/views/7f87-i6kx/rows.csv?accessType=DOWNLOAD" fullnames <- c("Abyssinian", "American Curl", "Australian Mist", "Australian Mist", "Balinese", "Bengal", "Birman", "Bombay", "British Longhair", "British Shorthair", "Burmes...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simple_anova.R \name{simple_anova} \alias{simple_anova} \title{Run an ANOVA for chosen variables in a dataset, then print summary to screen.} \usage{ simple_anova(variable_1, variable_2) } \arguments{ \item{variable_1:}{response variable (y-a...
/man/simple_anova.Rd
no_license
tbrock0122/tlb.project
R
false
true
560
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simple_anova.R \name{simple_anova} \alias{simple_anova} \title{Run an ANOVA for chosen variables in a dataset, then print summary to screen.} \usage{ simple_anova(variable_1, variable_2) } \arguments{ \item{variable_1:}{response variable (y-a...
test_that("valid txtq validates fine", { q <- txtq(tempfile()) q$push(1, 2) expect_silent(q$validate()) }) test_that("cannot create dir because a file is already there", { path <- tempfile() file.create(path) expect_error(txtq(path), regexp = "cannot create directory") }) test_that("file is not a director...
/tests/testthat/test-validate.R
no_license
cran/txtq
R
false
false
918
r
test_that("valid txtq validates fine", { q <- txtq(tempfile()) q$push(1, 2) expect_silent(q$validate()) }) test_that("cannot create dir because a file is already there", { path <- tempfile() file.create(path) expect_error(txtq(path), regexp = "cannot create directory") }) test_that("file is not a director...
# Script Name: Plot2.R # Author Name: Varun1914 # Course: Exploratory Data Analysis library(grDevices) library(lubridate) pwdata$Date.Time <- paste(pwdata$Date, pwdata$Time, sep = " ") pwdata$Date.Time <- parse_date_time(pwdata$Date.Time, orders = "dmY HMS") png(filename = "plot2.png") plot(pwdata$Date.Time, pwdata...
/plot2.R
no_license
Varun1914/Exploratory-Data-Analysis
R
false
false
431
r
# Script Name: Plot2.R # Author Name: Varun1914 # Course: Exploratory Data Analysis library(grDevices) library(lubridate) pwdata$Date.Time <- paste(pwdata$Date, pwdata$Time, sep = " ") pwdata$Date.Time <- parse_date_time(pwdata$Date.Time, orders = "dmY HMS") png(filename = "plot2.png") plot(pwdata$Date.Time, pwdata...
############################################################################# # # XLConnect # Copyright (C) 2010-2021 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eithe...
/R/workbook.appendNamedRegion.R
no_license
harisxue/xlconnect
R
false
false
1,682
r
############################################################################# # # XLConnect # Copyright (C) 2010-2021 Mirai Solutions GmbH # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eithe...
library(data.table) library(dplyr) data <- fread("household_power_consumption.txt", na.strings = c("?")) %>% filter(Date == "1/2/2007" | Date == "2/2/2007") png(filename="plot1.png") hist(data$Global_active_power, main = "Global Active Power", xlab = "Global Active Power (kilowatts)", ylab = "Frequen...
/plot1.R
no_license
pak21/ExData_Plotting1
R
false
false
353
r
library(data.table) library(dplyr) data <- fread("household_power_consumption.txt", na.strings = c("?")) %>% filter(Date == "1/2/2007" | Date == "2/2/2007") png(filename="plot1.png") hist(data$Global_active_power, main = "Global Active Power", xlab = "Global Active Power (kilowatts)", ylab = "Frequen...
context("Posting data") h <- new_handle() test_that("Post text data", { handle_setopt(h, COPYPOSTFIELDS = "moo=moomooo"); handle_setheaders(h, "Content-Type" = "text/moo", "Cache-Control" = "no-cache", "User-Agent" = "A cow" ) req <- curl_fetch_memory(httpbin("post"), handle = h) res <- jsonlite...
/Results/pearson/packrat/lib/x86_64-apple-darwin15.6.0/3.4.1/curl/tests/testthat/test-post.R
no_license
WhyR2017/UrbanSensorsMaterials
R
false
false
2,374
r
context("Posting data") h <- new_handle() test_that("Post text data", { handle_setopt(h, COPYPOSTFIELDS = "moo=moomooo"); handle_setheaders(h, "Content-Type" = "text/moo", "Cache-Control" = "no-cache", "User-Agent" = "A cow" ) req <- curl_fetch_memory(httpbin("post"), handle = h) res <- jsonlite...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deprecated.R \name{draftBase} \alias{draftBase} \title{Construct a base SQL query} \usage{ draftBase(fields = "*", distinct = FALSE, schema, tableName) } \arguments{ \item{distinct}{if TRUE, the DISTINCT fields will be selected for.} } \descr...
/man/draftBase.Rd
no_license
jimsforks/pg13
R
false
true
506
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deprecated.R \name{draftBase} \alias{draftBase} \title{Construct a base SQL query} \usage{ draftBase(fields = "*", distinct = FALSE, schema, tableName) } \arguments{ \item{distinct}{if TRUE, the DISTINCT fields will be selected for.} } \descr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moments.r \name{moment2cumulant} \alias{moment2cumulant} \title{Convert moments to raw cumulants.} \usage{ moment2cumulant(moms) } \arguments{ \item{moms}{a vector of the moments. The first element is the first moment (the mean). If centere...
/man/moment2cumulant.Rd
no_license
cran/PDQutils
R
false
true
1,468
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/moments.r \name{moment2cumulant} \alias{moment2cumulant} \title{Convert moments to raw cumulants.} \usage{ moment2cumulant(moms) } \arguments{ \item{moms}{a vector of the moments. The first element is the first moment (the mean). If centere...
##################################################################################### # The following code performs the Standardization DIF method for polytomous data # # using the SMD function. # ################################################################...
/ExampleCode/Chapter 2 Observed Score Methods/05_SMD DIF Analyses.R
no_license
cswells1/MeasInv
R
false
false
2,039
r
##################################################################################### # The following code performs the Standardization DIF method for polytomous data # # using the SMD function. # ################################################################...
# Sourcing the Jump test and functions --------------------------------------------------- source("Jumps/BPV_adj.R") IV_fun <- function(vol_path, t, delta){ eval_vals <- floor(t / delta) eval_vals <- ifelse(eval_vals == 0, 1, eval_vals) vol_path[eval_vals] } # Parameters --------------------------------------...
/Chapter4/simulation_runs/BPV_adj_sigma_eps_sigma_J.R
no_license
MarksSmirnovs/Quadratic-Variation-Disentanglement-A-High-Frequency-Data-Approach
R
false
false
4,477
r
# Sourcing the Jump test and functions --------------------------------------------------- source("Jumps/BPV_adj.R") IV_fun <- function(vol_path, t, delta){ eval_vals <- floor(t / delta) eval_vals <- ifelse(eval_vals == 0, 1, eval_vals) vol_path[eval_vals] } # Parameters --------------------------------------...
ms2MzRtPlot <- function(object){ temp.mz <- as.numeric(unlist(lapply(object, function(x) x[[1]][2,1]))) temp.rt <- as.numeric(unlist(lapply(object, function(x) x[[1]][3,1]))) temp.name <- unlist(lapply(object, function(x) x[[1]][1,1])) object <- data.frame(temp.mz, temp.rt, temp.name, stringsAsFactors = FALSE)...
/function/metabolite_identification/ms2MzRtPlot.R
no_license
jaspershen/pregnancy_project_website
R
false
false
1,245
r
ms2MzRtPlot <- function(object){ temp.mz <- as.numeric(unlist(lapply(object, function(x) x[[1]][2,1]))) temp.rt <- as.numeric(unlist(lapply(object, function(x) x[[1]][3,1]))) temp.name <- unlist(lapply(object, function(x) x[[1]][1,1])) object <- data.frame(temp.mz, temp.rt, temp.name, stringsAsFactors = FALSE)...
context("large-test") test_that("selection works correctly on a large barrage of tests", { HTML_IDS <- paste0( c("<html id=\"html\"><head>", " <link id=\"link-href\" href=\"foo\" />", " <link id=\"link-nohref\" />", "</head><body>", "<div id=\"outer-div\">", " <a id=\"name-anchor\" na...
/tests/testthat/test-select-XML.R
permissive
gadenbuie/selectr
R
false
false
10,252
r
context("large-test") test_that("selection works correctly on a large barrage of tests", { HTML_IDS <- paste0( c("<html id=\"html\"><head>", " <link id=\"link-href\" href=\"foo\" />", " <link id=\"link-nohref\" />", "</head><body>", "<div id=\"outer-div\">", " <a id=\"name-anchor\" na...
## ## [testexercise1.r] ## ## author : Ed Goodwin ## project : crsraeconometrics ## createdate : 05.21.2016 ## ## description: ## Coursera Econometrics course Test Exercise 1 ## https://www.coursera.org/learn/erasmus-econometrics/peer/EqUc3/test-exercise-1 ## ## version: 0.01 ## changelog: ## uri = "data/...
/R/testexercise1.r
no_license
AndriiGnap/crsraeconometrics
R
false
false
2,727
r
## ## [testexercise1.r] ## ## author : Ed Goodwin ## project : crsraeconometrics ## createdate : 05.21.2016 ## ## description: ## Coursera Econometrics course Test Exercise 1 ## https://www.coursera.org/learn/erasmus-econometrics/peer/EqUc3/test-exercise-1 ## ## version: 0.01 ## changelog: ## uri = "data/...
library(PELVIS) ### Name: indivSexing ### Title: Internal function for sexing one single human os coxae using ### revised Bruzek's method (2018) ### Aliases: indivSexing ### ** Examples data(refData) # Pick the first individual of the reference dataset with its 11 traits, as an example: individual <- refData[1, -...
/data/genthat_extracted_code/PELVIS/examples/indivSexing.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
432
r
library(PELVIS) ### Name: indivSexing ### Title: Internal function for sexing one single human os coxae using ### revised Bruzek's method (2018) ### Aliases: indivSexing ### ** Examples data(refData) # Pick the first individual of the reference dataset with its 11 traits, as an example: individual <- refData[1, -...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/EmpRule.R \name{EmpRule} \alias{EmpRule} \title{Empirical Rule} \usage{ EmpRule() } \value{ Graphical and numerical output } \description{ An app to investigate how the Empirical Rule applies to symmetric data and skewed data. The us...
/man/EmpRule.Rd
no_license
nishantsbi/tigerstats
R
false
false
786
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/EmpRule.R \name{EmpRule} \alias{EmpRule} \title{Empirical Rule} \usage{ EmpRule() } \value{ Graphical and numerical output } \description{ An app to investigate how the Empirical Rule applies to symmetric data and skewed data. The us...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pre_proc_data.R \name{pre_proc_data} \alias{pre_proc_data} \title{Pre-process Data} \usage{ pre_proc_data(dat1, dat2, norm = TRUE, log = TRUE, center = TRUE) } \arguments{ \item{dat1}{The data for the first condition with samples (ce...
/man/pre_proc_data.Rd
no_license
cran/SparseDC
R
false
true
2,682
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pre_proc_data.R \name{pre_proc_data} \alias{pre_proc_data} \title{Pre-process Data} \usage{ pre_proc_data(dat1, dat2, norm = TRUE, log = TRUE, center = TRUE) } \arguments{ \item{dat1}{The data for the first condition with samples (ce...
\alias{cairoSurfaceSetUserData} \name{cairoSurfaceSetUserData} \title{cairoSurfaceSetUserData} \description{Attach user data to \code{surface}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoSurfaceSetUserData(surface, key, user...
/RGtk2/man/cairoSurfaceSetUserData.Rd
no_license
lawremi/RGtk2
R
false
false
837
rd
\alias{cairoSurfaceSetUserData} \name{cairoSurfaceSetUserData} \title{cairoSurfaceSetUserData} \description{Attach user data to \code{surface}. To remove user data from a surface, call this function with the key that was used to set it and \code{NULL} for \code{data}.} \usage{cairoSurfaceSetUserData(surface, key, user...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/abm_functions_latest.R \name{updateideology} \alias{updateideology} \title{Update Continuous Ideology} \usage{ updateideology(ideology, commonfactor = 0, groupfactor = 0, personalfactor = 0.2, b_seed = NULL, e_seed = NULL) } \arguments{ \it...
/man/updateideology.Rd
no_license
gentok/contextvoting
R
false
true
1,701
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/abm_functions_latest.R \name{updateideology} \alias{updateideology} \title{Update Continuous Ideology} \usage{ updateideology(ideology, commonfactor = 0, groupfactor = 0, personalfactor = 0.2, b_seed = NULL, e_seed = NULL) } \arguments{ \it...
#' compute the coregionalization model from the rgeos covariance models. #' coregionalization_model_rgeos<-function(h,model1,model2,rho,shift){ rho1h= model.eval(model1,h,dir=c(1,0),as.cov=TRUE) rho1a = model.eval(model1,shift,dir=c(1,0),as.cov=TRUE) rho2h = model.eval(model2,h,dir=c(1,0),as.cov=TRUE) retu...
/R/coregionalization_model_rgeos.R
permissive
tleblevecIMP/TransPGS
R
false
false
347
r
#' compute the coregionalization model from the rgeos covariance models. #' coregionalization_model_rgeos<-function(h,model1,model2,rho,shift){ rho1h= model.eval(model1,h,dir=c(1,0),as.cov=TRUE) rho1a = model.eval(model1,shift,dir=c(1,0),as.cov=TRUE) rho2h = model.eval(model2,h,dir=c(1,0),as.cov=TRUE) retu...
#'@title A standard error #' #'@param se get a standard error #'@author Oscar Ramirez Alan (\email{osoramirez@@gmail.com}). #'@description The standard error (SE) of a statistic is the standard deviation of its sampling distribution. #'@param x is a numeric value, could be a a vector or data.frame #'@export #'@import ...
/R/se.R
no_license
osoramirez/resumeRdesc
R
false
false
667
r
#'@title A standard error #' #'@param se get a standard error #'@author Oscar Ramirez Alan (\email{osoramirez@@gmail.com}). #'@description The standard error (SE) of a statistic is the standard deviation of its sampling distribution. #'@param x is a numeric value, could be a a vector or data.frame #'@export #'@import ...
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(plotly) source('./app1/plot4.r') # Define UI for application that draws a histogram ui <- ...
/lhx/res/10.6/files/ExpectozJJ/RShiny-Applet-Sample/6a4d372/app.R
no_license
xinhecuican/githubDB_work
R
false
false
837
r
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(plotly) source('./app1/plot4.r') # Define UI for application that draws a histogram ui <- ...
# # This is the user-interface definition 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) # Define UI for application that draws a histogram shinyUI(fluid...
/ui.R
no_license
sbalandtsc/DevelopingDataProducts
R
false
false
1,510
r
# # This is the user-interface definition 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) # Define UI for application that draws a histogram shinyUI(fluid...
# R --vanilla --slave < corSmartPlot.R # retrieve data from kintone library(kintone) # import library "kintone" kintone <- Kintone("hakata.cybozu.com", "r-kintone", "r-kintone") # declare Kintone object app <- 283 # application ID res <- kintone@getRecords(app, query='offset 500') # request with no options temp_data <-...
/examples/simpleCorrelationAnalysis/corSmartPlot.R
permissive
yamaryu0508/r-kintone
R
false
false
1,855
r
# R --vanilla --slave < corSmartPlot.R # retrieve data from kintone library(kintone) # import library "kintone" kintone <- Kintone("hakata.cybozu.com", "r-kintone", "r-kintone") # declare Kintone object app <- 283 # application ID res <- kintone@getRecords(app, query='offset 500') # request with no options temp_data <-...
#' solve R model ode with simulx #' #' @keywords internal #' #' @export #' @importFrom mlxR simulx ode_solve_simulx<-function(pk.model,time,param,init,model_name){ .hiddenCall("lixoftConnectors::initializeLixoftConnectors(software='simulx',force=TRUE)") C <- list(name=c(model_name), time=time[1:2]) param_and_init...
/R/ode_solve_simulx.R
permissive
sistm/SEIRcovid19
R
false
false
1,178
r
#' solve R model ode with simulx #' #' @keywords internal #' #' @export #' @importFrom mlxR simulx ode_solve_simulx<-function(pk.model,time,param,init,model_name){ .hiddenCall("lixoftConnectors::initializeLixoftConnectors(software='simulx',force=TRUE)") C <- list(name=c(model_name), time=time[1:2]) param_and_init...
# Sum-of-squares-based approach to endpoint library(tidyverse) # construct operator "not in" '%ni%' <- Negate('%in%') # penalization constant PENALIZATION <- 10^90 prepare_data <- function(filename = "../../data/Kuebbing_plants/natives.csv"){ # Input # filename: file name of a csv file containing the endpoints (...
/code/ssq_approach/ssq.R
no_license
Joey-Xue/endpoints
R
false
false
5,553
r
# Sum-of-squares-based approach to endpoint library(tidyverse) # construct operator "not in" '%ni%' <- Negate('%in%') # penalization constant PENALIZATION <- 10^90 prepare_data <- function(filename = "../../data/Kuebbing_plants/natives.csv"){ # Input # filename: file name of a csv file containing the endpoints (...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nn-activation.R \name{nn_multihead_attention} \alias{nn_multihead_attention} \title{MultiHead attention} \usage{ nn_multihead_attention( embed_dim, num_heads, dropout = 0, bias = TRUE, add_bias_kv = FALSE, add_zero_attn = FALSE, ...
/man/nn_multihead_attention.Rd
permissive
krzjoa/torch
R
false
true
3,240
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nn-activation.R \name{nn_multihead_attention} \alias{nn_multihead_attention} \title{MultiHead attention} \usage{ nn_multihead_attention( embed_dim, num_heads, dropout = 0, bias = TRUE, add_bias_kv = FALSE, add_zero_attn = FALSE, ...
## ----message=FALSE, warning=TRUE----------------------------------------- require(LandGenCourse) require(sp) require(sf) require(raster) require(GeNetIt) require(rasterVis) ## ------------------------------------------------------------------------ data(ralu.site) Sites.sf <- st_as_sf(ralu.site) class(Sites.sf) ## ...
/inst/doc/Week2_bonus_vignette.R
no_license
ruixiangliu/LandGenCourse
R
false
false
2,203
r
## ----message=FALSE, warning=TRUE----------------------------------------- require(LandGenCourse) require(sp) require(sf) require(raster) require(GeNetIt) require(rasterVis) ## ------------------------------------------------------------------------ data(ralu.site) Sites.sf <- st_as_sf(ralu.site) class(Sites.sf) ## ...
#' @title Test and training error from model cross-validation #' @name cv_error #' #' @seealso \code{\link{pred_accuracy}} #' #' @description \code{cv_error()} computes the root mean squared error from a model fitted #' to kfold cross-validated test-training-data. \code{cv_compare()} #' does the same,...
/R/cv_error.R
no_license
guhjy/sjstats
R
false
false
2,881
r
#' @title Test and training error from model cross-validation #' @name cv_error #' #' @seealso \code{\link{pred_accuracy}} #' #' @description \code{cv_error()} computes the root mean squared error from a model fitted #' to kfold cross-validated test-training-data. \code{cv_compare()} #' does the same,...
/Rdata/submit_train_20171104_ens_bag_rf_xgb_ens_tree_lg_xgb_1.R
no_license
naopiyo23/optDSL-bank
R
false
false
31,740
r
# 101-BuildDirectoryStructure # Builds the base data.table for households # # Copyright © 2016: Majid Einian # Licence: GPL-3 rm(list=ls()) starttime <- proc.time() cat("\n\n================ BuildDirectoryStructure =====================================\n") library(yaml) Settings <- yaml.load_file("Settings.yaml") ...
/R/101-BuildDirectoryStructure.R
no_license
sadraheydari/IRHEIS
R
false
false
761
r
# 101-BuildDirectoryStructure # Builds the base data.table for households # # Copyright © 2016: Majid Einian # Licence: GPL-3 rm(list=ls()) starttime <- proc.time() cat("\n\n================ BuildDirectoryStructure =====================================\n") library(yaml) Settings <- yaml.load_file("Settings.yaml") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/subscriptions.R \name{list_subscriptions} \alias{list_subscriptions} \title{List subscriptions for a topic} \usage{ list_subscriptions(topic, token, ...) } \arguments{ \item{topic}{A character string containing an SNS Topic Amazon Re...
/man/list_subscriptions.Rd
no_license
cran/aws.sns
R
false
true
1,296
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/subscriptions.R \name{list_subscriptions} \alias{list_subscriptions} \title{List subscriptions for a topic} \usage{ list_subscriptions(topic, token, ...) } \arguments{ \item{topic}{A character string containing an SNS Topic Amazon Re...
#The sqldf library allows for running a sql command against a file to filter by date library(sqldf) FileName <- "c:/temp/household_power_consumption.txt" #only select the 2 dates we care about FilteredDataQuery<-"SELECT * from file WHERE Date = '1/2/2007' OR Date = '2/2/2007'" #Load data mydata <- read.csv.sql(FileName...
/plot2.R
no_license
thebiggerd/ExData_Plotting1
R
false
false
709
r
#The sqldf library allows for running a sql command against a file to filter by date library(sqldf) FileName <- "c:/temp/household_power_consumption.txt" #only select the 2 dates we care about FilteredDataQuery<-"SELECT * from file WHERE Date = '1/2/2007' OR Date = '2/2/2007'" #Load data mydata <- read.csv.sql(FileName...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/grade_learnr.R \name{gradethis_setup} \alias{gradethis_setup} \title{Setup gradethis for use within learnr} \usage{ gradethis_setup( exercise.timelimit = 60, exercise.checker = grade_learnr, exercise.error.check.code = "grade_this_code(...
/man/gradethis_setup.Rd
no_license
DuckLights/gradethis
R
false
true
2,248
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/grade_learnr.R \name{gradethis_setup} \alias{gradethis_setup} \title{Setup gradethis for use within learnr} \usage{ gradethis_setup( exercise.timelimit = 60, exercise.checker = grade_learnr, exercise.error.check.code = "grade_this_code(...
# SALES BY STATE ANALYSIS ---- # 1.0 Load libraries ---- library(tidyverse) # 2.0 Importing Files ---- sellers_tbl <- read_csv(file = "Rstudio/DS_business_case_01/00_data/01_e-commerce/01_raw_data/olist_sellers_dataset.csv") order_items_tbl <- read_csv(file = "Rstudio/DS_business_case_01/00_data/01_e-commerce/01_r...
/Rstudio/DS_business_case_01/00_scripts/sellers_analysis_finalv1.R
no_license
funktsmack/lab_journal_website
R
false
false
3,449
r
# SALES BY STATE ANALYSIS ---- # 1.0 Load libraries ---- library(tidyverse) # 2.0 Importing Files ---- sellers_tbl <- read_csv(file = "Rstudio/DS_business_case_01/00_data/01_e-commerce/01_raw_data/olist_sellers_dataset.csv") order_items_tbl <- read_csv(file = "Rstudio/DS_business_case_01/00_data/01_e-commerce/01_r...
# Sensitivity analysis processing script for Lenalidomide IV PKSim Model Paper # ----------------------------------------------------------------------------- # Incorporates observed data which was previously published: # Rozewski DM, Herman SEM, Towns WH, Mahoney E, Stefanovski MR, Shin JD, et al. # Pharmacokinetics a...
/rscripts/pksim_figure4_paper.R
no_license
jhhughes256/len_pbpk
R
false
false
6,559
r
# Sensitivity analysis processing script for Lenalidomide IV PKSim Model Paper # ----------------------------------------------------------------------------- # Incorporates observed data which was previously published: # Rozewski DM, Herman SEM, Towns WH, Mahoney E, Stefanovski MR, Shin JD, et al. # Pharmacokinetics a...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ernest_2005_data.R \name{ProcessAndrews} \alias{ProcessAndrews} \alias{process_andrews_data} \title{Process Andrews data in to the appropriate format.} \usage{ process_andrews_data(datapath = here::here()) } \description{ Process Andrews smam...
/man/ProcessAndrews.Rd
permissive
diazrenata/revisitbecs
R
false
true
334
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ernest_2005_data.R \name{ProcessAndrews} \alias{ProcessAndrews} \alias{process_andrews_data} \title{Process Andrews data in to the appropriate format.} \usage{ process_andrews_data(datapath = here::here()) } \description{ Process Andrews smam...
csv <- read.csv("hw1_data.csv", header <- TRUE) #csv is a data.frame className <- class(csv) print(className) # get names of each column dataName <- names(csv) print(dataName) # subsetting(single) # [] return the same data type as original objects. # here, firstColumn is also a data.frame firstColumn <- csv[1] classNam...
/ComputingForDataAnalysis/PA1/syntax.R
no_license
ktargows/CourseRA
R
false
false
1,813
r
csv <- read.csv("hw1_data.csv", header <- TRUE) #csv is a data.frame className <- class(csv) print(className) # get names of each column dataName <- names(csv) print(dataName) # subsetting(single) # [] return the same data type as original objects. # here, firstColumn is also a data.frame firstColumn <- csv[1] classNam...
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
/IntervalSurgeon/inst/testfiles/rcpp_pile/AFL_rcpp_pile/rcpp_pile_valgrind_files/1609874282-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
729
r
testlist <- list(ends = c(-1125300777L, 765849512L, -1760774663L, 791623263L, 1358782356L, -128659642L, -14914341L, 1092032927L, 1837701012L, 1632068659L), pts = c(1758370433L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,...
# # ESTADISTICA PARA INGENIEROS - PROYECTO 1 # # ACTIVIDAD 5 # # - Intervalo de confianza del 95% para la proporción de los países con # bajo ingreso. # # - Intervalo de confianza del 95% para la proporción de los países con # alto ingreso. # # AUTORES: # - Jose Acevedo 13-10006 # - Pablo Betancourt 13...
/Scripts/A5.R
no_license
JoseLuisAcv2/Estadistica-Proyecto-I
R
false
false
1,999
r
# # ESTADISTICA PARA INGENIEROS - PROYECTO 1 # # ACTIVIDAD 5 # # - Intervalo de confianza del 95% para la proporción de los países con # bajo ingreso. # # - Intervalo de confianza del 95% para la proporción de los países con # alto ingreso. # # AUTORES: # - Jose Acevedo 13-10006 # - Pablo Betancourt 13...
"randomism" <- function( rland, mix.mat){ # Each animal selects FIMA anew each year # Prob of FIMA depends on BG random.set.f <- function( rland){ bg <- landscape.populations( rland) # breeding group n.b <- nrow( mix.mat) n.f <- ncol( mix.mat) n.by.pop <- tabulate( bg, n.b) ...
/R/randomism.R
no_license
cran/tossm
R
false
false
758
r
"randomism" <- function( rland, mix.mat){ # Each animal selects FIMA anew each year # Prob of FIMA depends on BG random.set.f <- function( rland){ bg <- landscape.populations( rland) # breeding group n.b <- nrow( mix.mat) n.f <- ncol( mix.mat) n.by.pop <- tabulate( bg, n.b) ...
## The two functions below are used to create a special object that stores a matrix and cache's its inverse ## The makeCacheMatrix creates a list which contains functions to ## 1. set the value of a matrix ## 2. get the value of the matrix ## 3. set the value of the inverse of a matrix ## 4. get the value of the inve...
/cachematrix.R
no_license
greatdevelper/ProgrammingAssignment2
R
false
false
1,283
r
## The two functions below are used to create a special object that stores a matrix and cache's its inverse ## The makeCacheMatrix creates a list which contains functions to ## 1. set the value of a matrix ## 2. get the value of the matrix ## 3. set the value of the inverse of a matrix ## 4. get the value of the inve...
## Where is this folder? getwd() # Get working directory ## Assigning variables x <- 1 ## using variables x*2 # arrays words <- c("these", "are", "words") words <- as.data.frame(words) names(words) row.names(words) # Accessing variables within dataframe words$newColumn <- "words" words$numbers <- 1:3 # Basic math s...
/helloWorld/helloWorld.R
no_license
bekahdevore/rKW
R
false
false
713
r
## Where is this folder? getwd() # Get working directory ## Assigning variables x <- 1 ## using variables x*2 # arrays words <- c("these", "are", "words") words <- as.data.frame(words) names(words) row.names(words) # Accessing variables within dataframe words$newColumn <- "words" words$numbers <- 1:3 # Basic math s...
# F-UJI # # A Service for Evaluating Research Data Objects Based on <a href ='https://doi.org/10.5281/zenodo.3775793'>FAIRsFAIR Metrics</a>. <p> This work was supported by the <a href='https://www.fairsfair.eu/'>FAIRsFAIR</a> project (H2020-INFRAEOSC-2018-2020 Grant Agreement 831558). # # The version of the OpenAPI doc...
/R/formal_metadata_output_inner.R
no_license
NFDI4Chem/rfuji
R
false
false
4,015
r
# F-UJI # # A Service for Evaluating Research Data Objects Based on <a href ='https://doi.org/10.5281/zenodo.3775793'>FAIRsFAIR Metrics</a>. <p> This work was supported by the <a href='https://www.fairsfair.eu/'>FAIRsFAIR</a> project (H2020-INFRAEOSC-2018-2020 Grant Agreement 831558). # # The version of the OpenAPI doc...
\name{polr.power} \alias{polr.power} \title{Power and Sample Size Calculations for Proportional Odds Logistic Regression} \description{Calculates power, sample size, OR's, etc... for proportional odds logistic regression.} \usage{polr.power(n = NULL, pc = NULL, pt = NULL, sig.level = 0.05, power = 0.8, OR = NULL)}...
/Rtools/man/polr.power.Rd
no_license
johnsonra/Rtools
R
false
false
1,355
rd
\name{polr.power} \alias{polr.power} \title{Power and Sample Size Calculations for Proportional Odds Logistic Regression} \description{Calculates power, sample size, OR's, etc... for proportional odds logistic regression.} \usage{polr.power(n = NULL, pc = NULL, pt = NULL, sig.level = 0.05, power = 0.8, OR = NULL)}...
load.libraries <- c('data.table', 'testthat', 'gridExtra', 'corrplot', 'GGally', 'ggplot2', 'e1071', 'dplyr') install.lib <- load.libraries[!load.libraries %in% installed.packages()] for(libs in install.lib) install.packages(libs, dependences = TRUE) sapply(load.libraries, require, character = TRUE) train <- fread('t...
/houseprices/houseprice1.R
no_license
meenasirisha145/meenar
R
false
false
6,173
r
load.libraries <- c('data.table', 'testthat', 'gridExtra', 'corrplot', 'GGally', 'ggplot2', 'e1071', 'dplyr') install.lib <- load.libraries[!load.libraries %in% installed.packages()] for(libs in install.lib) install.packages(libs, dependences = TRUE) sapply(load.libraries, require, character = TRUE) train <- fread('t...
library(irtoys) ### Name: rim ### Title: Item-total regressions for the Rasch vs. the interaction model ### Aliases: rim ### Keywords: models ### ** Examples rim(Scored, items=2)
/data/genthat_extracted_code/irtoys/examples/rim.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
188
r
library(irtoys) ### Name: rim ### Title: Item-total regressions for the Rasch vs. the interaction model ### Aliases: rim ### Keywords: models ### ** Examples rim(Scored, items=2)
library(pollen) ### Name: outliers_replacer ### Title: A Outliers Replacer Function ### Aliases: outliers_replacer ### Keywords: outliers pollen pollen, ### ** Examples data(pollen_count) df <- subset(pollen_count, site=='Shire') new_df <- outliers_replacer(df$birch, df$date) identical(df, new_df) library('purrr'...
/data/genthat_extracted_code/pollen/examples/outliers_replacer.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
459
r
library(pollen) ### Name: outliers_replacer ### Title: A Outliers Replacer Function ### Aliases: outliers_replacer ### Keywords: outliers pollen pollen, ### ** Examples data(pollen_count) df <- subset(pollen_count, site=='Shire') new_df <- outliers_replacer(df$birch, df$date) identical(df, new_df) library('purrr'...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rtercen.R \docType{data} \name{TercenClient} \alias{TercenClient} \title{Tercen Client} \format{An object of class \code{R6ClassGenerator} of length 24.} \usage{ TercenClient } \description{ Tercen Client } \keyword{datasets}
/man/TercenClient.Rd
no_license
fnaji/rtercen
R
false
true
305
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rtercen.R \docType{data} \name{TercenClient} \alias{TercenClient} \title{Tercen Client} \format{An object of class \code{R6ClassGenerator} of length 24.} \usage{ TercenClient } \description{ Tercen Client } \keyword{datasets}
# Assignment: ASSIGNMENT 00 # Name: Misra, Abhigyan # Date: 2020-08-31 # Basics ## Add 8 and 5 8+5 ## Subtract 6 from 22 22-6 ## Multiply 6 by 7 6*7 ## Add 4 to 6 and divide the result by 2 (4+6)/2 ## Compute 5 modulo 2 5 %% 2 ## Assign the value 82 to the variable x ## Print x x <- 82 x ## Assign the value 41 ...
/completed/assignment00/assignment_00_MisraAbhigyan.R
permissive
abhigyanmisra/dsc520
R
false
false
932
r
# Assignment: ASSIGNMENT 00 # Name: Misra, Abhigyan # Date: 2020-08-31 # Basics ## Add 8 and 5 8+5 ## Subtract 6 from 22 22-6 ## Multiply 6 by 7 6*7 ## Add 4 to 6 and divide the result by 2 (4+6)/2 ## Compute 5 modulo 2 5 %% 2 ## Assign the value 82 to the variable x ## Print x x <- 82 x ## Assign the value 41 ...