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
\alias{pangoLayoutSetAttributes} \name{pangoLayoutSetAttributes} \title{pangoLayoutSetAttributes} \description{Sets the text attributes for a layout object.} \usage{pangoLayoutSetAttributes(object, attrs)} \arguments{ \item{\code{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\code{attrs}}{[\c...
/man/pangoLayoutSetAttributes.Rd
no_license
cran/RGtk2.10
R
false
false
452
rd
\alias{pangoLayoutSetAttributes} \name{pangoLayoutSetAttributes} \title{pangoLayoutSetAttributes} \description{Sets the text attributes for a layout object.} \usage{pangoLayoutSetAttributes(object, attrs)} \arguments{ \item{\code{object}}{[\code{\link{PangoLayout}}] a \code{\link{PangoLayout}}} \item{\code{attrs}}{[\c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/where.r \name{where} \alias{where} \title{Multiple ifelse clauses} \usage{ where(.x, ...) } \arguments{ \item{.x}{Vector of values to match against} \item{...}{Either formulas with a condition as LHS (optional) and an action as RHS. Or named...
/man/where.Rd
no_license
STAT-UP/statupinternal
R
false
true
870
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/where.r \name{where} \alias{where} \title{Multiple ifelse clauses} \usage{ where(.x, ...) } \arguments{ \item{.x}{Vector of values to match against} \item{...}{Either formulas with a condition as LHS (optional) and an action as RHS. Or named...
### load packages ### library(pROC) library(caret) ### logistic regression ### # case-control study includes 1327 women aged 50-81 with hip fractures # as well as 3262 randomly selected women in the same age range # among the cases, 40 women take hormone replacement therapy (HRT); among the controls, 239 women do #...
/lab3.R
no_license
niklaslang/UoE_MATH11174
R
false
false
8,715
r
### load packages ### library(pROC) library(caret) ### logistic regression ### # case-control study includes 1327 women aged 50-81 with hip fractures # as well as 3262 randomly selected women in the same age range # among the cases, 40 women take hormone replacement therapy (HRT); among the controls, 239 women do #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/uniqart.number.R \name{uniqart.number} \alias{uniqart.number} \title{Number of unique articles after duplicate removal} \usage{ uniqart.number(orig.articles = 11786, percent.unique = 72.1) } \description{ This function calculates the number o...
/man/uniqart.number.Rd
permissive
nealhaddaway/predicter
R
false
true
912
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/uniqart.number.R \name{uniqart.number} \alias{uniqart.number} \title{Number of unique articles after duplicate removal} \usage{ uniqart.number(orig.articles = 11786, percent.unique = 72.1) } \description{ This function calculates the number o...
#Copyright (c) 2009-2022 Sebastien Bihorel #All rights reserved. # #This file is part of scaRabee. # # scaRabee 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, either version 3 of the License, or # ...
/R/scarabee.new.R
no_license
cran/scaRabee
R
false
false
8,339
r
#Copyright (c) 2009-2022 Sebastien Bihorel #All rights reserved. # #This file is part of scaRabee. # # scaRabee 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, either version 3 of the License, or # ...
library(dsa) ### Name: xts2ts ### Title: Change xts to ts ### Aliases: xts2ts ### ** Examples xts2ts(xts::xts(rnorm(1095, 10,1), seq.Date(as.Date("2010-01-01"), length.out=1095, by="days")))
/data/genthat_extracted_code/dsa/examples/xts2ts.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
198
r
library(dsa) ### Name: xts2ts ### Title: Change xts to ts ### Aliases: xts2ts ### ** Examples xts2ts(xts::xts(rnorm(1095, 10,1), seq.Date(as.Date("2010-01-01"), length.out=1095, by="days")))
#' Calculates the mutual information between the probability distributions #' of the (binned) values of the time series of pairs of nodes. #' First, the mutual information is computed between each pair of #' vertices. Then, a thresholding condition is applied to obtain #' edges. #' The results dictionary also stores t...
/R/mutual_information_matrix.R
no_license
zhaoyizhuang/constructnet
R
false
false
5,261
r
#' Calculates the mutual information between the probability distributions #' of the (binned) values of the time series of pairs of nodes. #' First, the mutual information is computed between each pair of #' vertices. Then, a thresholding condition is applied to obtain #' edges. #' The results dictionary also stores t...
##' Summaries of fitted flexible survival models ##' ##' Return fitted survival, cumulative hazard or hazard at a series of times ##' from a fitted \code{\link{flexsurvreg}} or \code{\link{flexsurvspline}} ##' model. ##' ##' Time-dependent covariates are not currently supported. The covariate ##' values are assumed ...
/fuzzedpackages/flexsurv/R/summary.flexsurvreg.R
no_license
akhikolla/testpackages
R
false
false
19,710
r
##' Summaries of fitted flexible survival models ##' ##' Return fitted survival, cumulative hazard or hazard at a series of times ##' from a fitted \code{\link{flexsurvreg}} or \code{\link{flexsurvspline}} ##' model. ##' ##' Time-dependent covariates are not currently supported. The covariate ##' values are assumed ...
bartlett.exp.test <- function(x, simulate.p.value=FALSE, nrepl=2000) { calcB <- function(z) { n <- length(x) L <- log(sum(x) / n) S <- 0 for (i in 1 : n) { S = S + log(x[i]) } S = S / n B <- 12 * n ^ 2 / (7 * n + 1) * (L + S) re...
/R/bartlet.exp.test.R
no_license
zuevmaxim/exptest
R
false
false
1,208
r
bartlett.exp.test <- function(x, simulate.p.value=FALSE, nrepl=2000) { calcB <- function(z) { n <- length(x) L <- log(sum(x) / n) S <- 0 for (i in 1 : n) { S = S + log(x[i]) } S = S / n B <- 12 * n ^ 2 / (7 * n + 1) * (L + S) re...
#https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip hpc<-read.table("household_power_consumption.txt",header=TRUE,sep=";",stringsAsFactors = FALSE) library(dplyr) dfhpc<-tbl_df(hpc) smallhpc<-subset(dfhpc,Date=="1/2/2007"|Date=="2/2/2007") library(lubridate) datehpc<-mutate(smallhpc,...
/plot2.R
no_license
ZachDetweiler3/ExData_Plotting1
R
false
false
614
r
#https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip hpc<-read.table("household_power_consumption.txt",header=TRUE,sep=";",stringsAsFactors = FALSE) library(dplyr) dfhpc<-tbl_df(hpc) smallhpc<-subset(dfhpc,Date=="1/2/2007"|Date=="2/2/2007") library(lubridate) datehpc<-mutate(smallhpc,...
test_that("get_rasters works for different raster inputs", { #Fulanus_Ecorasters_download <- # get_rasters( # ext = FulanusDistribution, # margin = 5, # non_fixed_var = c('prec', 'tmin', 'tmax'), # years = c("present", '2050', '2070'), # scenarios = c('rcp26', 'rcp45', 'rcp85'), ...
/tests/testthat/test_get_rasters.R
no_license
juvelas/Mapinguari
R
false
false
1,842
r
test_that("get_rasters works for different raster inputs", { #Fulanus_Ecorasters_download <- # get_rasters( # ext = FulanusDistribution, # margin = 5, # non_fixed_var = c('prec', 'tmin', 'tmax'), # years = c("present", '2050', '2070'), # scenarios = c('rcp26', 'rcp45', 'rcp85'), ...
listofpackages<-c("readxl","imputeTS","zoo","plyr","ggplot2","forecast") new.pack<-listofpackages[!(listofpackages %in% installed.packages()[,"Package"])] if(length(new.pack)) install.packages(new.pack,repos='http://cran.us.r-project.org',dependencies = T) lapply(listofpackages, require, character.only = TRUE) # r...
/analysis.R
no_license
Arrolag/Time_series_PetFoodKeyword_quarterly
R
false
false
5,361
r
listofpackages<-c("readxl","imputeTS","zoo","plyr","ggplot2","forecast") new.pack<-listofpackages[!(listofpackages %in% installed.packages()[,"Package"])] if(length(new.pack)) install.packages(new.pack,repos='http://cran.us.r-project.org',dependencies = T) lapply(listofpackages, require, character.only = TRUE) # r...
# Interlude 3 # Descriptive Statistics exercises # ================================== # # Using your R editor, load this file and edit it, adding R code to complete each exercise. # Save it. Then you'll have a record of how you solved the exercises. # # TIPS: # - Use comments (#) in your code, if you need to explain ...
/exercises/exercises-descriptive-statistics.R
no_license
star7777777/hsws
R
false
false
7,247
r
# Interlude 3 # Descriptive Statistics exercises # ================================== # # Using your R editor, load this file and edit it, adding R code to complete each exercise. # Save it. Then you'll have a record of how you solved the exercises. # # TIPS: # - Use comments (#) in your code, if you need to explain ...
# ----------- # Scatterplot # ----------- library(shiny) library(lessR) clr.one <- list( "#324E5C", "dodgerblue3", "cornflowerblue", "steelblue", "darkblue", "pink2", "red3", "firebrick2", "darkred", "violetred", "mediumorchid", "purple3", "darkorange2", "salmon", "orange3", "sienna", "rosybrown", "wheat3"...
/inst/shiny_apps/ScatterPlot/app.R
no_license
cran/lessR
R
false
false
23,052
r
# ----------- # Scatterplot # ----------- library(shiny) library(lessR) clr.one <- list( "#324E5C", "dodgerblue3", "cornflowerblue", "steelblue", "darkblue", "pink2", "red3", "firebrick2", "darkred", "violetred", "mediumorchid", "purple3", "darkorange2", "salmon", "orange3", "sienna", "rosybrown", "wheat3"...
#' @importFrom glue collapse backtick format_items <- function(x) { paste0( collapse(backtick(x), sep = ", ", last = " and ") ) } pkg_theme <- function() { list(".alert-start" = list( before = paste0(symbol$arrow_right, " ") )) } cat_msg <- function(str) { cat(bold(str), sep = "\n") }
/R/print.R
permissive
slopp/pkgdepends
R
false
false
308
r
#' @importFrom glue collapse backtick format_items <- function(x) { paste0( collapse(backtick(x), sep = ", ", last = " and ") ) } pkg_theme <- function() { list(".alert-start" = list( before = paste0(symbol$arrow_right, " ") )) } cat_msg <- function(str) { cat(bold(str), sep = "\n") }
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/cepan.R \name{cepan} \alias{cepan} \title{Calculate censoring point} \usage{ cepan(ev, mu = 0, r = 5^0.5, side_censored = "left") } \arguments{ \item{ev}{expected value.} \item{mu}{mean of distribution prior to censoring.}...
/man/cepan.Rd
no_license
cran/epandist
R
false
false
1,368
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/cepan.R \name{cepan} \alias{cepan} \title{Calculate censoring point} \usage{ cepan(ev, mu = 0, r = 5^0.5, side_censored = "left") } \arguments{ \item{ev}{expected value.} \item{mu}{mean of distribution prior to censoring.}...
# @file AchillesViewResults # # Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of Achilles # # 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 # # h...
/R/AchillesViewResults.R
permissive
Tubbz-alt/Achilles
R
false
false
10,325
r
# @file AchillesViewResults # # Copyright 2019 Observational Health Data Sciences and Informatics # # This file is part of Achilles # # 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 # # h...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/kpPlotRainfall.R \name{kpPlotRainfall} \alias{kpPlotRainfall} \title{kpPlotRainfall} \usage{ kpPlotRainfall(karyoplot, data, ref=NULL, alt=NULL, col="cell21breast", ymin=NULL, ymax=7, data.panel=1, r0=NULL, r1=NULL, clipping=TRUE, ...) } \arg...
/man/kpPlotRainfall.Rd
no_license
bernatgel/karyoploteR
R
false
true
4,188
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/kpPlotRainfall.R \name{kpPlotRainfall} \alias{kpPlotRainfall} \title{kpPlotRainfall} \usage{ kpPlotRainfall(karyoplot, data, ref=NULL, alt=NULL, col="cell21breast", ymin=NULL, ymax=7, data.panel=1, r0=NULL, r1=NULL, clipping=TRUE, ...) } \arg...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stan_glmer.R \name{stan_glmer} \alias{stan_glmer} \alias{stan_lmer} \alias{stan_glmer.nb} \title{Bayesian generalized linear models with group-specific terms via Stan} \usage{ stan_glmer( formula, data = NULL, family = gaussian, subse...
/fuzzedpackages/rstanarm/man/stan_glmer.Rd
no_license
akhikolla/testpackages
R
false
true
11,929
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stan_glmer.R \name{stan_glmer} \alias{stan_glmer} \alias{stan_lmer} \alias{stan_glmer.nb} \title{Bayesian generalized linear models with group-specific terms via Stan} \usage{ stan_glmer( formula, data = NULL, family = gaussian, subse...
source("impact-methods/rOpenLCA.R") mcn<-1 #Rmemeber to Specify number of MC trials am<-read.csv("Graphite Paint/technology_matrix.csv", header=FALSE, stringsAsFactors=FALSE) bm<-read.csv("Graphite Paint/intervention_matrix.csv", header=TRUE,stringsAsFactors=FALSE) #native thickness is 25um. Some evidence 5um might...
/Graphite Paint/graphite_paint_model.R
no_license
ryscott5/Scott_Cullen_LCA
R
false
false
4,059
r
source("impact-methods/rOpenLCA.R") mcn<-1 #Rmemeber to Specify number of MC trials am<-read.csv("Graphite Paint/technology_matrix.csv", header=FALSE, stringsAsFactors=FALSE) bm<-read.csv("Graphite Paint/intervention_matrix.csv", header=TRUE,stringsAsFactors=FALSE) #native thickness is 25um. Some evidence 5um might...
#!/share/nas2/genome/biosoft/R/3.1.1/lib64/R/bin/Rscript # usage function usage <- function() { print("-------------------------------------------------------------------------------") print("Usage: Rscript bin/kog_anno_plot.r in.stat out.png") print("1) in.stat: the stat file for KOG anno") print("2) out.png: th...
/bin/start_from_deg_analysis/bin/lnc_diff/v3.4/bin/Enrichment/kog_anno_plot.r
no_license
baibaijingjing/LncRNA
R
false
false
1,284
r
#!/share/nas2/genome/biosoft/R/3.1.1/lib64/R/bin/Rscript # usage function usage <- function() { print("-------------------------------------------------------------------------------") print("Usage: Rscript bin/kog_anno_plot.r in.stat out.png") print("1) in.stat: the stat file for KOG anno") print("2) out.png: th...
library(data.table) library(dplyr) #Read data sets trainDat <- read.table("./UCI HAR Dataset/train/X_train.txt") trainDat <- data.table(trainDat) testDat <- read.table("./UCI HAR Dataset/test/X_test.txt") testDat <- data.table(testDat) #Read Training labels trainLabels <- fread("./UCI HAR Dataset/train/Y_train.txt")...
/run_analysis.R
no_license
woonshong/Getting-and-Cleaning-Data-Assignment
R
false
false
2,205
r
library(data.table) library(dplyr) #Read data sets trainDat <- read.table("./UCI HAR Dataset/train/X_train.txt") trainDat <- data.table(trainDat) testDat <- read.table("./UCI HAR Dataset/test/X_test.txt") testDat <- data.table(testDat) #Read Training labels trainLabels <- fread("./UCI HAR Dataset/train/Y_train.txt")...
library(QGglmm) ### Name: QGmvmean ### Title: Compute the multivariate phenotypic mean on the observed scale ### Aliases: QGmvmean ### ** Examples ## Example using a bivariate model (Binary trait/Gaussian trait) # Parameters mu <- c(0, 1) P <- diag(c(1, 4)) # Note: no phenotypic, nor genetic correlations, hence sh...
/data/genthat_extracted_code/QGglmm/examples/QGmvmean.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,056
r
library(QGglmm) ### Name: QGmvmean ### Title: Compute the multivariate phenotypic mean on the observed scale ### Aliases: QGmvmean ### ** Examples ## Example using a bivariate model (Binary trait/Gaussian trait) # Parameters mu <- c(0, 1) P <- diag(c(1, 4)) # Note: no phenotypic, nor genetic correlations, hence sh...
## Author : Rajendra Koli ## Last Updated Date : 03/12/2016 ## This function creates a special "matrix" object that can cache its inverse ## makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(inverse) inv <<- ...
/cachematrix.R
no_license
rajendrakoli/ProgrammingAssignment2
R
false
false
971
r
## Author : Rajendra Koli ## Last Updated Date : 03/12/2016 ## This function creates a special "matrix" object that can cache its inverse ## makeCacheMatrix <- function(x = matrix()) { inv <- NULL set <- function(y) { x <<- y inv <<- NULL } get <- function() x setInverse <- function(inverse) inv <<- ...
setwd("C:/Users/dec260/Desktop/Coursera/ExData_Plotting1/Data") EnergyData = read.table("household_power_consumption.txt", sep=";", header=TRUE) EnergyData$Date = as.Date(EnergyData$Date, format="%d/%m/%Y") FebEnergyData = subset(EnergyData, Date == as.Date("2007-02-01", "%Y-%m-%d") | Date == as.Date("2007-02-02", "%Y...
/plot4.R
no_license
rraillon/ExData_Plotting1
R
false
false
1,828
r
setwd("C:/Users/dec260/Desktop/Coursera/ExData_Plotting1/Data") EnergyData = read.table("household_power_consumption.txt", sep=";", header=TRUE) EnergyData$Date = as.Date(EnergyData$Date, format="%d/%m/%Y") FebEnergyData = subset(EnergyData, Date == as.Date("2007-02-01", "%Y-%m-%d") | Date == as.Date("2007-02-02", "%Y...
# This script reads the yield and persistency gene lists and uses topGO # to perform an enrichment analysis. Some pointers/useage examples came # from: https://www.biostars.org/p/9641/. There are also some helpful # tips in a Slideshare talk by Gomez: # http://www.slideshare.net/aubombarely/gotermsanalysiswithr. # # Th...
/run_topgo_breed_intersections.r
no_license
wintermind/pers-nets
R
false
false
4,996
r
# This script reads the yield and persistency gene lists and uses topGO # to perform an enrichment analysis. Some pointers/useage examples came # from: https://www.biostars.org/p/9641/. There are also some helpful # tips in a Slideshare talk by Gomez: # http://www.slideshare.net/aubombarely/gotermsanalysiswithr. # # Th...
#' @useDynLib gRain ## Vanilla R imports (and exports) ## ------------------------------- #' @importFrom stats xtabs runif terms #' addmargins as.formula cov.wt fitted formula #' ftable getCall logLik loglin na.omit pchisq pf pnorm r2dtable #' terms update update.formula #' @importFrom utils combn str #...
/fuzzedpackages/gRain/R/NAMESPACE.R
no_license
akhikolla/testpackages
R
false
false
990
r
#' @useDynLib gRain ## Vanilla R imports (and exports) ## ------------------------------- #' @importFrom stats xtabs runif terms #' addmargins as.formula cov.wt fitted formula #' ftable getCall logLik loglin na.omit pchisq pf pnorm r2dtable #' terms update update.formula #' @importFrom utils combn str #...
library(testthat) library(geocard) test_check("geocard") test_that("geocard runs", { a <- geocard(wa_cases, "Washington", min_date = as.Date("2020-03-01")) expect_true(inherits(a, "htmlwidget")) })
/tests/testthat.R
permissive
covid-open-data/geocard
R
false
false
204
r
library(testthat) library(geocard) test_check("geocard") test_that("geocard runs", { a <- geocard(wa_cases, "Washington", min_date = as.Date("2020-03-01")) expect_true(inherits(a, "htmlwidget")) })
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/df.R \docType{data} \name{df_income} \alias{df_income} \title{Test data to run the examples} \format{ A data frame with 2 variables: \describe{ \item{monthly_income}{ } \item{sex}{ } } } \usage{ df_income } \description{ A da...
/man/df_income.Rd
no_license
cran/sprtt
R
false
true
416
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/df.R \docType{data} \name{df_income} \alias{df_income} \title{Test data to run the examples} \format{ A data frame with 2 variables: \describe{ \item{monthly_income}{ } \item{sex}{ } } } \usage{ df_income } \description{ A da...
library(lazytrade) library(magrittr) library(dplyr) library(readr) library(lubridate) library(testthat) context("data manipulation") path_data <- normalizePath(tempdir(),winslash = "/") file.copy(from = system.file("extdata", "Setup.csv", package = "lazytrade"), to = file.path(path_data, "Setup.csv"), over...
/tests/testthat/test-check_if_optimize.R
permissive
vzhomeexperiments/lazytrade
R
false
false
1,113
r
library(lazytrade) library(magrittr) library(dplyr) library(readr) library(lubridate) library(testthat) context("data manipulation") path_data <- normalizePath(tempdir(),winslash = "/") file.copy(from = system.file("extdata", "Setup.csv", package = "lazytrade"), to = file.path(path_data, "Setup.csv"), over...
#' Function to return NWC Intercomparison portal modeled data for a given site #' #' This function accepts a url and returns a data frame of daily data for that SOS request #' #' @param input url for SOS service for desired site data #' @return flow data frame containing desired time series #' @export #' @examples #'...
/R/RProjects/NWCCompare/R/SWE_CSV_IHA.R
no_license
jlthomps/EflowStats
R
false
false
1,365
r
#' Function to return NWC Intercomparison portal modeled data for a given site #' #' This function accepts a url and returns a data frame of daily data for that SOS request #' #' @param input url for SOS service for desired site data #' @return flow data frame containing desired time series #' @export #' @examples #'...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cBioDataPack.R \name{downloadStudy} \alias{downloadStudy} \alias{untarStudy} \alias{loadStudy} \title{Manually download, untar, and load study tarballs} \usage{ downloadStudy( cancer_study_id, use_cache = TRUE, force = FALSE, url_loca...
/man/downloadStudy.Rd
no_license
AxelitoMartin/cBioPortalData
R
false
true
2,884
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/cBioDataPack.R \name{downloadStudy} \alias{downloadStudy} \alias{untarStudy} \alias{loadStudy} \title{Manually download, untar, and load study tarballs} \usage{ downloadStudy( cancer_study_id, use_cache = TRUE, force = FALSE, url_loca...
########################vvvvvvvvvvvvBLACKVvvvvvvvvvv############################# ##### This is a function used in the rest of the code ##### ##### Another version exists in the microbes package ##### heatmap_black <- function(df,xvar,yvar,zvar,pvar, p) { ##### ...
/R/heatmap_black.R
no_license
atomczik/microbes
R
false
false
1,608
r
########################vvvvvvvvvvvvBLACKVvvvvvvvvvv############################# ##### This is a function used in the rest of the code ##### ##### Another version exists in the microbes package ##### heatmap_black <- function(df,xvar,yvar,zvar,pvar, p) { ##### ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/glottohelpers.R \name{gs_emptydistmat} \alias{gs_emptydistmat} \title{Create empty distance matrix} \usage{ gs_emptydistmat(names) } \arguments{ \item{names}{} } \value{ } \description{ Create empty distance matrix } \examples{ gs_emptydistm...
/man/gs_emptydistmat.Rd
permissive
HansonMenghan/glottospace
R
false
true
346
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/glottohelpers.R \name{gs_emptydistmat} \alias{gs_emptydistmat} \title{Create empty distance matrix} \usage{ gs_emptydistmat(names) } \arguments{ \item{names}{} } \value{ } \description{ Create empty distance matrix } \examples{ gs_emptydistm...
set.seed(99) # We want to create 10 clusters, allow 500 iterations, start with 5 random sets using "Lloyd" method kmncluster <- kmeans(na.omit(nr), centers = 10, iter.max = 500, nstart = 5, algorithm="Lloyd") # kmeans returns an object of class "kmeans" str(kmncluster) #Convert long to Wide #==========================...
/xold/scripts/Insurance_zones.R
no_license
bensonkenduiywo/IBLI
R
false
false
754
r
set.seed(99) # We want to create 10 clusters, allow 500 iterations, start with 5 random sets using "Lloyd" method kmncluster <- kmeans(na.omit(nr), centers = 10, iter.max = 500, nstart = 5, algorithm="Lloyd") # kmeans returns an object of class "kmeans" str(kmncluster) #Convert long to Wide #==========================...
testlist <- list(a = 0L, b = 0L, x = c(-1L, -12583129L, -16777216L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610127951-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
154
r
testlist <- list(a = 0L, b = 0L, x = c(-1L, -12583129L, -16777216L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(grattan:::anyOutside,testlist) str(result)
ml_backwards_compatibility_api <- function(envir = parent.frame()) { # retrieve dot arguments from envir dots <- eval(parse(text = "list(...)"), envir = envir) # allow 'max.iter' as a backwards compatible alias for 'iter.max' if (is.null(envir$iter.max) && !is.null(dots$max.iter)) assign("iter.max", dots$m...
/R/ml_backwards_compatibility.R
permissive
demel/sparklyr
R
false
false
346
r
ml_backwards_compatibility_api <- function(envir = parent.frame()) { # retrieve dot arguments from envir dots <- eval(parse(text = "list(...)"), envir = envir) # allow 'max.iter' as a backwards compatible alias for 'iter.max' if (is.null(envir$iter.max) && !is.null(dots$max.iter)) assign("iter.max", dots$m...
# Transforms a matrix 'geno' in an input list conformant to TRONCO's specifications. If this casting is not possible # errors are thrown. If no geno.annot/stage.annot parameters are defined, column names of geno are used as event names. # If these parameters are specified, they should be compliant with TRONCO's input (...
/loading/import.genotypes.R
no_license
zoulianmp/TRONCO-utilities
R
false
false
3,556
r
# Transforms a matrix 'geno' in an input list conformant to TRONCO's specifications. If this casting is not possible # errors are thrown. If no geno.annot/stage.annot parameters are defined, column names of geno are used as event names. # If these parameters are specified, they should be compliant with TRONCO's input (...
library(synapseClient) library(dplyr) synapseLogin() degenes.sage<-read.table(synGet("syn6038243")@filePath, sep = "\t", header = TRUE, comment.char = "") degenes.mgh<-read.table(synGet("syn6166525")@filePath, sep = "\t", header = TRUE, comment.char = "") degenes.ms<-read.table(synGet("syn7437782")@filePath, sep = "\t...
/RNASeq_analysis/SigDEGeneCheck.R
no_license
Sage-Bionetworks/Synodos_NF2
R
false
false
7,066
r
library(synapseClient) library(dplyr) synapseLogin() degenes.sage<-read.table(synGet("syn6038243")@filePath, sep = "\t", header = TRUE, comment.char = "") degenes.mgh<-read.table(synGet("syn6166525")@filePath, sep = "\t", header = TRUE, comment.char = "") degenes.ms<-read.table(synGet("syn7437782")@filePath, sep = "\t...
# Perform Mantel test between two Jaccard or Bray-Curtis distance matrices of the two years. # 24.4.2019 LH #install.packages("vegan") library(vegan) #install.packages("betapart") library(betapart) #setwd("/media/laur/wdhdd1/allNPBW/") data <- read.table("Reordered_for_pest_R_5_newFebNPBW_VL2.tsv", header=T, sep="\t", ...
/Mantel_tests_between_2yrs_dist_mats.R
no_license
laur34/Pest_and_Invasive_Species
R
false
false
3,011
r
# Perform Mantel test between two Jaccard or Bray-Curtis distance matrices of the two years. # 24.4.2019 LH #install.packages("vegan") library(vegan) #install.packages("betapart") library(betapart) #setwd("/media/laur/wdhdd1/allNPBW/") data <- read.table("Reordered_for_pest_R_5_newFebNPBW_VL2.tsv", header=T, sep="\t", ...
## File Name: starts_vector_with_names.R ## File Version: 0.02 starts_vector_with_names <- function( vec, vec_names ) { names(vec) <- vec_names return(vec) }
/R/starts_vector_with_names.R
no_license
alexanderrobitzsch/STARTS
R
false
false
168
r
## File Name: starts_vector_with_names.R ## File Version: 0.02 starts_vector_with_names <- function( vec, vec_names ) { names(vec) <- vec_names return(vec) }
#Copyright Jesper Dam #Supported by Pruitt, Kelly's Market Return paper #Section one, Investigate US returns on American Factors #Load Y's Market return 1975-2015 library(sandwich) library(lmtest) library(xtable) setwd("C:/Users/jesper/OneDrive/Master Thesis/Data testing/rstuff/10x10") ...
/10x10/10x10_1year_40y.R
no_license
Jesperdam/Master
R
false
false
6,387
r
#Copyright Jesper Dam #Supported by Pruitt, Kelly's Market Return paper #Section one, Investigate US returns on American Factors #Load Y's Market return 1975-2015 library(sandwich) library(lmtest) library(xtable) setwd("C:/Users/jesper/OneDrive/Master Thesis/Data testing/rstuff/10x10") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/say_something.R \name{say_something} \alias{say_something} \title{say_something} \usage{ say_something(message, voice) } \arguments{ \item{message}{The message to read.} \item{voice}{The voice to use.} } \description{ This is a helper functi...
/man/say_something.Rd
no_license
ctross/DieTryin
R
false
true
326
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/say_something.R \name{say_something} \alias{say_something} \title{say_something} \usage{ say_something(message, voice) } \arguments{ \item{message}{The message to read.} \item{voice}{The voice to use.} } \description{ This is a helper functi...
library(VGAMextra) ### Name: summaryS4VGAMextra-methods ### Title: Summary methods for Vector Generalized Time Series Models ### Aliases: summaryS4VGAMextra 'summaryS4VGAMextra, vgltsmff-method' ### ** Examples ## No test: #------------------------------------------------------------------------# # Fitting a simp...
/data/genthat_extracted_code/VGAMextra/examples/summaryS4VGAMextra.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
2,449
r
library(VGAMextra) ### Name: summaryS4VGAMextra-methods ### Title: Summary methods for Vector Generalized Time Series Models ### Aliases: summaryS4VGAMextra 'summaryS4VGAMextra, vgltsmff-method' ### ** Examples ## No test: #------------------------------------------------------------------------# # Fitting a simp...
# Define some stopping rules. my_stopping1 <- StoppingMinCohorts(nCohorts = 3) my_stopping2 <- StoppingTargetProb(target = c(0.2, 0.35), prob = 0.5) my_stopping3 <- StoppingMinPatients(nPatients = 20) # Create a list of stopping rules (of class `StoppingAny`) which would then be # summarized by the `any` function, me...
/examples/Rules-class-StoppingAny.R
no_license
Roche/crmPack
R
false
false
495
r
# Define some stopping rules. my_stopping1 <- StoppingMinCohorts(nCohorts = 3) my_stopping2 <- StoppingTargetProb(target = c(0.2, 0.35), prob = 0.5) my_stopping3 <- StoppingMinPatients(nPatients = 20) # Create a list of stopping rules (of class `StoppingAny`) which would then be # summarized by the `any` function, me...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/Compound.R \name{CompoundLT} \alias{CompoundLT} \title{Compound option valuation via lattice tree (LT) model} \usage{ CompoundLT(o1 = OptPx(Opt(Style = "Compound")), o2 = OptPx(Opt(Style = "Compound"))) } \arguments{ \item...
/man/CompoundLT.Rd
no_license
cran/QFRM
R
false
false
2,325
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/Compound.R \name{CompoundLT} \alias{CompoundLT} \title{Compound option valuation via lattice tree (LT) model} \usage{ CompoundLT(o1 = OptPx(Opt(Style = "Compound")), o2 = OptPx(Opt(Style = "Compound"))) } \arguments{ \item...
#!/bin/env Rscript args <- commandArgs(trailingOnly = TRUE) sumstats.file <- args[1] clump.file <- args[2] outfile <- args[3] library(data.table) sumstats <- fread(sumstats.file) sumstats <- sumstats[,-c("P")] names(sumstats) <- gsub("Z","BETA",names(sumstats)) clump <- read.table(clump.file, header = TRUE) dfm <-...
/modules/sumstats/clump/add.alleles.R
no_license
drveera/genie
R
false
false
417
r
#!/bin/env Rscript args <- commandArgs(trailingOnly = TRUE) sumstats.file <- args[1] clump.file <- args[2] outfile <- args[3] library(data.table) sumstats <- fread(sumstats.file) sumstats <- sumstats[,-c("P")] names(sumstats) <- gsub("Z","BETA",names(sumstats)) clump <- read.table(clump.file, header = TRUE) dfm <-...
# ################################################################### # Libraries # ################################################################### library(tibble) library(rjson) library(xml2) library(tidytext) library(tokenizers) library(tidyr) library(dplyr) library(widyr) library(chron) library(openxlsx) libra...
/scripts/news_selector_weekly.R
no_license
jkubajek/News_Selector
R
false
false
12,924
r
# ################################################################### # Libraries # ################################################################### library(tibble) library(rjson) library(xml2) library(tidytext) library(tokenizers) library(tidyr) library(dplyr) library(widyr) library(chron) library(openxlsx) libra...
#' Create scatter plot of two attributes #' #' Creates the X-Y scatter plot of two numeric attributes of a lineage or division tree. #' #' Each data point (x,y) represents the value of \code{attr1} and \code{attr2} of a cell, respectively. #' The scatter plot is created for all cells that are included in the analysis, ...
/R/plot_dot_attr2.R
no_license
vicstefanou/ViSCA
R
false
false
12,670
r
#' Create scatter plot of two attributes #' #' Creates the X-Y scatter plot of two numeric attributes of a lineage or division tree. #' #' Each data point (x,y) represents the value of \code{attr1} and \code{attr2} of a cell, respectively. #' The scatter plot is created for all cells that are included in the analysis, ...
rm(list = ls()) library(Daniel) library(dplyr) library(nnet) CalcCImultinom <- function(fit) { s <- summary(fit) coef <- s$coefficients ses <- s$standard.errors ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2] ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2] return(rbind(ci.1,ci.2)) } #key # A, B,C,D,E,F - betaE[2] =...
/Simulations/Scripts/R/Rare/Scenario 13/CMPEn50KrareScen13AE.R
no_license
yadevi/CausalMPE
R
false
false
4,221
r
rm(list = ls()) library(Daniel) library(dplyr) library(nnet) CalcCImultinom <- function(fit) { s <- summary(fit) coef <- s$coefficients ses <- s$standard.errors ci.1 <- coef[1,2] + c(-1, 1)*1.96*ses[1, 2] ci.2 <- coef[2,2] + c(-1, 1)*1.96*ses[2, 2] return(rbind(ci.1,ci.2)) } #key # A, B,C,D,E,F - betaE[2] =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mateable.R \docType{package} \name{mateable-package} \alias{mateable-package} \alias{mateable} \title{Tools to simulate, manage, visualize, and jointly analyze spatially and temporally explicit datasets of mating potential} \description{ This...
/man/mateable-package.Rd
no_license
stuartWagenius/mateable
R
false
true
930
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mateable.R \docType{package} \name{mateable-package} \alias{mateable-package} \alias{mateable} \title{Tools to simulate, manage, visualize, and jointly analyze spatially and temporally explicit datasets of mating potential} \description{ This...
#!/usr/bin/env Rscript tknewic <- read.csv("~/newmeths.txt", header=TRUE) tknewcumsum<-data.frame(count=tknewic$Count, tkcumnewthreadsum=cumsum(rowSums(tknewic[,-1], na.rm=TRUE))) write.table(tknewcumsum, file="Noutput.txt")
/testthrash.R
no_license
mcmenaminadrian/R-utilities
R
false
false
225
r
#!/usr/bin/env Rscript tknewic <- read.csv("~/newmeths.txt", header=TRUE) tknewcumsum<-data.frame(count=tknewic$Count, tkcumnewthreadsum=cumsum(rowSums(tknewic[,-1], na.rm=TRUE))) write.table(tknewcumsum, file="Noutput.txt")
library(RIA) ### Name: glrlm_stat ### Title: GLRLM-based statistics ### Aliases: glrlm_stat ### ** Examples ## Not run: ##D #Discretize loaded image and then calculate GLRLM statistics ##D RIA_image <- discretize(RIA_image, bins_in = 8, equal_prob = TRUE) ##D RIA_image <- glrlm(RIA_image, use_orig = FALSE, use_slo...
/data/genthat_extracted_code/RIA/examples/glrlm_stat.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
642
r
library(RIA) ### Name: glrlm_stat ### Title: GLRLM-based statistics ### Aliases: glrlm_stat ### ** Examples ## Not run: ##D #Discretize loaded image and then calculate GLRLM statistics ##D RIA_image <- discretize(RIA_image, bins_in = 8, equal_prob = TRUE) ##D RIA_image <- glrlm(RIA_image, use_orig = FALSE, use_slo...
# Copyright 2018 Observational Health Data Sciences and Informatics # # This file is part of FebuxostatVsAllopurinolCVD # # 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:...
/R/ShinyApps.R
permissive
chandryou/FebuxostatVsAllopurinolCVD
R
false
false
4,773
r
# Copyright 2018 Observational Health Data Sciences and Informatics # # This file is part of FebuxostatVsAllopurinolCVD # # 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:...
# attach(params); attach(obs) # detach(params); detach(obs) obs_filter = function(params, obs) { output = with(append(params, obs), { ### ESCAPEMENT OBSERVATION FILTERING ### S_ts_obs_filtered = S_ts_obs # S_ts_obs_filtered = matrix(0, nt, ns) # proportion of substocks getting each samp...
/SimFitSRA/Functions/3b_obs_filter_function.R
no_license
bstaton1/r-n-shell
R
false
false
3,753
r
# attach(params); attach(obs) # detach(params); detach(obs) obs_filter = function(params, obs) { output = with(append(params, obs), { ### ESCAPEMENT OBSERVATION FILTERING ### S_ts_obs_filtered = S_ts_obs # S_ts_obs_filtered = matrix(0, nt, ns) # proportion of substocks getting each samp...
# Load the raw data from the zip File ProjectName <- "/GCData_Project" fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(fileUrl, destfile = "../Dataset.zip") if(!file.exists("../UCI HAR Dataset")) { unzip("../Dataset.zip", exdir = gsub(ProjectName,"",ge...
/run_analysis.R
no_license
SCgeeker/GCData_Project
R
false
false
2,596
r
# Load the raw data from the zip File ProjectName <- "/GCData_Project" fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(fileUrl, destfile = "../Dataset.zip") if(!file.exists("../UCI HAR Dataset")) { unzip("../Dataset.zip", exdir = gsub(ProjectName,"",ge...
# Example of femlm using trade data. # loading data data(trade) # Estimation with three sets of fixed-effects (Poisson) est_pois = femlm(Euros ~ log(dist_km) | Origin + Destination + Product, trade) # the result with two way clustered standard errors: summary(est_pois, se = "twoway") # estimation with Gaussian like...
/demo/femlm.R
no_license
lrberge/fixest
R
false
false
817
r
# Example of femlm using trade data. # loading data data(trade) # Estimation with three sets of fixed-effects (Poisson) est_pois = femlm(Euros ~ log(dist_km) | Origin + Destination + Product, trade) # the result with two way clustered standard errors: summary(est_pois, se = "twoway") # estimation with Gaussian like...
#THEME: Decision tree. #TASK: Classify wines on RED and WHITE. #Part 1. Data-preprocessing. #import libraries #install.packages('rpart.plot') #install.packages('corrplot') #install.packages('PerformanceAnalytics') library(dplyr) library(psych) library(corrplot) library("PerformanceAnalytics") #Re...
/Coursework_decision_tree.R
no_license
vikadenisova/coursework-decision-trees
R
false
false
2,280
r
#THEME: Decision tree. #TASK: Classify wines on RED and WHITE. #Part 1. Data-preprocessing. #import libraries #install.packages('rpart.plot') #install.packages('corrplot') #install.packages('PerformanceAnalytics') library(dplyr) library(psych) library(corrplot) library("PerformanceAnalytics") #Re...
#' @title idPad #' @description This function converts an all-integer employee ID into a specified format #' that includes leading zeroes. HR systems often create employee IDs that have leading zeroes. #' The leading zeroes can be lost when they are worked on in Excel or other tools. It's usually #' helpful to convert ...
/R/idPad.R
no_license
mattbaggott/hR
R
false
false
741
r
#' @title idPad #' @description This function converts an all-integer employee ID into a specified format #' that includes leading zeroes. HR systems often create employee IDs that have leading zeroes. #' The leading zeroes can be lost when they are worked on in Excel or other tools. It's usually #' helpful to convert ...
# Prepare data for statistical analysis # Merge ecozone-level data containing dissimilarity metrics for species and surrogates # For each ecozone, randomly select up to 500 representative and non-representative networks # PV 2021-02-16 library(tidyverse) library(broom) # First, bind ecozone-level tables and randomly ...
/code/04_merge_ecoz_by_spp.R
no_license
prvernier/surrogates
R
false
false
2,388
r
# Prepare data for statistical analysis # Merge ecozone-level data containing dissimilarity metrics for species and surrogates # For each ecozone, randomly select up to 500 representative and non-representative networks # PV 2021-02-16 library(tidyverse) library(broom) # First, bind ecozone-level tables and randomly ...
library(lolR) ### Name: lol.xval.split ### Title: Cross-Validation Data Splitter ### Aliases: lol.xval.split ### ** Examples # prepare data for 10-fold validation library(lolR) data <- lol.sims.rtrunk(n=200, d=30) # 200 examples of 30 dimensions X <- data$X; Y <- data$Y sets.xval.10fold <- lol.xval.split(X, Y, k=1...
/data/genthat_extracted_code/lolR/examples/lol.xval.split.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
409
r
library(lolR) ### Name: lol.xval.split ### Title: Cross-Validation Data Splitter ### Aliases: lol.xval.split ### ** Examples # prepare data for 10-fold validation library(lolR) data <- lol.sims.rtrunk(n=200, d=30) # 200 examples of 30 dimensions X <- data$X; Y <- data$Y sets.xval.10fold <- lol.xval.split(X, Y, k=1...
# Assignment: ASSIGNMENT 5.2 # Name: Homan, Chad # Date: 2021-04-13 # We interact with a few datasets in this course, one you are # Using either the same dataset(s) you used in the previous # weeks’ exercise or a brand-new dataset of your choosing, # perform the following transformations (Remember, anything # you lear...
/week05/housing.R
permissive
choman/dsc520
R
false
false
4,683
r
# Assignment: ASSIGNMENT 5.2 # Name: Homan, Chad # Date: 2021-04-13 # We interact with a few datasets in this course, one you are # Using either the same dataset(s) you used in the previous # weeks’ exercise or a brand-new dataset of your choosing, # perform the following transformations (Remember, anything # you lear...
#DataScience - Getting and Cleaning data (course #3) #Getting and Cleaning Data Course Project # Jetzgetzlos, 02/04/2017 #This script does the following. #- Merges the training and the test sets to create one data set. #- Extracts only the measurements on the mean and standard deviation for # each measurement. #- U...
/Course 3/Week4/Assignement/getdata_projectfiles_UCI HAR Dataset/run_analysis.R
no_license
jetzgetzlos/RCode
R
false
false
4,460
r
#DataScience - Getting and Cleaning data (course #3) #Getting and Cleaning Data Course Project # Jetzgetzlos, 02/04/2017 #This script does the following. #- Merges the training and the test sets to create one data set. #- Extracts only the measurements on the mean and standard deviation for # each measurement. #- U...
# install.packages("shiny") library(shiny) choice_list <- list("File Size (KB)" = 1, "Number of words" = 2, "Lexical Diversity" = 3, "Average word length" = 4) ui <- fluidPage( titlePanel("Text Files Analyzer"), fluidRow(column(6, selectInput("x", h3("...
/app/ui.R
no_license
mphilli/R-datafiles
R
false
false
599
r
# install.packages("shiny") library(shiny) choice_list <- list("File Size (KB)" = 1, "Number of words" = 2, "Lexical Diversity" = 3, "Average word length" = 4) ui <- fluidPage( titlePanel("Text Files Analyzer"), fluidRow(column(6, selectInput("x", h3("...
library(CDVine) ### Name: CDVineCopSelect ### Title: Sequential copula selection and estimation of C- and D-vine ### copula models ### Aliases: CDVineCopSelect ### ** Examples # simulate from a 4-dimensional D-vine copula with mixed pair-copulas d = 4 dd = d*(d-1)/2 family = c(1,2,3,4,7,3) par = c(0.5,0.4,2,1.5,1...
/data/genthat_extracted_code/CDVine/examples/CDVineCopSelect.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
589
r
library(CDVine) ### Name: CDVineCopSelect ### Title: Sequential copula selection and estimation of C- and D-vine ### copula models ### Aliases: CDVineCopSelect ### ** Examples # simulate from a 4-dimensional D-vine copula with mixed pair-copulas d = 4 dd = d*(d-1)/2 family = c(1,2,3,4,7,3) par = c(0.5,0.4,2,1.5,1...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/ProteinQuantification.R \name{ZA} \alias{ZA} \title{Protein Quantification Domain Variables} \description{ { \tabular{ll}{ \strong{Variable Name } \tab \strong{Variable Label} \cr STUDYID \tab Study Identifier \cr DOMAI...
/man/ZA.Rd
no_license
SanchitaB/RImmPort
R
false
false
1,023
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/ProteinQuantification.R \name{ZA} \alias{ZA} \title{Protein Quantification Domain Variables} \description{ { \tabular{ll}{ \strong{Variable Name } \tab \strong{Variable Label} \cr STUDYID \tab Study Identifier \cr DOMAI...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/learners.R \name{Learner} \alias{Learner} \title{Learner} \usage{ Learner(parameters, learning_rate_schedule) } \arguments{ \item{parameters}{– list of network parameters list of parameter associated with this learner} \item{learning_rate_sc...
/man/Learner.Rd
permissive
Bhaskers-Blu-Org2/CNTK-R
R
false
true
720
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/learners.R \name{Learner} \alias{Learner} \title{Learner} \usage{ Learner(parameters, learning_rate_schedule) } \arguments{ \item{parameters}{– list of network parameters list of parameter associated with this learner} \item{learning_rate_sc...
#' Basic methods for the \code{tsvreq} class #' #' Set, get, summary, print and plot methods for the \code{tsvreq} class. #' #' @param object,x,obj An object of class \code{tsvreq} #' @param newval A new value, for the \code{set_*} methods #' @param filename A filename, no extension, could have a path. Used for savin...
/R/tsvreq_methods.R
no_license
reumandc/tsvr
R
false
false
7,955
r
#' Basic methods for the \code{tsvreq} class #' #' Set, get, summary, print and plot methods for the \code{tsvreq} class. #' #' @param object,x,obj An object of class \code{tsvreq} #' @param newval A new value, for the \code{set_*} methods #' @param filename A filename, no extension, could have a path. Used for savin...
\name{abuocc} \alias{abuocc} \title{Abundance/Occurrence Graphical Analysis} \description{Calculates and plots summary statistics about species occurrences in a data frame} \usage{abuocc(comm,minabu=0,panel='all')} \arguments{ \item{comm}{a community data.frame with samples as rows and species as columns} ...
/man/abuocc.Rd
no_license
cran/labdsv
R
false
false
2,278
rd
\name{abuocc} \alias{abuocc} \title{Abundance/Occurrence Graphical Analysis} \description{Calculates and plots summary statistics about species occurrences in a data frame} \usage{abuocc(comm,minabu=0,panel='all')} \arguments{ \item{comm}{a community data.frame with samples as rows and species as columns} ...
####update.packages(checkBuilt=TRUE, ask=FALSE) #Data Undertanding: 1.How many records,2.how many variables are available & Formats& Data dictionary #3.Target variables,4.iNVALID/MISSIng values,5.outliers,6.Distribution of each variable #7.visualise data for insights, 8.summary statistics # dplyr pacakage-it is a gr...
/runr/200629/r/1593397110896-runr-3321740767860518-session_4_R_intro_26062020.r
no_license
variskindo/files
R
false
false
6,785
r
####update.packages(checkBuilt=TRUE, ask=FALSE) #Data Undertanding: 1.How many records,2.how many variables are available & Formats& Data dictionary #3.Target variables,4.iNVALID/MISSIng values,5.outliers,6.Distribution of each variable #7.visualise data for insights, 8.summary statistics # dplyr pacakage-it is a gr...
# process HBD/IBD result files from BEAGLE source('utils/util.R', echo = FALSE) #load("../Data/ID_table.RData") IBD_reformat_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/" IBD_segment_count_output_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/segment_stats_plots/" chr <- 7 IBD_f...
/scripts/cloud_IBD_segment_stats_chr7.R
permissive
hhuang2018/WGS_analysis
R
false
false
5,361
r
# process HBD/IBD result files from BEAGLE source('utils/util.R', echo = FALSE) #load("../Data/ID_table.RData") IBD_reformat_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/" IBD_segment_count_output_dir <- "/mnt/cloudbiodata_nfs_2/users/hhuang/IBD/IBD_seq_output/segment_stats_plots/" chr <- 7 IBD_f...
/Applied Probability II/Lab 3/Lab_3.R
no_license
gibbona1/TCD_Projects
R
false
false
1,662
r
library(readr) library(dplyr) library(stringr) library(purrr) library(tidyr) library(hellno) library(ggplot2) experiment_ <- list(data = data.frame(), ind_vars <- character(0), dep_vars <- character(0), mapping <- data.frame(col = character(0), ...
/shiny_apps/analyze_behaviorspace/process_bs.R
permissive
jonathan-g/ees4760_apps
R
false
false
6,334
r
library(readr) library(dplyr) library(stringr) library(purrr) library(tidyr) library(hellno) library(ggplot2) experiment_ <- list(data = data.frame(), ind_vars <- character(0), dep_vars <- character(0), mapping <- data.frame(col = character(0), ...
#' @title (Depreciated) FTRL-Proximal Linear Model Fitting Function #' #' @description #' FTRLProx.train.spMatrix estimates the weights of linear model using FTRL-Proximal Algorithm. #' This function is an Pure R implementation. #' This function is used internally and is not intended for end-user direct usage. #' #' @p...
/R/FTRLProx.train.spMatrix.R
no_license
yanyachen/rFTRLProximal
R
false
false
3,303
r
#' @title (Depreciated) FTRL-Proximal Linear Model Fitting Function #' #' @description #' FTRLProx.train.spMatrix estimates the weights of linear model using FTRL-Proximal Algorithm. #' This function is an Pure R implementation. #' This function is used internally and is not intended for end-user direct usage. #' #' @p...
library(dplyr) library(tidyr) library(caret) library(ggplot2) options(scipen=999) load(file="/mnt/week1.rda") data<-week1 rm(week1) data$displayed_price <-as.numeric(data$displayed_price) data$price2 <- findInterval(data$displayed_price, c(0.00001, 10, 20, 50, 100, 200, 300, 500, 750, 1000, 1500, 2000, 3000, 5000))...
/Position_order_EDA.R
no_license
activewizardslab/datascience_r
R
false
false
10,757
r
library(dplyr) library(tidyr) library(caret) library(ggplot2) options(scipen=999) load(file="/mnt/week1.rda") data<-week1 rm(week1) data$displayed_price <-as.numeric(data$displayed_price) data$price2 <- findInterval(data$displayed_price, c(0.00001, 10, 20, 50, 100, 200, 300, 500, 750, 1000, 1500, 2000, 3000, 5000))...
| pc = 0xc002 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 | | pc = 0xc003 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fc | p[NV-BDIZC] = 00110100 | MEM[0x01fd] = 0x40 | | pc = 0xc004 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 01110000 | MEM[0x01fd] = 0x40 | | pc = 0xc011 ...
/res/bvs_should_branch.r
permissive
JSpuri/EmuParadise
R
false
false
394
r
| pc = 0xc002 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 | | pc = 0xc003 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fc | p[NV-BDIZC] = 00110100 | MEM[0x01fd] = 0x40 | | pc = 0xc004 | a = 0x40 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 01110000 | MEM[0x01fd] = 0x40 | | pc = 0xc011 ...
###step1 extract pos file_raw=read.table("SV_raw_data.txt",header = F, sep="\t", quote = "", stringsAsFactors = FALSE, check.names = FALSE) name= c("Brca1_10.5E","Brca1_16.5E","Brca1_1M","Brca1_4M","Brca1_8M","Brca1_12M") file_raw=file_raw[(which(file_raw[,1] %in% name3)),] file_raw=file_raw[which(file_raw[,8]=="DE...
/03.Data_analysis/SV_classification_for_deletion_type/01.Extract_pos.R
no_license
xiaobing996/BRCA1_TRP53
R
false
false
806
r
###step1 extract pos file_raw=read.table("SV_raw_data.txt",header = F, sep="\t", quote = "", stringsAsFactors = FALSE, check.names = FALSE) name= c("Brca1_10.5E","Brca1_16.5E","Brca1_1M","Brca1_4M","Brca1_8M","Brca1_12M") file_raw=file_raw[(which(file_raw[,1] %in% name3)),] file_raw=file_raw[which(file_raw[,8]=="DE...
library(TelemetryR); library(lubridate); library(dplyr) detects <- readRDS('data/bsb_detections.rds') detects <- filter(detects, transmitter %in% paste0('A69-1601-', seq(44950, 44994, 1)), grepl('Inner|Outer|Middle', station), date.local <= '201...
/Code/intervention_analysis.R
no_license
mhpob/OCMD-BSB
R
false
false
3,393
r
library(TelemetryR); library(lubridate); library(dplyr) detects <- readRDS('data/bsb_detections.rds') detects <- filter(detects, transmitter %in% paste0('A69-1601-', seq(44950, 44994, 1)), grepl('Inner|Outer|Middle', station), date.local <= '201...
# remove variables rm(list=ls(all=TRUE)) library(cummeRbund) setwd("~/Documents/NCSU/RNAseq_CMM_BL_Unique/Analysis_ALL/05_BL_Uni_cuffdiff_ALL") getwd() cuff <- readCufflinks(rebuild=F) cuff TSS.filename <- "TSS_TAIR_only.data" ISO.filename <- "Isoform_TAIR_only.data" ############################## # some basic qualit...
/Isoforms_NoNovel_argument.R
no_license
Gonzalo-Villarino/Cufflinks_Isoforms
R
false
false
17,659
r
# remove variables rm(list=ls(all=TRUE)) library(cummeRbund) setwd("~/Documents/NCSU/RNAseq_CMM_BL_Unique/Analysis_ALL/05_BL_Uni_cuffdiff_ALL") getwd() cuff <- readCufflinks(rebuild=F) cuff TSS.filename <- "TSS_TAIR_only.data" ISO.filename <- "Isoform_TAIR_only.data" ############################## # some basic qualit...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_mod_power.R \name{plot_mod_power} \alias{plot_mod_power} \title{Plot Power Curve for Categorical Moderators} \usage{ plot_mod_power(obj) } \arguments{ \item{obj}{This should be an 'mod_power' object} } \value{ Power curves for moderator ...
/man/plot_mod_power.Rd
no_license
jasonwgriffin/metapower
R
false
true
447
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_mod_power.R \name{plot_mod_power} \alias{plot_mod_power} \title{Plot Power Curve for Categorical Moderators} \usage{ plot_mod_power(obj) } \arguments{ \item{obj}{This should be an 'mod_power' object} } \value{ Power curves for moderator ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.pinpoint_operations.R \name{update_gcm_channel} \alias{update_gcm_channel} \title{Use to update the GCM channel for an app} \usage{ update_gcm_channel(ApplicationId, GCMChannelRequest) } \arguments{ \item{ApplicationId}{[required] The un...
/service/paws.pinpoint/man/update_gcm_channel.Rd
permissive
CR-Mercado/paws
R
false
true
644
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.pinpoint_operations.R \name{update_gcm_channel} \alias{update_gcm_channel} \title{Use to update the GCM channel for an app} \usage{ update_gcm_channel(ApplicationId, GCMChannelRequest) } \arguments{ \item{ApplicationId}{[required] The un...
library(clinDR) library(testthat) library(DoseFinding) if(file.exists("./clinDR/inst/tests")) setwd("./clinDR/inst/tests") RNGkind("default") test_file('test.emaxsim.R') RNGkind("default") test_file('test.emaxsimB.R') RNGkind("default") test_file('test.SeEmax.R') RNGkind("default") test_file('tes...
/data/genthat_extracted_code/clinDR/tests/runIndvidualTests.R
no_license
surayaaramli/typeRrh
R
false
false
728
r
library(clinDR) library(testthat) library(DoseFinding) if(file.exists("./clinDR/inst/tests")) setwd("./clinDR/inst/tests") RNGkind("default") test_file('test.emaxsim.R') RNGkind("default") test_file('test.emaxsimB.R') RNGkind("default") test_file('test.SeEmax.R') RNGkind("default") test_file('tes...
#' Computes the estimated parameters of the distributions for the input data #' #' @param data data to estimate parameters #' @param ldistr A list of distributions #' @return A list of estimated parameters for each distribution #' @export #' @examples #' mydata <- rnorm(100, 10, 0.5) #' #' fitData(mydata) #' @family ...
/R/6_DistributionAnalysis.R
no_license
vishkey/arqas
R
false
false
9,628
r
#' Computes the estimated parameters of the distributions for the input data #' #' @param data data to estimate parameters #' @param ldistr A list of distributions #' @return A list of estimated parameters for each distribution #' @export #' @examples #' mydata <- rnorm(100, 10, 0.5) #' #' fitData(mydata) #' @family ...
rm(list=ls()) #libraries library(ggplot2) library(dplyr) library(zoo) library(e1071) library(randomForest) library(rpart) library(lubridate) library(gbm) #Functions #---------------------------------------------------------------------------------------- #function for moving average roll_mean <- function(x,win_size)...
/ALCM/Peter Lo/Analysis_Rodelyn/Code/Models/Model_comparison_stationary.R
no_license
RodelynJ/sexyPowerplant
R
false
false
14,935
r
rm(list=ls()) #libraries library(ggplot2) library(dplyr) library(zoo) library(e1071) library(randomForest) library(rpart) library(lubridate) library(gbm) #Functions #---------------------------------------------------------------------------------------- #function for moving average roll_mean <- function(x,win_size)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/density.R \name{density_ras} \alias{density_ras} \title{Surface modeling of kernel density.} \usage{ density_ras(x, resto = 200, extent.ras = NULL, proj = "+init=epsg:3857", negative.keep = F, adjust = 1, ...) } \arguments{ \item{x}{a Spati...
/man/density_ras.Rd
no_license
Menglinucas/extd.comavm
R
false
true
1,086
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/density.R \name{density_ras} \alias{density_ras} \title{Surface modeling of kernel density.} \usage{ density_ras(x, resto = 200, extent.ras = NULL, proj = "+init=epsg:3857", negative.keep = F, adjust = 1, ...) } \arguments{ \item{x}{a Spati...
# utils ---- get_doc <- function(...){ args <- list(...) x <- args$x if( is.null(args$x) ){ stop("you should not call this function outside of a ph_add call") } x } get_ph_loc <- function(x, layout, master, type, position_right, position_top){ props <- layout_properties( x, layout = layout, master = m...
/R/ph_location.R
no_license
AshesITR/officer
R
false
false
9,490
r
# utils ---- get_doc <- function(...){ args <- list(...) x <- args$x if( is.null(args$x) ){ stop("you should not call this function outside of a ph_add call") } x } get_ph_loc <- function(x, layout, master, type, position_right, position_top){ props <- layout_properties( x, layout = layout, master = m...
## ----libraries, echo=FALSE, message=FALSE-------------------------------- library(bomrang) ## ----current_weather, eval=FALSE----------------------------------------- # Melbourne_weather <- get_current_weather("Melbourne (Olympic Park)") ## ----precis_forecast, eval=FALSE----------------------------------------- #...
/data/genthat_extracted_code/bomrang/vignettes/bomrang.R
no_license
surayaaramli/typeRrh
R
false
false
7,692
r
## ----libraries, echo=FALSE, message=FALSE-------------------------------- library(bomrang) ## ----current_weather, eval=FALSE----------------------------------------- # Melbourne_weather <- get_current_weather("Melbourne (Olympic Park)") ## ----precis_forecast, eval=FALSE----------------------------------------- #...
library(StructuralVariantAnnotation) library(tidyverse) library(stringr) library(openxlsx) options(stringsasfactors=FALSE) theme_set(theme_bw()) maxgap = 50 sample_name = "HG00731" sample_ordinal = 1 # Issues: # 1) "SVLEN=." is not valid #8 127512835 nssv14402396 G <INS> . . DBVARID...
/compare.R
no_license
d-cameron/hgsvc_benchmark
R
false
false
7,526
r
library(StructuralVariantAnnotation) library(tidyverse) library(stringr) library(openxlsx) options(stringsasfactors=FALSE) theme_set(theme_bw()) maxgap = 50 sample_name = "HG00731" sample_ordinal = 1 # Issues: # 1) "SVLEN=." is not valid #8 127512835 nssv14402396 G <INS> . . DBVARID...
#' @title Signature Biplot for principal compontents #' #' @description Produces a bibplot of the selected signature's PCA. Based on #' \code{\link{ggbiplot}} and \code{ggplot2}. #' #' @param data gene expression matrix where rownames correspond to unique gene #' identifiers in \code{signature} format, and columns corr...
/R/plot_functions.R
no_license
sidiropoulos/PSigA
R
false
false
5,731
r
#' @title Signature Biplot for principal compontents #' #' @description Produces a bibplot of the selected signature's PCA. Based on #' \code{\link{ggbiplot}} and \code{ggplot2}. #' #' @param data gene expression matrix where rownames correspond to unique gene #' identifiers in \code{signature} format, and columns corr...
% Generated by roxygen2 (4.0.2): do not edit by hand \name{get.tau.typed} \alias{get.tau.typed} \title{Optimizewd version of \code{get.tau} for typed data} \usage{ get.tau.typed(posmat, typeA = -1, typeB = -1, r = 1, r.low = rep(0, length(r)), comparison.type = "representative") } \arguments{ \item{posmat}{a...
/man/get.tau.typed.Rd
no_license
fdzul/IDSpatialStats
R
false
false
1,944
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{get.tau.typed} \alias{get.tau.typed} \title{Optimizewd version of \code{get.tau} for typed data} \usage{ get.tau.typed(posmat, typeA = -1, typeB = -1, r = 1, r.low = rep(0, length(r)), comparison.type = "representative") } \arguments{ \item{posmat}{a...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Math-timeDay.R \docType{methods} \name{Math-timeDay} \alias{Math-timeDay} \alias{Math,timeDay-method} \title{Mathematical Functions for \code{timeDay} objects} \usage{ \S4method{Math}{timeDay}(x) } \arguments{ \item{x}{an object of class "tim...
/man/Math-timeDay.Rd
permissive
lhmet-forks/smwrBase
R
false
true
552
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Math-timeDay.R \docType{methods} \name{Math-timeDay} \alias{Math-timeDay} \alias{Math,timeDay-method} \title{Mathematical Functions for \code{timeDay} objects} \usage{ \S4method{Math}{timeDay}(x) } \arguments{ \item{x}{an object of class "tim...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db_helpers.r \name{retrieve_db_libraries} \alias{retrieve_db_libraries} \title{Retrieve DB Libraries} \usage{ retrieve_db_libraries(db_conn) } \arguments{ \item{db_conn}{Database connection object} } \value{ db_libraries.df A data-frame conta...
/man/retrieve_db_libraries.Rd
no_license
rdocking/amlpmpsupport
R
false
true
404
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db_helpers.r \name{retrieve_db_libraries} \alias{retrieve_db_libraries} \title{Retrieve DB Libraries} \usage{ retrieve_db_libraries(db_conn) } \arguments{ \item{db_conn}{Database connection object} } \value{ db_libraries.df A data-frame conta...
## The below functions allow to create a special object that stores a matrix and its inverse ## They are intended to avoid repeated computations of the inverse of a matrix ## and thus they save computational resources ## The function # 1 ## ## the function creates a special "matrix" object that can cache its inver...
/cachematrix.R
no_license
cambio17/ProgrammingAssignment2
R
false
false
2,868
r
## The below functions allow to create a special object that stores a matrix and its inverse ## They are intended to avoid repeated computations of the inverse of a matrix ## and thus they save computational resources ## The function # 1 ## ## the function creates a special "matrix" object that can cache its inver...
##' @rdname emapplot_cluster ##' @exportMethod emapplot_cluster setMethod("emapplot_cluster", signature(x = "enrichResult"), function(x, showCategory = 30, color = "p.adjust", label_format = 30, ...) { emapplot_cluster.enrichResult(x, showCategory = showCategory, color = color, label_format = la...
/R/emapplot_cluster.R
no_license
EricChLee/enrichplot
R
false
false
13,620
r
##' @rdname emapplot_cluster ##' @exportMethod emapplot_cluster setMethod("emapplot_cluster", signature(x = "enrichResult"), function(x, showCategory = 30, color = "p.adjust", label_format = 30, ...) { emapplot_cluster.enrichResult(x, showCategory = showCategory, color = color, label_format = la...
##***************************************************************/ ## SET WORKING DIRECTORY ##***************************************************************/ setwd("H:/My Documents/Coursera/Exploratory Data Analysis/Course Project 1") ##***************************************************************/ ##READ IN THE T...
/Plot3.R
no_license
tonym472/ExData_Plotting1
R
false
false
1,964
r
##***************************************************************/ ## SET WORKING DIRECTORY ##***************************************************************/ setwd("H:/My Documents/Coursera/Exploratory Data Analysis/Course Project 1") ##***************************************************************/ ##READ IN THE T...
#' Tämä skripti on löytyy jokaisen kurssin opetuskerran kansiosta. # Lataa ja tallenna data d <- read.csv('content_6_model/mtcars.csv', stringsAsFactors = FALSE) # Piirrä kuva library(ggplot2) p <- ggplot(d, aes(x=hp,y=qsec,color=cyl,size=mpg)) p <- geom_point() + geom_smooth() p # Tallenna kuva...
/content_6_model/skripti.R
no_license
muuankarski/rkurssi_materiaalit
R
false
false
373
r
#' Tämä skripti on löytyy jokaisen kurssin opetuskerran kansiosta. # Lataa ja tallenna data d <- read.csv('content_6_model/mtcars.csv', stringsAsFactors = FALSE) # Piirrä kuva library(ggplot2) p <- ggplot(d, aes(x=hp,y=qsec,color=cyl,size=mpg)) p <- geom_point() + geom_smooth() p # Tallenna kuva...
#Data load crimes<-read.csv("G:/download_vb/Assignement/Clustering/crime_data.csv") crimes ################################ crime <- scale(crimes[,2:4]) ## ignore 1st column crime d <- dist(crime, method = "euclidean") #Computing the distance natrix d fit <- hclust(d, method="average") # Building the algor...
/hier_clustering/crimes_hier.R
no_license
patelsmit2911/Machinelearning
R
false
false
1,683
r
#Data load crimes<-read.csv("G:/download_vb/Assignement/Clustering/crime_data.csv") crimes ################################ crime <- scale(crimes[,2:4]) ## ignore 1st column crime d <- dist(crime, method = "euclidean") #Computing the distance natrix d fit <- hclust(d, method="average") # Building the algor...
\name{register_db_backend} \alias{register_db_backend} \alias{register_sqlite_backend} \alias{register_mysql_backend} \title{ Functions to setup a database backend for twitteR } \description{ twitteR can have a database backend registered from which to store and load tweet and user data. These functions provide mechani...
/man/register_db_backend.Rd
no_license
agbaca/twitteR
R
false
false
1,639
rd
\name{register_db_backend} \alias{register_db_backend} \alias{register_sqlite_backend} \alias{register_mysql_backend} \title{ Functions to setup a database backend for twitteR } \description{ twitteR can have a database backend registered from which to store and load tweet and user data. These functions provide mechani...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hist_apod} \alias{hist_apod} \title{Historical APOD image data from 2007 - 2017} \format{A data frame with 53940 rows and 10 variables: \describe{ \item{copyright}{imge copyright, if not public domain} \item{date}{...
/man/hist_apod.Rd
permissive
atongsa/astropic
R
false
true
788
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{hist_apod} \alias{hist_apod} \title{Historical APOD image data from 2007 - 2017} \format{A data frame with 53940 rows and 10 variables: \describe{ \item{copyright}{imge copyright, if not public domain} \item{date}{...
#' tnormn #' #' Generates a truncated normal distribution #' #' @param n Number of truncated normally distributed observations to be #' simulated #' @param sd Standard deviation of truncated normal distribution #' @param seed Random seed #' #' @return A vector of n truncated normally distributed values #' #' @examples ...
/R/tnormn.R
no_license
mpadge/tnorm
R
false
false
769
r
#' tnormn #' #' Generates a truncated normal distribution #' #' @param n Number of truncated normally distributed observations to be #' simulated #' @param sd Standard deviation of truncated normal distribution #' @param seed Random seed #' #' @return A vector of n truncated normally distributed values #' #' @examples ...