blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c8b15041ab6c400e4df6ebb30f6a9f7b55534e54 | 2221162d446fe0c9569e1a9c78c2e1e3d60fe98f | /Step3_Process_Copernicus_LAI_for_all_sites.R | 06e5af8542f4dd79333cb1255561a27855b3b543 | [] | no_license | aukkola/PLUMBER2 | f55a6e91a54b511c1efe457d4f6067c9b557cd20 | 93885013c48d4ae59f933fb253e9aa9ed8fad1fe | refs/heads/master | 2022-10-26T15:13:27.535291 | 2022-10-18T22:12:47 | 2022-10-18T22:12:47 | 173,685,168 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,487 | r | Step3_Process_Copernicus_LAI_for_all_sites.R | library(ncdf4)
library(raster)
library(zoo)
library(parallel)
#clear R environment
rm(list=ls(all=TRUE))
#Set path (where site LAI data lives)
path <- "/srv/ccrc/data04/z3509830/Fluxnet_data/All_flux_sites_processed/"
#Which fluxnet data to use?
flx_path <- "/srv/ccrc/data04/z3509830/Fluxnet_data/All_flux_sites_pro... |
96c2dce7de3a53f60c489acebc742141b820518a | 80ee145d21975068bd722749697382db78575471 | /inst/plot.yrmax.R | 94d2877e1bb85d2b3d0bdd0949400b52e3dccf6e | [] | no_license | jukent/climod | 9d5f28afd4b7b083792e6bf872c375c5f8d5d2b8 | 203d57875c38a57e8e3b8ad01ce9d692506d3e44 | refs/heads/master | 2021-11-23T20:55:40.727516 | 2021-11-16T19:24:23 | 2021-11-16T19:24:23 | 193,576,176 | 0 | 0 | null | 2021-11-16T22:15:20 | 2019-06-24T20:35:09 | R | UTF-8 | R | false | false | 971 | r | plot.yrmax.R | #library(climod)
library(devtools)
#load_all("climod")
load_all("~/climod")
## Call as: Rscript plot.yrmax.R label save png var
args <- c("prec rcp85 HadGEM2-ES WRF ftlogan",
"v1.lof.bc/dmaps/prec.rcp85.HadGEM2-ES.WRF.ftlogan.Rdata",
"test.yrmax.png",
"prec")
## Comment out this line fo... |
2de27b10fb884ea9b01beec2e23fcc37d56236db | 14f49deb33be70bae1235ddc76d892036d4d7f02 | /man/calc_genoprob.Rd | dbdb8fad58cc200343ac2187cd8dc504df95a73a | [] | no_license | lian0090/F2imputation | cbdf15103393523f6d34eb2ae9428c83e46252eb | 0d7f06e14bb1bd1add345bb0ac719e107280510e | refs/heads/master | 2020-04-19T00:05:07.714085 | 2015-05-09T17:37:26 | 2015-05-09T17:37:26 | 35,248,124 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 497 | rd | calc_genoprob.Rd | \name{calc_genoprob}
\alias{calc_genoprob}
\title{
calculate genotype probabilities
}
\description{
calculate genotype probabilities
}
\usage{
calc_genoprob(l_geno, r_geno, recombinations = c("l", "r", "total"), genotypes = c(1, 2, 3),...)
}
\arguments{
\item{l_geno}{
left genotype
}
\item{r_geno}{
right genotype
}... |
c692d3b3d7191f666c52df9f2d44c41212a16978 | 3d055e533cb367cc396d278506cf6517165e2941 | /global.R | 79bec4f691d3ff55d13d6f968349d7cc93484671 | [
"MIT"
] | permissive | dKvale/forecast_submit | ed2e758ffa1c2130464a5803b7bb90103932d1f9 | 4a9ba34822d903b7b39d2d743902d8946ab351c2 | refs/heads/main | 2021-11-12T21:51:59.643242 | 2017-05-28T20:24:30 | 2017-05-28T20:24:30 | 77,480,060 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,478 | r | global.R | # library(rsconnect)
# deployApp()
aqi_cities <- c("Minneapolis - St. Paul",
"Northern Metro",
"Southern Metro",
"Brainerd",
"Bemidji",
"Detroit Lakes",
"Duluth",
"Ely",
"Fargo - Moorhead",
... |
92e50f352dc5c1e6fc292a6d0a25febbf7b84c58 | 66e157ab0e5a83d28aaeb46cf66faca445c4f304 | /Exploratory_Data_Analysis/plot3.R | 9dcec057e067507f8a85744f230f2691d8a3e59c | [] | no_license | Jacobo-Arias/DataScienceCoursera | 518a0d6b4233eae7befadcb88eb75380ce175f26 | 0d4b480d1247f88c81aa180b29d522d29e484440 | refs/heads/master | 2023-01-03T23:36:33.038610 | 2020-10-31T15:06:59 | 2020-10-31T15:06:59 | 276,781,524 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 951 | r | plot3.R | library(lubridate)
library(dplyr)
data <- read.table("household_power_consumption.txt", header = T, sep = ";", colClasses = "character")
data$Date <- dmy((data$Date))
data$Sub_metering_1 <- as.numeric(data$Sub_metering_1)
data$Sub_metering_2 <- as.numeric(data$Sub_metering_2)
data$Sub_metering_3 <- as.numeric(data$Sub... |
332fb3a62a4f42aa76dfa51b58c76273bb839fd8 | 1997cbc1503b3375594d1517b411d35fe12cbc5d | /plots.R | 9fa8283b2417a6d55794064da429a9dea14122de | [] | no_license | toyin54/R_Projects | a297ac9f64b778c09585ad932118dd311548407e | 9b157cfcd9a0c8a105e587cc28b12882aa5d5f96 | refs/heads/main | 2023-07-15T19:42:42.176790 | 2021-08-26T19:07:10 | 2021-08-26T19:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | plots.R | library(dslabs)
data(olive)
head(olive)
olive$palmitic
plot(olive$palmitic ,olive$palmitoleic)
boxplot(palmitic ~ region, data = olive)
boxplot(palmitoleic ~ region , data = olive)
library(dplyr)
library(ggplot2)
library(dslabs)
data(gapminder)
gapminder %>%
mutate(dollars_per_day = gdp/population/... |
6cc99660b2f7a8ccf9f6afa84f8e18009d02a906 | 8422cc78e7e377f708eda8f1ce1bdbc0be5f0503 | /man/insertSuddenDeath.Rd | 5b41d9a63d65ade230ded8500aabd74c7833d128 | [] | no_license | yutannihilation/TotsuzenOfDeathAddin | 28f621d947f2793b28df81a004ec4ddd061ea207 | 22d347332f92927aec24714d4f2ab6470164cf11 | refs/heads/master | 2021-01-13T15:51:38.057969 | 2016-12-19T15:22:04 | 2016-12-19T15:22:04 | 76,861,192 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 248 | rd | insertSuddenDeath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/insertSuddenDeath.R
\name{insertSuddenDeath}
\alias{insertSuddenDeath}
\title{Insert Totuzen No Shi}
\usage{
insertSuddenDeath()
}
\description{
Insert Totuzen No Shi
}
|
91e45f5f10962bea3963932a693035964cd45e56 | bd7fed9e0370e70f4fc625e0fe45578070ec417a | /stats/correlacao.R | b413906fee80553cec06aec13ca117a7637e2b3e | [] | no_license | caiosainvallio/r | 56773766794b2e5a85f90e383a8b4190529a9999 | e82a03459cc9a5fe7f503a5c7dc3037e0d650c83 | refs/heads/master | 2023-03-15T00:44:43.407493 | 2021-03-25T20:45:39 | 2021-03-25T20:45:39 | 266,214,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,738 | r | correlacao.R | # Correlação
library(tidyverse)
ggplot(data.frame(x = c(-4, 4)), aes(x)) +
mapply(function(mean, sd, col) {
stat_function(fun = dnorm,
args = list(mean = mean,
sd = sd),
aes(col = col), size = 3)
},
mean = rep(0, 3),
sd = c(1, .5, 2),
co... |
9939166b51906a34218cf8b836cb699ccb6cf4df | 238e8cfab127d1bbfe9d75d976cf4b610d5a6fcb | /exampleApps/bp_skeleton/app.R | 0cd807ea10e7f653478d6608da1f0f1a0c95b0a5 | [] | no_license | lsw5077/shiny_workshop | 6eda195b4d6bb9dc1fd2605db5a5d33b2df5e990 | d0f08dd02133a3a900a216eadad94a650aa731f1 | refs/heads/main | 2023-03-10T17:12:01.139122 | 2021-02-22T19:59:05 | 2021-02-22T19:59:05 | 324,008,199 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,103 | r | app.R | # This app skeleton shows best practices for shiny.
# The reigning logic is: Do things once.
# Load libraries
library(shiny)
# Load data:
## datasets to display
## supporting datasets like palettes and options
## If you were loading an R data file,
## remembering that we use
## relative paths
##it would look like:
... |
eb46985df34f203c17c404dd07d2830c2d5628b2 | 74797c25ebc6f06fa01b608cb1ed6ce2574d3083 | /dataforgraph1.R | 22746f79a5cbe1c71fc46740fd4fefc3e567274e | [] | no_license | anhnguyendepocen/Rgraphs | c533196de8e5d34a925bea11bd7c6b57d85d52b9 | e306d8ccf06a99193b494aa2d55b11c48d36a28a | refs/heads/master | 2022-02-15T17:07:38.394802 | 2019-07-05T14:51:04 | 2019-07-05T14:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 485 | r | dataforgraph1.R | # Data Import for Plots
#Case-1 : bigmart
fullurl="https://docs.google.com/spreadsheets/d/13tWJP6fcWNE7FObz4Cn_-_R0us7qIFialUy1m9nwBYY/edit#gid=356784553"
library(gsheet)
data1 = as.data.frame(gsheet2tbl(fullurl))
names(data1)
str(data1)
dim(data1)
#Case-1 : landdata
fullurl2="https://docs.google.com/spreadsheets... |
83d11a019ee68d7b940c35885fc54783a12c42c6 | 698d30bec746a9eee62a1718d21959032ad121ae | /cachematrix.R | 66d036fe9b6be54914a66abdcfd32d19049edab7 | [] | no_license | szekendia/ProgrammingAssignment2 | 4303f6490bd3a4dff657ff631f5984dea66b268a | c16b52be0b3a49ad9e9b65bd6a6bbd6c75dfbd32 | refs/heads/master | 2021-01-21T20:52:50.804661 | 2015-05-22T16:05:59 | 2015-05-22T16:05:59 | 36,075,880 | 0 | 0 | null | 2015-05-22T14:14:47 | 2015-05-22T14:14:47 | null | UTF-8 | R | false | false | 2,355 | r | cachematrix.R | ## Coursera : R-Programming : Programming assignment 2
## Github: https://github.com/szekendia/ProgrammingAssignment2
## 1. makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse.
## Sample run:
## 0. mx <- matrix(c(1,3,2,4,6,7,4,8,12),3,3)
## makeCacheMatrix
## -----------------... |
24ed84d9143a6c39d3ec5d36bf4b12ce0ee24def | 8a7d3fcd34fa07e8444ef067b1c1e85b142d42a2 | /R/SpatialPolygonsToWKBPolygon.R | 263ffad6783a755fa01242e87ee333ec570eb3fd | [] | no_license | ianmcook/wkb | 7d5b13a06e4bef849357495b4694f4e1fb49b880 | 728675cc849690c451619241c498dd62f2b849cb | refs/heads/master | 2021-01-17T14:02:21.859056 | 2019-12-05T19:03:05 | 2019-12-05T19:03:05 | 31,404,515 | 8 | 2 | null | null | null | null | UTF-8 | R | false | false | 9,060 | r | SpatialPolygonsToWKBPolygon.R | # Convert a SpatialPolygons or SpatialPolygonsDataFrame object
# to a well-known binary (WKB) geometry representation of polygons
#' Convert SpatialPolygons to \acronym{WKB} MultiPolygon
#'
#' Converts an object of class \code{SpatialPolygons} or
#' \code{SpatialPolygonsDataFrame} to a list of well-known binary
#' (\... |
3b9dac58fe55b8c6f58404eca7c0b8cd8cdcc8eb | bcd629b7f5fa3e8d3f1f5aa4a144ac5ae0425ed3 | /R/pva-class.R | 6cb8a56d169a51d913ae7383113db9e357b91ec6 | [] | no_license | psolymos/PVAClone | 555217dab78000da720ed4f25b58bf0336b46d96 | 6b0d7e7d7e8dd10bebdbe6813bbafa14735cf45d | refs/heads/master | 2016-09-15T05:47:48.368792 | 2016-03-12T04:12:46 | 2016-03-12T04:12:46 | 25,499,294 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 755 | r | pva-class.R | ## this declares S4 class pvamodel
setClass("pvamodel",
representation(
growth.model="character",
obs.error="character",
model="dcModel",
genmodel="dcModel",
p="integer",
support="matrix",
params="character",
varnames="character",
fixed="nClone... |
0e363cfb6f4abfc6181e336d04ea89dc51fe4340 | 1fbacbe1c6b5798ba5c68a7c87e3040109b59271 | /tests/testthat.R | a40e7a71f722b6139e252b0f2896aa6ef6aa0c18 | [
"MIT"
] | permissive | milandv/MapAgora | 52f8a94988de3e26f6459cf422e3afaa842ee671 | 72ec01474d2ca130a96882ec31862c3929673736 | refs/heads/main | 2023-04-17T07:42:07.070381 | 2021-04-19T22:34:31 | 2021-04-19T22:34:31 | 362,169,760 | 0 | 0 | NOASSERTION | 2021-04-27T15:54:41 | 2021-04-27T15:54:40 | null | UTF-8 | R | false | false | 60 | r | testthat.R | library(testthat)
library(MapAgora)
test_check("MapAgora")
|
ed6701c6788769192fe5bb436330f23d52f2344d | d808b3477960ae45f395d641c9e9aba74a2eff38 | /R/as.monthly.r | 0f548d985f2c327c11024f06a06e9fdd74a6e4e5 | [] | no_license | lucasvenez/precintcon | c2fe339498c097c55eba002864d84980d3ff62ec | 2d7a1f8234e1e3add387eb8aa302290b9e64381b | refs/heads/master | 2020-04-06T07:12:43.075710 | 2016-07-17T01:05:45 | 2016-07-17T01:05:45 | 22,642,150 | 10 | 10 | null | 2020-02-16T13:02:46 | 2014-08-05T12:13:47 | R | UTF-8 | R | false | false | 1,003 | r | as.monthly.r | #' @include as.precintcon.monthly.r
NULL
#' @name as.monthly
#' @author Lucas Venezian Povoa \email{lucasvenez@@gmail.com}
#' @aliases as.precintcon.monthly as.monthly
#' @title Convert a daily precipitation serie to a monthly serie
#' @description Converts a daily precipitation serie to a monthly serie.
#' @usage as.... |
22ba4dc83eb984da9993c50da0b017f4f2ed4120 | d8296f1d63f98bd5c1bd71bdd75bc22a2a9eff65 | /src/transition_page.R | 64d39352c3f7bb810d5d710f418b7dfb5a20fc8f | [] | no_license | lcamus/osstat | 40727150a7dc41ec4af24bc636411321377fb3df | c89870001ca1b9fb6ff35d39c0fb6beeb4f38a97 | refs/heads/master | 2021-01-19T00:05:09.673471 | 2018-05-31T07:22:43 | 2018-05-31T07:22:43 | 87,143,176 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 19,290 | r | transition_page.R | #matrix transition pageIdAction
saveNetwork2html <- function (tl, file, selfcontained = T, libdir = "./lib") {
if (is.null(libdir)) {
libdir <- paste(tools::file_path_sans_ext(basename(file)),
"_files", sep = "")
}
htmltools::save_html(tl, file = file, libdir = libdir)
if (selfconta... |
30249666c97f6164065de54eda7f88e073d8cad2 | 8ba4e3b939d3d4fe9c9b07d13ea6a05ab5e57d01 | /man/remove_time_info.Rd | 575fbd3d3e3908582d8bbfac51669542f695d756 | [
"BSD-2-Clause"
] | permissive | COMHIS/fennica | 8ce782cbdff37582c586820b3c26a4f549c2f7d3 | f7f2e52b6e0b62a44a2c8106bb1ab5dd3edcc743 | refs/heads/master | 2023-08-19T03:01:34.138530 | 2022-04-20T17:23:36 | 2022-04-20T17:23:36 | 107,188,766 | 5 | 2 | NOASSERTION | 2023-07-04T08:44:37 | 2017-10-16T22:14:44 | R | UTF-8 | R | false | true | 607 | rd | remove_time_info.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/remove_time_info.R
\name{remove_time_info}
\alias{remove_time_info}
\title{Remove Time Info}
\usage{
remove_time_info(x, verbose = FALSE, months = NULL)
}
\arguments{
\item{x}{Vector (time field)}
\item{verbose}{verbose}
\item{months}{month... |
e4a50b95c786e2653dbade258337737b363fca6d | b6b746c44ea977f62d8bb7c98137b477b931ca64 | /R/pMaxCorrNor.R | 750751bc6404f30e61650b2c31f6e787defa2abb | [] | no_license | cran/NSM3 | 77f776ba5f934652800ecb0c3fbc8f87a7428571 | 7318aa2e0e6bf4f2badf8d0ae014f297650347f4 | refs/heads/master | 2022-08-30T00:39:28.420513 | 2022-08-16T21:40:02 | 2022-08-16T21:40:02 | 17,681,120 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 174 | r | pMaxCorrNor.R | pMaxCorrNor<-function(x,k,rho){
inner.int<-function(s){
pnorm((s*sqrt(rho)+x)/sqrt(1-rho))^k*dnorm(s)
}
return(1-integrate(inner.int,-Inf,Inf)$value)
} |
f111ff049fc88856ba120994827c63b9d57fb91f | 2b82f18243c6bea2cfff559f1325c8dba1c08bbd | /tests/testthat/test_utils.R | b2b0f752511274f92507177cc0370a9d9173274c | [
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | hadinh1306/RealEstateR | 4d684d1f40087b32a3b9b73b6adcf604d2eceb61 | e9761bf65c9d138e0ab1c2b21dc0e8683e497da3 | refs/heads/master | 2020-03-08T02:23:30.960571 | 2018-05-22T03:51:37 | 2018-05-22T03:51:37 | 127,858,603 | 1 | 0 | MIT | 2018-05-22T03:51:38 | 2018-04-03T06:01:00 | R | UTF-8 | R | false | false | 1,050 | r | test_utils.R | context("utils.R")
# -----------------------------------------------------------------------------
# check_response_type
# -----------------------------------------------------------------------------
test_that("'check_response_type()' return xml document properly", {
uri <- paste0("http://www.zillow.com/webservice... |
efc03cebb51b663f83d9ee7d7290337d1c357faf | 29585dff702209dd446c0ab52ceea046c58e384e | /CARLIT/R/barplotEQR.R | 8fd2d2d25d3596673fa195a2dcd0381ab765f877 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,064 | r | barplotEQR.R | barplotEQR <-
function(EQR.df){cols <- rep(NA, length(unique(EQR.df[,1])))
for(n in 1:length(cols)){
if(as.numeric(paste(unique(EQR.df[n,5])))<=1) {
if(as.numeric(paste(unique(EQR.df[,5])))[n]>0.75){cols[n]=c("blue")}
else {if(as.numeric(paste(unique(EQR.df[,5])))[n]>0.60){cols[n]=c("green")}
else{if(as.nume... |
91e81c74fe04fd093c25b8579311fad76b188634 | 8bca5c874501967d245b87f46915d5049eb8e472 | /helpers.R | a01aef0a82fe9d182d1eaa770db3fe9e900d20c9 | [] | no_license | mlol1/app | 16e27bfb384d381874ef98dd4364014a669c6eed | 9b92eb8eacf28e36499c5646035da93e17dc645d | refs/heads/master | 2016-08-05T00:53:09.304724 | 2014-08-26T11:56:37 | 2014-08-26T11:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,165 | r | helpers.R |
load(url('http://gadm.org/data/rda/IRL_adm1.RData'))
# loads an Object "gadm" with shape of Ireland
countiesa <- gadm
countiesa<- (gadm$NAME_1)
percent_spplot <- function(var, color, legend.title, min = 0, max = 100) {
# generate vector of fill colors for spplot
shades <- colorRampPalette(c("white", color))(100)
... |
5e7ed52199bf64833f6a6de1f00468c37727295d | ca10db69dbc6aebd20e6c567bce7c61dbf27d728 | /Press_model_toget_Theta_out.R | 9b233ec2ca8f0504b1bfcfe2965122e047f0252b | [] | no_license | DeepanJayaraman/R_codes | 8d68ccb0ed2f68b8c3cdc762f48862a90e95ead9 | 8d1a56342c086ab7c8ff41523e4b36621e99e386 | refs/heads/main | 2023-03-23T09:42:14.032503 | 2021-03-25T18:14:20 | 2021-03-25T18:14:20 | 351,532,879 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,733 | r | Press_model_toget_Theta_out.R | # SIEMENS DATA OPTIMIZATION
# Crossvalidation
# Set working directory
setwd("D:\\R\\Seimens")
library(SPOT)
N <- 10 # sample size ... N= 10,20,50,100
load(file=(paste("SD_L2_investigation_",N,"_samples",".Rdata",sep="")))
# Preallocation
PRESSRMS_KRG_v_lmom = matrix(nrow = 1,ncol=100);PRESSRMS_KR... |
8b402367b9d65c8569d45aa2663ccbbde1defa05 | 2142b40687d515d3f333b88523d359c03c6a1172 | /man/show-RadioSig-method.Rd | 0fbfae15e5f05cd8ce72797187c903ceabf96a92 | [] | no_license | cran/RadioGx | c862e4da96f78f4f95aa4849d1c743f848d60978 | 1e0fa17a562cfca7ab2bb2b304779b8c2f5299b2 | refs/heads/master | 2020-12-22T17:38:58.011543 | 2019-12-19T22:00:02 | 2019-12-19T22:00:02 | 236,877,921 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 646 | rd | show-RadioSig-method.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/signatureClass.R
\docType{methods}
\name{show,RadioSig-method}
\alias{show,RadioSig-method}
\title{Show RadioGx Signatures}
\usage{
\S4method{show}{RadioSig}(object)
}
\arguments{
\item{object}{\code{RadioSig}}
}
\value{
Prints t... |
9df2956404956bc2b631e256a95678a183ae857c | 2a4ec36153b8071fea2c8cb50224c68f4b320d8e | /R/Main.R | 8e14652d56281686010b3509edaff23d9c43ee10 | [] | no_license | ohdsi-studies/PCE | c3e964bcbed98c8dafb15cd6a0aa22963c51c1c8 | 9414098c13d348b665ecda422f835636425e9e3d | refs/heads/master | 2023-03-21T04:13:47.153177 | 2021-02-11T14:23:06 | 2021-02-11T14:23:06 | 303,699,210 | 3 | 4 | null | 2021-03-09T16:45:16 | 2020-10-13T12:40:51 | R | UTF-8 | R | false | false | 25,435 | r | Main.R | # Copyright 2020 Observational Health Data Sciences and Informatics
#
# This file is part of PCE
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE... |
7b22d8462b0d2cb5b1ba58c679fe4d2e6ba89e55 | dfe66a5577ee81999033ab48168354fb87396fb1 | /Project1/Zapytanie5.R | fb340ff02205a2d8db3b7db7e9f3e69fa4e06ac2 | [] | no_license | Dragemil/learning-r-projects | 9f0edadca472ade0f1dfc72b2046dcfc36da3e2d | 75aefe534d0de639a55f3846e0a851c9f57e5ab3 | refs/heads/master | 2023-02-01T21:07:21.848719 | 2020-12-17T12:49:08 | 2020-12-17T12:49:08 | 322,305,182 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,041 | r | Zapytanie5.R | library(sqldf)
library(dplyr)
library(data.table)
#5
source("WczytanieDanych.R")
##5.1
Query5_1 <- function() {
sqldf(
"SELECT
Posts.Title,
CmtTotScr.CommentsTotalScore
FROM (
SELECT
PostID,
UserID,
SUM(Score) AS CommentsTotalScore
FROM Comments
... |
a45202261fb3d46d6197fca4506506559ca61bb5 | 29086ee3be50fa04c8ab55d5d9f55bf9abd213e8 | /R Code Examples/IntroductionToR/6.DataFrames/ExploreDataFrame.R | ccef1f649b2a5fbc0c1ee7c7f8d240c79fba100d | [] | no_license | analystfreakabhi/DataScience_guide | dc8bc967ffc892e307240633f5128b67e3d92142 | 61960c52e5079feb89505c8c8cd5030b0364a865 | refs/heads/master | 2021-01-20T00:21:45.316416 | 2017-06-05T02:58:43 | 2017-06-05T02:58:43 | 89,119,139 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,165 | r | ExploreDataFrame.R | # Explore the Data Frame
# Dataset
# observations
# variables
# Data Frame
# specificallt for datasets
# row > observations
# columns = variables (age, name, etc)
# contain elements of different types
# elements in same column: same type
# Create Data Frame
# Import from data source
# CSV file
# relational databas... |
f441d5aeaca9f1e5c2d1f65a1572c01d03fdfb05 | 159116807c9df0042f0483cb4906e0a9e231146c | /data_cleaning_script.R | 3c07083cc41cf538057d1c36c371ae275e4e1f1c | [] | no_license | nceas-coding-club/sb-restaurants | 407cab8d6fd1f07c222d49a3d07f94a91654b5ab | cc3a453a53c865297b7408ca05ea357fc8d7b8b5 | refs/heads/master | 2022-07-18T23:46:03.457944 | 2020-01-23T17:10:53 | 2020-01-23T17:10:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,785 | r | data_cleaning_script.R | ## Data Cleaning Script ##
# load libraries
library(tidyverse)
library(ggmap)
# load in and prep data
opened <- read_csv("data/opened_restaurants.csv") %>%
select(-X5, -X6) %>%
unite("key", c("Name", "Address"), remove = FALSE)
closed <- read_csv("data/closed_restaurants.csv") %>%
unite("key", c("Name", ... |
4c4eec247dd05e478a614eb1fc721748aea51a28 | 82eb805cc710a936340b96aab8ecb87b07b810d3 | /datautils/io.R | 6088a513946472b71ca127d729475b8044e63b02 | [
"BSD-3-Clause"
] | permissive | sebwink/datautils | cee8eddaf8e113205281bdbd707a9a1d8bdce4c7 | ad97145a161348917831e883765ef3803c04e0c8 | refs/heads/master | 2020-03-24T20:35:37.049978 | 2018-07-31T08:39:18 | 2018-07-31T08:39:18 | 142,986,556 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 273 | r | io.R | load_count_matrix <- function(path2countMatrix) {
# ---
count_matrix <- read.csv(gzfile(path2countMatrix), header = TRUE, check.names = FALSE)
rownames(count_matrix) <- count_matrix[,"id"]
count_matrix <- subset(count_matrix, select=-c(id))
return(count_matrix)
} |
dc0fad535c208ad870eef00af7d5b824be68ce3b | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/languageR/examples/pvals.fnc.Rd.R | cf31349b40333b6104b736972416f622e64e56cb | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 884 | r | pvals.fnc.Rd.R | library(languageR)
### Name: pvals.fnc
### Title: Compute p-values and MCMC confidence intervals for mixed models
### Aliases: pvals.fnc
### Keywords: regression
### ** Examples
## Not run:
##D data(primingHeid)
##D library(lme4)
##D
##D # remove extreme outliers
##D primingHeid = primingHeid[primingHe... |
537bec6283e974041a1304586e493c1e0a0f2aff | 67a7683b1901db9941b6ed61bcf3f7129f657d11 | /inst/shinyApps/MethodEvalViewer/server.R | 3e0d753ecf6c573a93f0db9352e8bfe57af8c9e6 | [
"Apache-2.0"
] | permissive | odysseusinc/MethodEvaluation | 5a51796c66622ff7448c2f2fd2cff09052e87dc6 | 2d1d0775744486e10f3f850ed753e155365a94d8 | refs/heads/master | 2023-01-24T06:56:42.437017 | 2020-12-03T12:44:37 | 2020-12-03T12:44:37 | 313,928,398 | 0 | 0 | null | 2020-11-18T12:55:18 | 2020-11-18T12:31:17 | null | UTF-8 | R | false | false | 11,853 | r | server.R | library(shiny)
library(DT)
source("plots.R")
shinyServer(function(input, output, session) {
observe({
if (input$evalType == "Comparative effect estimation") {
choices <- methods$method[methods$comparative == TRUE]
} else {
choices <- methods$method
}
updateCheckboxGroupInput(session, ... |
0a481a07801e61a66d280d97500829599a0e0058 | 19f7fc6594fcbce0c4e1c76ae455887976eb6859 | /man/FLSqueezeSpace.Rd | d6e6ee59f6966666221321a2b64fbf4389de363d | [] | no_license | AnanyaT/AdapteR | 696d16ebed0df716614c1d90c7f6b1092953cb69 | 3842d3e662f8e4fdf5709df41deada875aff9a2e | refs/heads/master | 2021-01-18T17:10:47.836244 | 2016-06-03T09:57:24 | 2016-06-03T09:57:24 | 59,019,034 | 0 | 0 | null | 2016-05-17T12:08:53 | 2016-05-17T12:08:52 | null | UTF-8 | R | false | true | 573 | rd | FLSqueezeSpace.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FLStringFunctions.R
\name{FLSqueezeSpace}
\alias{FLSqueezeSpace}
\title{Remove extra spaces in strings}
\usage{
FLSqueezeSpace(object)
}
\arguments{
\item{object}{FLVector of characters}
}
\value{
FLVector with extra spaces removed
}
\descrip... |
dce4763568b860e697cef20f6c35d00e117a7678 | dc35bc08b2d9eebf783d0a1445d3120b8d83494d | /R/report.r | 82f01b1202d81ca8e83f0e574bb3cf81f3068728 | [
"MIT"
] | permissive | hbc/CHBUtils | c83272fd84922fc6fa7e5d34e42b2199552afd5c | a226ceeced2353ee2c7ba2eb22f52bf90c023898 | refs/heads/master | 2021-01-15T15:27:14.308614 | 2017-10-26T18:01:19 | 2017-10-26T18:01:19 | 14,430,820 | 2 | 5 | null | 2017-10-26T18:01:20 | 2013-11-15T17:35:32 | R | UTF-8 | R | false | false | 9,683 | r | report.r | i_create_fastqc_figure<-function(path,samples,out){
require(ggplot2)
require(Nozzle.R1)
############QUALITY PER NT###############
tfqc<-data.frame()
for (f in samples){
src<-paste(path,f,"/qc/fastqc/fastqc_data.txt",sep="")
endnt<-system(paste("grep -n END ",src," | head -2 | tail -1| sed 's/:/\t/' | ... |
0aa9019455aa8cafd55cbfb6f876ac111cd21d24 | 007a16939d87119e0a9bb0412b79a9ff9d3d014b | /man/read_bat_6800.Rd | b4f047a96ebbcfff3758bb5e76b476fcf3664579 | [
"MIT"
] | permissive | zhujiedong/readphoto | 186069c5073e2b5c67292ec4364a7ead31503093 | e65aaca72e6aede8214878a7243f2be1b5a14bd9 | refs/heads/master | 2021-06-15T03:01:31.940049 | 2021-04-14T04:54:33 | 2021-04-14T04:54:33 | 159,325,617 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 534 | rd | read_bat_6800.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read_bat_6800.R
\name{read_bat_6800}
\alias{read_bat_6800}
\title{read all raw data in one file measured by LI-6800}
\usage{
read_bat_6800(file_dir, data_start = 56)
}
\arguments{
\item{file_dir}{is the file directory only contains all the me... |
0a7f9b0977cc4555aee945b1ef2614f319b3a7f7 | bb62e7f31de13f31325da05ad42dc50ca7afc65a | /Cubic Splines Interpolation/TrazadorCubicoSujetoVersionsimple.R | d5f4b8eac7ae1a2e389f929f58ac3d45a9fdd50b | [] | no_license | BowixKamaze/MetodosNumericos | 1c897e2ddf4716199c668c9e21d1197e46038155 | a6fa7f4af5759480b9c57c9bc749e464caa0df3b | refs/heads/master | 2023-01-22T03:20:14.841763 | 2020-12-09T19:23:31 | 2020-12-09T19:23:31 | 297,142,943 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,609 | r | TrazadorCubicoSujetoVersionsimple.R | rm(list= ls())
graphics.off()
x<-c(0,1,2,3)
a<-c(1,exp(1),exp(2),exp(3))
FPO<- 1
FPN<- exp(3)
# -------------------------------------------------
TrazadorCubicoSujeto<-function(n,x,a,FPO,FPN){
h<-c()
alfa<-c()
b<-c()
c<-c()
d<-c()
l<-c()
z<-c()
u<-c()
#PASO 1
for(i in 1:n){
h[i]= x... |
dedb70653b2dba3fce59df689f4924782eabc56e | 197bf433e3b4dd450b017fea950d9f6002b505e8 | /challenge.R | f7e2aab9a24e92c39612bbe3f04b9df022052d7b | [] | no_license | nupippo/playlab_data_analysis_challenge | f0316ea3706b9a3a9f5c92b80bd6c90138f74e46 | 4397aabdcca3cb656e386a3c6ffbad49423722e8 | refs/heads/master | 2020-05-20T04:45:51.465510 | 2015-08-16T14:15:39 | 2015-08-16T14:15:39 | 40,818,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,631 | r | challenge.R | ####playlab
#### Import data to dataset
dataset <- read.csv("D:/playlab/cleaned_data.csv")
#### convert millisecond timestamp to datetime format
dataset$date <- as.POSIXlt(as.POSIXct(dataset$Timestamp/1000, origin="1970-01-01", tz = "GMT"))
summary(dataset$date)
#### We found min/max date is 2014-08-17 00:00:13 and 2... |
788df2146c52ece7906db6b577607f8625bab776 | fd7cf10a09951074be1374bf3db180c3452c076c | /calDist.R | 8ba81a60aa308331b2de2c2fdb6bf5a011b4a76c | [] | no_license | kirk760099/R_leafletProxy-master | 6201c84cbd39613f445aa917f3b71d5d35169e3f | b64c742560628c8c644b8e641fe2252d3d42cd7b | refs/heads/master | 2020-12-02T16:07:39.403189 | 2016-09-11T16:05:06 | 2016-09-11T16:05:06 | 67,939,636 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 402 | r | calDist.R | library(geosphere)
#rentLocate$X 經度 rentLocate$Y 緯度 retailer某家零售業裡面有經緯度
dist<- function( rentLocate, retailer){
x <- c(rentLocate$Response_X,rentLocate$Response_Y)
for (j in 1:nrow(retailer)){
y <- c(retailer$lon[j],retailer$lat[j])
if (j==1){dist = distHaversine(x,y)}
dist <- ifelse(distHaversine(x,y)<... |
77bced05a52fd15719f26b4cab543ab9b888b826 | 05af48d83669c392b976f946f47dfa9fe38de4f8 | /demo/tests.R | 5a7ac5d96e2b18e3c707dda1c38524ac6c66fe55 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | phillc73/pinhooker | fcead5c4dc980b05ed334c5e9207adc3975ac00c | 2ec15d413b67d9d7d2083ad7c5d54bb64a2abb83 | refs/heads/master | 2021-07-21T08:14:24.564048 | 2021-02-14T18:55:18 | 2021-02-14T18:55:18 | 49,740,394 | 5 | 1 | null | 2016-02-08T10:55:47 | 2016-01-15T19:30:26 | Rebol | UTF-8 | R | false | false | 811 | r | tests.R | # Load RSQLite library to load SQLite files
library(RSQLite)
# Test load Rds data file
testrds <- readRDS("bloodstockSalesData.rds")
# If present, test load CSV and SQLite data files
testcsv <- read.csv("bloodstockSalesData.csv", sep=",", as.is = TRUE)
con <- dbConnect(SQLite(), "bloodstockSalesData.sqlite")
sql1 <-... |
9ad0e0ecc89854074841496da9daf1235e1a85e1 | bd21a32d8baf53669f6e65c388d41aab38569ce5 | /man/hist_cure_fractions.Rd | d5326fecf0dc0e41642cdb6d94b0702847be3ca9 | [] | no_license | han-tun/rstanbmcm | e5b8f9a315ff09e11a11bd9816e555f5ce7aedce | 76d2c423fdd5d0a63040176df1068867a81da8e8 | refs/heads/main | 2023-01-06T09:38:31.432306 | 2020-11-03T15:20:05 | 2020-11-03T15:20:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 313 | rd | hist_cure_fractions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hist_cure_fractions.R
\name{hist_cure_fractions}
\alias{hist_cure_fractions}
\title{hist_cure_fractions}
\usage{
hist_cure_fractions(stan_out)
}
\arguments{
\item{stan_out}{Nested list}
}
\value{
}
\description{
hist_cure_fractions
}
|
949675d397cc75aa3f82d3931ce07e8b1d70db79 | 6a4af3ff24f3e661a597158a2202109f978bc30e | /ITT Github MNAR Time 2 Auxiliary.R | 314cd0e306995511403336073177ef50f1592df6 | [] | no_license | cdmcdermott221/PhD-Code | f25bbf7b19e31390b71c43be4b798a96843b7d83 | 9dbfbcea7c1cc9627b16f88c249e2b61c0f4b91e | refs/heads/master | 2023-05-05T19:04:52.472017 | 2021-05-22T23:39:42 | 2021-05-22T23:39:42 | 183,238,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 43,214 | r | ITT Github MNAR Time 2 Auxiliary.R |
##########################################
### ITT Chapter code/Noncompliance#######
##########################################
#Creating blank elements to fill in from loops
#Coefficient, standard error, p value, coverage
#full analysis set
Undeleted_coef = NULL
Undeleted_SE = NULL
Undeleted_p = NULL
UnDel_coverage... |
59dd6e3a1a936d6df8d8f3c531c421e63cb78341 | e5a1e0780d2b93689dbb153e5ab733c4049f8839 | /man/V4_T1.9.Rd | 9d71cca9adc0c60220562ed0f1ada2a9f9274447 | [
"MIT"
] | permissive | LucyNjoki/rKenyaCensus | 5b86efcdb7604067500087be68c463587daf362d | 6db00e5b1b71a781e6def15dd98a4828b6d960bc | refs/heads/master | 2022-11-06T17:58:34.520255 | 2020-06-29T11:34:02 | 2020-06-29T11:34:02 | 276,578,774 | 0 | 1 | NOASSERTION | 2020-07-02T07:30:50 | 2020-07-02T07:30:49 | null | UTF-8 | R | false | true | 465 | rd | V4_T1.9.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/V4_T1.9.R
\docType{data}
\name{V4_T1.9}
\alias{V4_T1.9}
\title{Volume 4: Table 1.9}
\format{A data frame with 4 variables:
\describe{
\item{\code{CountyCode}}{County Code (1 - 47)}
\item{\code{County}}{County}
\item{\code{SubCountyCode}}{Sub ... |
516a1087fd50cd848cdf6576508567b1dc4fa78f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SensoMineR/examples/fahst.rd.R | 115777a32966bb9ccba9d41f57482d9733c12664 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 373 | r | fahst.rd.R | library(SensoMineR)
### Name: fahst
### Title: Factorial Approach for Hierarchical Sorting Task data
### Aliases: fahst
### Keywords: multivariate
### ** Examples
## Not run:
##D data(cards)
##D ## Example of FAHST results
##D group.cards<-c(2,3,3,2,2,4,2,3,2,1,3,2,3,3,3,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3)
##D res.fahs... |
15e6ea2207ad57bdb4765e50e02f1e62e4c04504 | 8dcb923dea78fa398f185c06b5975d259a29f7c3 | /modules/met_data/prepare_soil_moisture_data.R | 97fca0f8a37fc3e33122af1cf7280f1c4ae35aeb | [] | no_license | mingkaijiang/EucFACE_Carbon_Budget | ce69f2eb83066e08193bb81d1a0abc437b83dc8d | 11abb2d6cd5e4121879ddecdf10ee5ba40af32ad | refs/heads/master | 2020-09-03T03:43:00.823064 | 2020-01-15T02:14:51 | 2020-01-15T02:14:51 | 219,377,500 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,905 | r | prepare_soil_moisture_data.R | prepare_soil_moisture_data <- function(plot.image, monthly) {
#### Download the data - takes time to run
myDF <- download_soil_moisture_data()
#### Assign ring information
myDF$Ring <- sub("FACE_R", "", myDF$Source)
myDF$Ring <- sub("_B1.*", "", myDF$Ring)
myDF$Ring <- as.numeric(myDF$Ring)... |
c41b394cbed882576122645e81215d1e3cc04b7c | cabd8bb22762efbe99dcd4760ed7722c55d7b624 | /tests_2_way_contingency_tables.R | efba22f380ed37a696f9742a6c12fb8c06e27e57 | [] | no_license | carinabmorgan/tamu | ab87f48d030d27d29f88a66ce58759096d8e0d12 | dd156222a32680c65103fb118ea1c9c4adffd322 | refs/heads/main | 2023-07-14T00:28:24.864358 | 2021-08-13T15:24:10 | 2021-08-13T15:24:10 | 395,701,199 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,236 | r | tests_2_way_contingency_tables.R | #TESTS FOR 2 WAY CONTINGENCY TABLES
library(DescTools)
library(lawstat)
#Breslow-Day & CMH Tests for common odds ratios (must be 2x2xz , z>1)
#Breslow Day: checks that there is not a significant difference between OR's (H0)
y<-c() #add all data values of matrix
dim(y)<-c(2,2) #add dimensions of matrix... |
d0c2632fd032f25bfd6d983c8471e7f4221e6d5e | fde4f97ceb49af70f44297cb3aa5d8301357f849 | /peaky.R | 54e2d63b7dc8bb6edb65bb2eb67b8aa80e6c47a4 | [] | no_license | zeugirdoR/peaky-stan | 2fb028df1f1975c6447ee7be4a429ffb53270635 | 80bbe710988a000ddaac4575eca484132e058add | refs/heads/master | 2016-09-11T11:48:09.301779 | 2014-11-20T17:13:37 | 2014-11-20T17:13:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,333 | r | peaky.R | ## the peaky prior.
#
library(rstan)
N <- 100
c <- 0.1
a.true <- 0.025
b.true <- -0.01
y1 <- rnorm(N,exp(-50*(a.true^2+b.true^2)))
y2 <- rnorm(N,exp(-50*((a.true-c)^2+(b.true-c)^2)))
peaky_dat <- list(N=N,c=c,y=cbind(y1,y2))
# with flat N(0,100)xN(0,100) prior: NO LEARNING.
peaky_fit <- stan(file = 'pe... |
4417f5834a4fddc0d806e190b7cb8e8ba6fe8fce | 95ed1ee245f4a786d50afa095ad1996f3845b465 | /Plot2.R | 8c1f466bd21e19d3a8e587c4719305985fa52bba | [] | no_license | BrandonAson/ExData_Plotting1 | 3cdf3f60724043bdce05294ccc4f91a40f11b2c8 | 3d5684ff18870141c713da56d92713593c501875 | refs/heads/master | 2020-12-25T20:31:24.457702 | 2015-01-10T17:42:59 | 2015-01-10T17:42:59 | 29,000,244 | 0 | 0 | null | 2015-01-09T04:14:45 | 2015-01-09T04:14:45 | null | UTF-8 | R | false | false | 1,087 | r | Plot2.R | Plot2 <- function()
{
############### LOAD PACKAGES ################
library(data.table)
########## LOAD DATASET ##########
dataSet <- read.table("./household_power_consumption.txt", header = TRUE, sep = ";", na.strings = c("?", ""))
####### RECONFIGURE DATE AS CLASS & SELECT DATE RANGE 2007... |
3d731cf1754fb0d00dd43301a940eb965651cf56 | 77e2ab3f92aeae91734daeb4bbc8569ef1d40c6a | /man/tables.Rd | aaaf64dbb1ba3cb5160816419919fe38c7897562 | [] | no_license | baharak/SparkR | 6ef2c5e948091c1e5b7a359834d54ec2b5360874 | 4ec87f6f817ab9dff29178b769d22efe5a734ce9 | refs/heads/master | 2021-01-21T19:06:50.749325 | 2015-07-27T06:36:19 | 2015-07-27T06:36:19 | 39,803,604 | 1 | 1 | null | 2015-07-27T23:52:13 | 2015-07-27T23:52:12 | null | UTF-8 | R | false | false | 501 | rd | tables.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/SQLContext.R
\name{tables}
\alias{tables}
\title{Tables}
\usage{
tables(sqlContext, databaseName = NULL)
}
\arguments{
\item{sqlContext}{SQLContext to use}
\item{databaseName}{name of the database}
}
\value{
a DataFrame
}
\descriptio... |
1900d947f397e43b92a58f33b56ab0fd045897fa | b2d31f342878148109735c24780ab52c0dfcd975 | /R/estimate.R | 54c5b3faea0c7e2c6a4e5a1f59b42e6b15ce3f6b | [] | no_license | cran/bioassays | b3e45cdeb5dddc22d5065f542c543e64c3e0f117 | 892682e437df89afe80bbee88d348a1c56b1962f | refs/heads/master | 2022-12-25T09:55:21.485996 | 2020-10-09T19:10:02 | 2020-10-09T19:10:02 | 268,085,757 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,466 | r | estimate.R | #'@name estimate
#'@aliases estimate
#'@title Estimate Samples from Standard Curve
#'@description This function will estimate the unknown variable (example: concentration) based on a standard curve.
#'@usage estimate (data, colname = "blankminus", fitformula = fiteq, method = "linear/nplr")
#'
#'@param data data ... |
d8c82dcfd3215af7a7d21ab125bafebe8fecee4f | 71993c9cdadaff86bf072858e580bc6943d5356b | /R/app_utils.R | d1c04562cdbad01310a6a002b1b9ee2c9246e04a | [] | no_license | ca3tech/covid | fa83fb991587882a6e8874330382652c52a3aa38 | 9c19f82391b2def84b3fc1103890465f33af6b11 | refs/heads/master | 2023-03-07T15:13:44.006001 | 2021-02-20T22:51:00 | 2021-02-20T22:51:00 | 275,665,035 | 0 | 0 | null | 2020-08-09T21:06:25 | 2020-06-28T20:43:26 | R | UTF-8 | R | false | false | 7,528 | r | app_utils.R |
getMap <- function(county_geo) {
# The htmlwidgets::onRender was reverse engineered by looking
# at the R leaflet GitHub code and the help for htmlwidgets.
# It is there to facilitate adding markers to the map from
# feature ids in the URL query parameters.
if(! is.null(county_geo)) {
leaflet() %>%
... |
3d6476e388c06c1b79c4751638375a0baa5fa691 | 690f368023ed55daac428fed7b3a2125a0556c9c | /tests/testthat/test_sqrt_x.R | 1426dd7da703bf06debe761e201e43eb079eab36 | [] | no_license | petersonR/bestNormalize | 6b41727938489bb527ebda9533dae5c439986ed8 | 4d568bc4eb41d7d17a54fcdbb2b20a5c844c0ca6 | refs/heads/master | 2023-04-06T08:28:26.633324 | 2023-03-21T23:00:24 | 2023-03-21T23:00:24 | 109,146,034 | 42 | 5 | null | 2023-02-15T23:49:46 | 2017-11-01T15:05:50 | R | UTF-8 | R | false | false | 2,337 | r | test_sqrt_x.R | context('sqrt_x functionality')
data(iris)
train <- iris$Petal.Width
sqrt_x_obj <- sqrt_x(train)
test_that('sqrt_x Transforms original data consistently', {
expect_equal(sqrt_x_obj$x.t, predict(sqrt_x_obj))
expect_equal(sqrt_x_obj$x, predict(sqrt_x_obj, inverse = TRUE))
})
test_that('sqrt_x Transforms new data c... |
e6a86369cb3fac2de24e66aac438636b440abf90 | 50cbe33890817fcab78e72d7abf72cf10135198d | /scripts/00_solar_angle_function.R | ae06a294412ec12690b85580cd820899667ec886 | [] | no_license | avhesketh/semibalanus | 84cc0c18d718c32717421f14b23d8c81bfbcb4e4 | 7fa53aeaf583b90e8ae793cbe15393685282abe4 | refs/heads/main | 2023-04-13T19:25:36.904974 | 2022-08-15T17:05:52 | 2022-08-15T17:05:52 | 414,035,242 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,072 | r | 00_solar_angle_function.R | ############# AMELIA HESKETH ##############
############ October 14, 2021 #############
## Calculating solar angle of substratum ##
# You will need four variables to run this formula:
# orientation_rad = compass angle the substratum faces relative to north = 0, in radians
# sigma = angle of substratum relative to ho... |
f1a9b942564f15124fd7fc9fdb69baf92bea64e1 | d32f01511d86b09c2d808e67499389b601e5e844 | /03-main-analysis.R | aa79afa1799fd1482ed368dae319c607ea8132a3 | [] | no_license | bstaton1/cesrf-minijack-rates | d27d8541a0ba5e5c3b9718cbb15274b1c5343169 | 397fab9cded8a68669bbd41e06ba0b37f498c911 | refs/heads/main | 2023-04-11T21:57:17.881808 | 2021-11-11T01:06:35 | 2021-11-11T01:06:35 | 362,966,941 | 0 | 0 | null | 2021-10-05T22:33:16 | 2021-04-29T22:53:15 | R | UTF-8 | R | false | false | 4,764 | r | 03-main-analysis.R | # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: #
# SCRIPT THAT CONDUCTS THE MINIJACK ANALYSIS FOUND IN THE MAIN TEXT #
# ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: #
# NOTE: THE BOOTSTRAP IN THIS SCRIPT TAKES APPROXIMATELY 2.5 HOURS TO RUN
# load necessary packages
source("... |
d606bfd5798e399ff019ed86f82b1409db195aa7 | 4457b97c3a5c1037fd6fcd6a9fddb3bab0bc67dd | /services/executionenvironments/r/generator/generator.r | 534cd596d81a0bad6a34d60c43de810398fd8b67 | [
"MIT"
] | permissive | hpi-epic/mpcsl | 9887c3d07f0902a3e6239b8b0d5299ca3af59e19 | 4b8e6998b2c569ab37ba39a8e0fec057e775b9cc | refs/heads/master | 2023-05-22T15:51:17.173435 | 2023-02-14T14:28:06 | 2023-02-14T14:28:06 | 154,475,401 | 4 | 1 | MIT | 2023-02-14T14:28:08 | 2018-10-24T09:35:21 | Python | UTF-8 | R | false | false | 2,202 | r | generator.r | library("pcalg")
library(optparse)
library(httr)
library(igraph)
tmpDataFile <- 'df.csv'
tmpGraphFile <- 'graph.gml'
option_list_v <- list(
# optparse does not support mandatory arguments so I set a value to NA by default to verify later if it was provided.
make_option("--apiHost", type="character", help="API Hos... |
129971d3823bfb2fbf60a3c0253bd14153b22153 | bad78e83e107f4198ac82d62f241e1c4a7e043b8 | /R/reexports.R | 749c8c81ea60113b0e61ad264b812c2008b68919 | [] | no_license | rpruim/DemoCourse | ec209c8d006c468baf5a4d13436ce28c6c8a1318 | 4a4080267d24581961e9a98cb0ee9109097a1f3d | refs/heads/master | 2020-03-20T01:53:47.432776 | 2018-06-12T16:45:18 | 2018-06-12T16:45:18 | 137,092,508 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 71 | r | reexports.R |
#' @inherit mosaic::favstats
#' @export
favstats2 <- mosaic::favstats
|
c2b15092ee8ca126fa4f28d09400ac0ba84987af | 74a6698f714d6e62060eef47ec875aec9e570086 | /man/DiffusionRimp-package.Rd | b8a19bb5b8a03b1c3c3ade3ec0f7be5bb332dade | [] | no_license | eta21/DiffusionRimp | 2350a48f730309c373e38704cb624716558f8bc1 | 9eaed5ac9f1ed1b279cb61cf744aa57927bf1d80 | refs/heads/master | 2020-04-06T06:56:05.471125 | 2016-08-26T07:23:25 | 2016-08-26T07:23:25 | 43,482,032 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,013 | rd | DiffusionRimp-package.Rd | \name{DiffusionRimp-package}
\alias{DiffusionRimp-package}
\alias{DiffusionRimp}
\docType{package}
\title{
Data-imputation and density approximations for diffusion processes.
}
\description{
A package for performing data imputation on discretely observed diffusion processes as well as calculating numerical approximatio... |
6183880e62e681d72d0cfdc791270714a4190ef8 | d3fd64b723dd45a32eb8992a450f0f66e3ef6ce5 | /app.R | 73e6fc95294cb8ab5ca00419690e38f3a9364075 | [] | no_license | vishu133/arulesapp | 648d88d11d3b391deb3bb756ba8f7170bb03a238 | f5e67589b926b220a1fa06bfc37de200aa7c1cff | refs/heads/master | 2020-04-04T08:07:14.122470 | 2018-11-02T01:05:51 | 2018-11-02T01:05:51 | 155,771,848 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,435 | r | app.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/
#
EnsurePackage <- function(x) {
x <- as.character(x)
if( !require(x,character.only = T))
{install.p... |
89fa61762e310daeeaba9b0c2b0ed81efafdb7d0 | 1f8ba5288dce0249e88b54f152aad8bf46ee8f49 | /scripts/kmeans_n_grps_sab_sdm.R | 1023dbcff2f36d5f449d00272d2c5d1bebc52d9b | [] | no_license | philiphaupt/sabellaria_goodwin_sands | e9f3a84ec78d83a4fc32033ebb268c48ecf037ba | dfb9d22f68955a467857aec9f05925b93ba88c0e | refs/heads/main | 2023-07-18T04:52:59.528719 | 2021-09-07T09:50:35 | 2021-09-07T09:50:35 | 366,675,850 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 600 | r | kmeans_n_grps_sab_sdm.R | # reclassify the number of categories of probailities
library(ecbtools)
#-----------
# Convert sabellaria raster to stack raster to allow extracting kmeans
sab_stack <- raster::stack(sab_mod_goodwin)
# reclassify the probability maop into cateogries based on values - can use proximity to influence
set.seed(123)
kmean... |
e9416c2f2058ae255ea4dfaf317bd72d81851e8b | 85c5490e286d6e966d882526f85dac038e74360f | /rSource/evaluate.R | e7b59ef6955e5d8119acc9b5e3153fa11df88044 | [] | no_license | markatango/langModel | 44bae9fa3dd19610b5ba9cc7de2bc8af51430c8d | c21b4eb65c7c95b8ecfbc536bae6538433fdd18f | refs/heads/master | 2021-01-23T19:38:04.366005 | 2019-06-23T17:45:15 | 2019-06-23T17:45:15 | 34,079,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,881 | r | evaluate.R | inOut <- function(testNgram){
pWords <- predictFromTextFold(testNgram$pref)$uSAD
lpw <-
testNgram$suff %in% pWords[1:min(3,length(pWords))]
}
#========================== START ================================
# remove existing corpus and ngram data and tokens to free up memory
rm(dCorpus,Ngrams,NgramDocSta... |
f52a0be6b9d4952261bb37ed684ccd4127b8c9f7 | 798ccd069fc99bb33a0e476d6f8043659c319c3b | /R/methods-plotMappingRate.R | a901840a8bd699bdb8b80e4aebf66972d11d2cec | [
"MIT"
] | permissive | microsud/bcbioRNASeq | 076beefe9a928f7ac17ca785f23e060a0a181f58 | ebccb143522938ad87388e1f1d734862b1d81d6d | refs/heads/master | 2021-07-07T06:51:34.259240 | 2017-09-28T14:28:28 | 2017-09-28T14:28:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,499 | r | methods-plotMappingRate.R | #' Plot Mapping Rate
#'
#' @rdname plotMappingRate
#' @name plotMappingRate
#'
#' @examples
#' data(bcb)
#'
#' # bcbioRNADataSet
#' plotMappingRate(bcb)
#'
#' # data.frame
#' metrics(bcb) %>% plotMappingRate
NULL
# Constructors ====
.plotMappingRate <- function(
object,
interestingGroup = "sampleName",
p... |
7ebd11349f40eba5d7e84d3cc561073a067de750 | c27f5e62c95bde9bea315ac11d4c943647c97164 | /R/plot_abundance.R | 1fce624a7c4c72259e56bc7a827445a989589a5c | [] | no_license | cran/imsig | 65ad818ffef83952fc2c772c49a1ea7118ba3242 | 06be804141040ba3d59d11a7e620794ea9567512 | refs/heads/master | 2021-06-18T08:15:03.023680 | 2021-01-10T00:00:02 | 2021-01-10T00:00:02 | 145,896,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,737 | r | plot_abundance.R | #' @title Plot relative abundance of immune cells
#' @description Barplots of relative abundance of immune cells across samples.The order of the samples are the same as that of \code{\link{imsig}}.
#' @param exp Dataframe of transcriptomic data (natural scale) containing genes as rows and samples as columns. Note: Gene... |
e071fb9bdbde52aab6af2f055dc317905464b96d | 961687ab3cab0f0ab2774eacd0b740c5199df6b5 | /R/GDALDB.R | ac4b44c02f439e58875a84d41ff83f31099f1b3c | [] | no_license | mdsumner/RGDALDB | a199095774cf84960ba60902404bc8cf5d2d25b3 | a1a3d04d3ebddb4a9e7d5f40b44a496c4a28502d | refs/heads/master | 2020-03-28T12:52:57.444879 | 2019-10-14T01:30:13 | 2019-10-14T01:30:13 | 148,343,394 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,758 | r | GDALDB.R | #' Driver for GDALDB database.
#'
#' @keywords internal
#' @export
#' @import DBI
#' @import methods
setClass("GDALDBDriver", contains = "DBIDriver")
#' @export
#' @rdname GDALDB-class
setMethod("dbUnloadDriver", "GDALDBDriver", function(drv, ...) {
TRUE
})
setMethod("show", "GDALDBDriver", function(object) {
ca... |
8c04ea027042918462c175952d2ef58f68875a43 | 0923c511a5876bcd257f48193d31f0a957598cbc | /mejor.R | 8bcdb9949769d183148b82f4864a06b7b392462b | [] | no_license | Earellanom/Programacion_Actuarial_III | 978b322991bb8293276409dde0504ae7325afc87 | 17c3ff4ef2575384893fdebd252120caad160eda | refs/heads/master | 2021-01-09T05:59:48.418673 | 2017-06-04T19:09:28 | 2017-06-04T19:09:28 | 80,865,968 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,614 | r | mejor.R | mejor <- function(estado,resultado){
if(file.exists("outcome-of-care-measures.csv") == F){
if (file.exists("Calidad de Hospitales - data")==T){
setwd("./Calidad de Hospitales - data")
}else{
stop("No existe la base de datos en el directorio." )
break
... |
8f14d8c27aae62ca4d40510b20137645f1c00979 | 7398b8fe21f917e6ec35cf111984e87650f1b199 | /r4ds_model.r | 4a1c62ca0cf3fc87bdd5a0417fb42ed75b07aa10 | [] | no_license | JSA10/r4ds | a8eac7d550dfbab5b4de9cddbb8546f12f8e5d99 | a7580b75e7edabb36bd8bb7bcb44859a60d2cf5b | refs/heads/master | 2021-01-21T17:46:59.742104 | 2017-05-21T21:41:16 | 2017-05-21T21:41:16 | 91,989,043 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,048 | r | r4ds_model.r | #R4DS - IV MODEL
#
#23.1 Intro
#modelr package which wraps around base R’s modelling functions to make them work naturally in a pipe.
#
library(tidyverse)
library(modelr)
options(na.action = na.warn)
#simulated dataset sim1 - simple with two variables
g <- ggplot(sim1, aes(x, y))
g + geom_point()
#see a strong patte... |
cc41dc11962a377572f7072d92d9c0673fd752b4 | cfb0fe2aa2f8885648c74248ce15df72005cee7c | /R/Fig5-2_Fragmentierung.R | 3bbc21cd5433767e3b6a302da000a0f1d0b7241c | [
"CC0-1.0",
"MIT"
] | permissive | dirkseidensticker/EggertSeidensticker2016CampoAP31 | 42771996e662fcdf7733709d8bad86d8d5bb6528 | 184bb82a018cfd8e7c9c48660d50f3a79f479396 | refs/heads/master | 2022-12-25T12:36:19.533405 | 2022-12-19T13:08:51 | 2022-12-19T13:08:51 | 110,661,004 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,429 | r | Fig5-2_Fragmentierung.R | ###########################
# Fig. 5.2 Fragmentierung #
###########################
library(ODB)
connection <- odb.open("data/CampoDB.odb")
sql <- 'SELECT
"t_Obj"."ObjID",
"t_Obj"."feature",
"t_Obj"."material",
"t_Obj"."GE",
"t_Obj"."n",
"t_Obj"."type",
... |
a4e86bc39e399dd9a15fc114784a176421149ec6 | 6883bea0a22bd6b586cb01b14276ae59ab807fce | /ui.R | 74b259bbd7f6e526091d84b319942c7cf027b7a2 | [] | no_license | stefMT2970/DevDataProducts | 8026482f8e33425b290c1d2b3c896e3fd30b12b5 | 09c9c4a1e381f644c56d2e491a3e0fbef23c5ea7 | refs/heads/master | 2020-05-20T02:56:47.334993 | 2015-07-20T12:32:08 | 2015-07-20T12:32:08 | 39,002,450 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,882 | r | ui.R | library(shiny)
library(shinydashboard)
# define tab's upfront
normTab = tabItem(
tabName="normDis",
tags$p("Select a sample size to generate normal random draws."),
tags$p( "The vertical line shown is the mean of the random draws,
A standard normal Gauss curve is superimposed.
T... |
2480b0783dc135335439baadea4c51a40b93c7b2 | bfe4fa7d35d25dbd4749c7db18284630743f943b | /Simple plots/simple_plots.R | eee008e3fac9338657a76a1aada830654f109143 | [] | no_license | innertron/REU_Kam | 0ccfe2d4e178b241cdf836d9c066188dbbd65e82 | bf4028b193f13cc202f66cd28963290722b312ac | refs/heads/master | 2021-01-17T20:16:07.187792 | 2016-08-02T21:29:38 | 2016-08-02T21:29:38 | 61,396,055 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 859 | r | simple_plots.R |
#Plot the first second of channel 1 and 2
Ch1<-subset(neural_data, select = c(Time, X1.Chan..1), Time > 0 & Time < 1, drop=T)
Ch2<-subset(neural_data, select = c(Time, X2.Chan..2), Time > 0 & Time < 1, drop=T)
plot(Ch1, ylab="Voltage", col="green", type="l", main="Simple plot of the first and second channel \n during... |
53ac4c8cea8fe34539a5c8e9c1788dd0a418d290 | aebfb7d9c03a2d349f66c1c335287e4e14d58071 | /man/format_quarter.Rd | a093eeada9ee9a67d1e7fdd40241ede898b6cfbf | [] | no_license | lixixibj/foss | d99cf1e9edc25bdfabf405922557b6c3858782cd | 5c02c6758a628b08a2549aee4b9c53fe05d714a0 | refs/heads/master | 2023-06-14T11:02:08.176633 | 2021-07-09T01:24:36 | 2021-07-09T01:24:36 | 266,596,085 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 417 | rd | format_quarter.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.multiple.sub.seasonal.series.R
\name{format_quarter}
\alias{format_quarter}
\title{get formatted quartely of the original quarterly}
\usage{
format_quarter(original.quarter)
}
\arguments{
\item{original.quarter}{eg. c(3,4,5,7)}
}
\value{... |
1962142ad5e63646aa65f9d223c3c44dd28f1e1f | 32b4ed8cae7e3c3dfb4f1daa54c43a4250db85a7 | /man/sim.ctsCH.Rd | 6efcfe1e147df83a3965ebfe4546b69797d27a09 | [] | no_license | david-borchers/scrmlebook | 0405c3ee269390424635d1cdf78ddd30bd726db6 | c83da97b1a3c5cdfa47e1db8d1903185eae2ba76 | refs/heads/main | 2023-02-21T10:00:56.392408 | 2021-01-26T08:41:49 | 2021-01-26T08:41:49 | 333,022,046 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,613 | rd | sim.ctsCH.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/CTfns.R
\name{sim.ctsCH}
\alias{sim.ctsCH}
\title{Simulate CT data.}
\usage{
sim.ctsCH(traps.obj_, mask.obj_ = NULL, buffer_ = NULL,
haz.type_ = "IndL", detector.type_ = "Prox", gam.obj_ = NULL,
fit.obj_ = NULL, cycle.hrs_ = c(0, 24), mes... |
59256a6d45ae8fd037464dad5d360952dd743ee7 | c0a08d09bb804cbfd9c186ba4e5c75dfb3e4faee | /man/TSGMM_Binom.Rd | 60d6ee9d39dfcf7daf95bf5b98dc17f5dffe758f | [] | no_license | lalondetl/GMM | bd1b21f694a35c09484dfb6e99aa974a6f6a48f6 | 628889324529b0b86f55a4d2054bed5442af0b40 | refs/heads/master | 2018-07-05T06:26:23.000514 | 2018-05-31T20:57:15 | 2018-05-31T20:57:15 | 119,891,979 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,906 | rd | TSGMM_Binom.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TSGMM_Binom.R
\name{TSGMM_Binom}
\alias{TSGMM_Binom}
\title{Two-Step Generalized Method of Moments, Longitudinal Count (number of events from n trials) Outcome}
\usage{
TSGMM_Binom(ymat, subjectID, Zmat, Xmat, Tvec, N, mc = "EC",
covTypeVec... |
e5a69dae703037a1d9c0f65e329f3941df2b13a4 | 7e1aa6f485ab8b3446d6d653dfe99b0dec2f42c9 | /Dimensionality-Reduction-PCA.R | 2fd24498a926a97964777b8fd876443e7bfbfa76 | [] | no_license | mkaur7/Data-Mining | cd650aeec6ea0d42db3f3e6459c4e9e04c76c92b | 2a7dc67293f76cd6dd6b59a1f60c9da8fb704a43 | refs/heads/master | 2021-07-06T09:18:33.570622 | 2017-10-02T23:18:37 | 2017-10-02T23:18:37 | 105,594,701 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,116 | r | Dimensionality-Reduction-PCA.R | library(stats) #to use function prcomp()
library(factoextra) #to use functions get_eig() and fviz_screenplot()
Wine <- read.csv("C:/Users/Me/Desktop/Sem 3/Data Mining/Assignments/Data_Mining/Wine.csv") #reads the csv file
wine_matrix <- as.matrix(Wine) #reads the csv file as a matrix
wine.... |
b420ab8b99efd4c1fae9a3292b422922cfb0d5dc | f29f5a1caa2b3cd95b1aa50247cba1a9eafe4299 | /Caso 1/mediacontaminante.R | 196df6a3d881bb07e771d59247cf1c603b442e15 | [] | no_license | Mishdz/Programacion_Actuarial_III | 7488576c9fa71f2a2e40aa26fb8afcff7f079d59 | d551a2499ebec0747ac6cd318e4c7dfe89acc02a | refs/heads/master | 2021-01-13T05:06:23.446060 | 2017-06-09T21:40:00 | 2017-06-09T21:40:00 | 81,249,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 516 | r | mediacontaminante.R | mediacontaminante<-function(directorio="~/GitHub/Programacion_Actuarial_III/specdata",contaminante,id=1:332){
sum<-numeric()
for(m in id){
id_1<-formatC(m,(with=3),flag="0")
vri<-read.csv(paste(id_1,"csv",sep=""),header=TRUE)
if(contaminante=="sulfate"){
cnt<-c(cnt,vri$sulfate)
... |
5ccd4ff139134785e666bd055ef2a072e93e7be9 | e368c0a230dc240161c2298a63f5d2db1dcfbeb4 | /R/batchHansen.R | 4c53b60250a2722c71a6cac0e13e47fb2ceb4df9 | [] | no_license | andrew-hipp/maticce | 22e93468d00889157af6b4266476719ad7b19948 | 585d64aaa0663c2f285730196f6237f5609d2b56 | refs/heads/master | 2020-12-22T08:18:04.414379 | 2020-01-28T11:53:06 | 2020-01-28T11:53:06 | 236,723,460 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,215 | r | batchHansen.R | # ---------------------------------------------------------------------
# FUNCTIONS FOR PERFORMING A SERIES OF OU ANALYSES ON A BATCH OF TREES
# ---------------------------------------------------------------------
## Changes needed:
## - measurement error portions need to be fixed
## - In a better world, allow gr... |
5e19629f3d73d7ed79c6bd8302727e4dde7775a1 | 625f1f1c7129dea80aee80f39c0b13fe0eeef8c0 | /bayse/rstan_test2.R | 5d9f6fda33acd5ef0ff6536adfacd220470b5909 | [] | no_license | CarolShiomiya/sugakubunka-statistics | 51895e57f8ee06e4c0ec435ec960a36c8e0c6a7d | 2a92d421569ceaca7a1390700c16a4eb75e62b16 | refs/heads/master | 2020-03-19T17:38:55.801066 | 2020-03-04T07:30:05 | 2020-03-04T07:30:05 | 136,770,223 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 602 | r | rstan_test2.R | RealMu<-300
measure<-rnorm(1000,RealMu,30)
Observed<-c()
for(i in 1:1000){
Observed[i]<-rnorm(1,measure[i],3)}
Observed
Observed<-list(Observed=as.numeric(Observed),n=length(Observed))
Observed
set.seed(1)
localLevelModel_1<-"
data{
int n;
vector[n] Observed;
}
parameters{
real mu;
real<lower=0> val;
vector[n] ... |
a12acae53d653ab898991476643dc1d8d1d5b5c2 | d1146058bd04b44e0866273dd2a5aab67d43e920 | /scripts/cummeRbund.R | a10c5a0b604e73dd5cf7ec71acd597cc44d27af9 | [] | no_license | bellerbrock/bioinfocourse | 234f4d04d1da6ae6e50666e1402a45f06b72c566 | b9eca463dcba76d40e160f96ce8309cde1b30b22 | refs/heads/master | 2021-01-17T05:13:08.493356 | 2017-04-25T20:24:15 | 2017-04-25T20:24:15 | 47,598,053 | 0 | 0 | null | 2015-12-08T04:14:52 | 2015-12-08T04:14:52 | null | UTF-8 | R | false | false | 2,335 | r | cummeRbund.R | source("http://bioconductor.org/biocLite.R")
biocLite("BiocUpgrade")
biocLite("cummeRbund")
library(cummeRbund)
browseVignettes("cummeRbund")
setwd("~/Desktop/ch4_demo_dataset/cuffdiff_out/")
cuff <- readCufflinks()
cuff
##https://pods.iplantcollaborative.org/wiki/display/eot/RNA-Seq_tutorial#RNA-Seq_tutorial-Step5%3... |
e95b9ee9ccccef52fc94474f89c1e7f71707a4fe | 72ada5d64b3d756b5c50f2a553bf1bdf3736bbb7 | /Code/rfile.r | 72f5cb69ba9a4c9f8c1919851794533e5f889864 | [] | no_license | ljanastas/Student-ML-For-Policy | 99a1308e6890aa58ab6c8b55fd545899504876fd | d9cfe2e4db1ee65e9a908f573f148d99f2061a07 | refs/heads/master | 2021-04-30T12:11:22.794276 | 2018-02-12T16:22:56 | 2018-02-12T16:22:56 | 121,269,344 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36 | r | rfile.r | # This is an R file
library(foreign) |
e98935d38263adfa984b40bae5c8f0d7486c6312 | c56c0e2ce242ba97e44b007935a5b64869ce5919 | /man/ant_efficiency.Rd | d36ac6a036eef69b8c3d03960b1da4fef4823668 | [
"MIT"
] | permissive | hugo-marques/ORFID | a850f0f5eb45965343bf501e0b821335e48af9c1 | b06851a3696ac07545b9719f6c35d6c65b528d9d | refs/heads/master | 2022-12-25T12:10:57.745838 | 2022-12-20T19:23:39 | 2022-12-20T19:23:39 | 187,097,236 | 4 | 2 | MIT | 2022-02-16T21:13:31 | 2019-05-16T20:30:59 | R | UTF-8 | R | false | true | 2,368 | rd | ant_efficiency.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ant_efficiency.R
\name{ant_efficiency}
\alias{ant_efficiency}
\title{Detection efficiency for directional Oregon RFID antenna data}
\usage{
ant_efficiency(x, LOC_vec)
}
\arguments{
\item{x}{data frame generated using \code{\link{join_multirea... |
38fa259ea1be1a5767d79888538c4994ace46c2c | c8f4cb10826757cb5184e6a9c553f3a316e171e0 | /man/strip_style.Rd | 5933ce480d113b9f24a92ff9b4664d6361e510c3 | [] | no_license | arturochian/crayon | 1763fed8991dd23a6635b8ac8154300d0a5211c0 | 9598b678ecbe2c1a6d1fc67e9f3d55b49b736885 | refs/heads/master | 2021-01-15T17:29:37.959919 | 2014-10-15T13:55:06 | 2014-10-15T13:55:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 365 | rd | strip_style.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{strip_style}
\alias{strip_style}
\title{Remove ANSI escape sequences from a string}
\usage{
strip_style(string)
}
\arguments{
\item{string}{The input string.}
}
\value{
The cleaned up string.
}
\description{
Remove ANSI escape sequences from a string
}
\example... |
c387e707fc80f10c826e296d56e9242a18d63c2f | fe68a38a34adaf4c47f154b22dcd82c63353a2b4 | /R/get_count_matrix_from_FPKMTable_andTotalReads.R | 60e7c10bbb2435b930232000088319efd2987e8e | [
"MIT"
] | permissive | NLM-Reproducibility-Project/May_2019_Epigenome | 1a8a02a3ff6c0a04d0214ca7691922eda96828ca | f0dd3cd55f143eccf4ab091258dd75fd1648d308 | refs/heads/master | 2020-05-23T15:36:14.752039 | 2019-05-17T18:37:07 | 2019-05-17T18:37:07 | 186,830,050 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,746 | r | get_count_matrix_from_FPKMTable_andTotalReads.R | library(EDASeq)
# read table contains fpkm data of donor samples
tissue_fpkm <- read.table(file = "RNA_matrix_FPKM.tsv",header = TRUE, stringsAsFactors = FALSE)
# Get coordinates of genes
chr_start <- gsub(".*:","",tissue_fpkm$locus)
chr_start <- gsub("-.*","",chr_start)
chr_end <- gsub(".*-","",tissue_fpkm$locus)
# ... |
f1615aa4c65472b45dea85de56fcb1d57e675ec2 | eded207ad230f39073fb371b02b2efa7d54b4115 | /man/f2014.Rd | 4a622dd62d3ea657266ad9661e79fe3d252e1173 | [] | no_license | jjchern/meps.hc | 76be60858509be1077700ddf542dbe9f594b15d5 | 703fb265a60492704fcd859f380aebf0a21772f5 | refs/heads/master | 2021-01-01T15:38:34.002273 | 2017-07-19T21:54:13 | 2017-07-19T21:54:13 | 97,664,344 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 493 | rd | f2014.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{f2014}
\alias{f2014}
\title{\code{f2014}}
\format{An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 34875 rows and 1838 columns.}
\source{
\url{https://meps.ahrq.gov/mepsweb/data_s... |
685345632f5517710a5f42836b5c86f8ea93c7bf | f6c9f760bf10b1f7f8ac7ff3653e4fd180c8720f | /R/calc_non_centrality_parameter.R | 406cfdd802295679b4b2e528e60be5034f8188ee | [] | no_license | cran/sprtt | 05a0f349644683afe6f7c8464945f89938a2d8ef | e6bde9996f96d6d559235a4ad99c84fd48b386db | refs/heads/master | 2023-07-20T08:43:45.684070 | 2023-07-06T12:50:02 | 2023-07-06T12:50:02 | 393,568,991 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 716 | r | calc_non_centrality_parameter.R | # t-test -----------------------------------------------------------------------
calc_non_centrality_parameter_ttest <- function(seq_ttest_arguments) {
x <- seq_ttest_arguments@x
y <- seq_ttest_arguments@y
d <- seq_ttest_arguments@d
if (seq_ttest_arguments@one_sample == TRUE ||
seq_ttest_arguments... |
b553d8c84b9884b435d74bf13b6674761c65351f | e82422412f814eb32d470350e4dfdcd873f77bee | /data-raw/dataset.R | 73b6073293c8b90845b2448dd9da1f7112a9dc3f | [
"MIT"
] | permissive | Amalan-ConStat/OlympicRshiny | 5e3cdceeb80bf5dafbb6ec7fb38c247bcf7e2803 | de824e5ed42ab3fe7ae753c0a3f86f89cb2b210b | refs/heads/main | 2023-02-08T12:24:22.713681 | 2023-02-01T09:39:15 | 2023-02-01T09:39:15 | 594,175,470 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 513 | r | dataset.R | ## code to prepare `dataset` dataset goes here
load("data-raw/Olympic.RDA")
NOC[is.na(NOC$region) & !is.na(NOC$notes),2]<-NOC[is.na(NOC$region) & !is.na(NOC$notes),3]
Olympic$NOC<-factor(Olympic$NOC,levels = NOC$NOC,labels = NOC$region)
Olympic$NOC<-as.character(Olympic$NOC)
Olympic$Sex<-factor(Olympic$Sex,levels =c... |
47e04edf257b86c03cd96098dc01ae50389904ac | eae08e61892e4125b592ef2063489d35855715d2 | /scripts/functions.R | 02d76c02abcd98ee26c399dc308549d4fb0967bc | [] | no_license | Aung-Myint-Thein/test-medical-data | d183118011995f79516e158d335667825e7f2c64 | cd1ff4eb5224cb2620981db07f546c5dfd98aa95 | refs/heads/master | 2021-01-25T08:43:04.428995 | 2014-05-06T14:14:05 | 2014-05-06T14:14:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,312 | r | functions.R | library(Metrics)
library(ggplot2)
library(e1071)
library(reshape)
clean.diagnosus <- function(diagnosis) {
diagnosus <- diagnosis
diagnosus <- substr(diagnosus, 2, nchar(diagnosus))
diagnosus <- gsub("[[:punct:]]", "", diagnosus)
diagnosus <- gsub(" ", "", diagnosus)
return(diagnosus)
}
get.diagnosis.gro... |
8186b995d4b4f81683dc0a823ae9569ed30e4594 | 0c1b8779e562b9161f77528bdbabd82f523a84e8 | /exdata_data_NEI_data/plot1.R | 7fa3ba1b0ad33c0d2bde4fdd377bbc70e19ee9b2 | [] | no_license | sanyamsh7/datasciencecoursera | 004fc1d4faab0ae912c4887ab7a6d8a67119ad05 | 9f0250d564399e6aff0dc9339688a055b2da043f | refs/heads/master | 2023-01-20T13:32:05.886731 | 2020-11-29T06:16:03 | 2020-11-29T06:16:03 | 297,092,469 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 662 | r | plot1.R | # plot total emissions from years 1999, 2002, 2005, 2008
# both the data files should be in the working directory
#reading data
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
# using aggregate function for effectively calculating the sum
# of year wise emissions
totByYear <- ... |
fe7054e646109b0ef1b99729b18eee4789dbdc82 | 516e4fc6ff9b1840be8156d9458e203135fd1d56 | /R/settler.survival.R | 8271c42b8b82ab4d2153fabb44f3c8a54e483efb | [] | no_license | MarcoAndrello/MetaPopGen_0.0.8 | dfc30bb1a9ce3ab58beda0d9990d1e4ab62aa54e | 9d0d38fcbbc8417edf5f7220cdbf55c1f6b2aee7 | refs/heads/master | 2021-01-25T12:36:42.201135 | 2018-09-17T18:13:46 | 2018-09-17T18:13:46 | 123,484,225 | 0 | 0 | null | 2018-09-17T18:13:47 | 2018-03-01T19:45:05 | R | UTF-8 | R | false | false | 91 | r | settler.survival.R | settler.survival <-
function(S,kappa0) {
return( (1 / (1 + (1/kappa0) * S ) ))
} |
2cb29cf10a46823a6872a0fa333677c206976576 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/ESTER/examples/ictab.Rd.R | 808bca6678da079651fcdd1b1393bd55692e1e17 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 656 | r | ictab.Rd.R | library(ESTER)
### Name: ictab
### Title: Computes Akaike weights or pseudo-BMA weights for a set of
### models
### Aliases: ictab
### ** Examples
library(ESTER)
data(mtcars)
mod1 <- lm(mpg ~ cyl, mtcars)
mod2 <- lm(mpg ~ cyl + vs, mtcars)
mod3 <- lm(mpg ~ cyl + vs + I(vs^2), mtcars)
mod4 <- lm(mpg ~ cyl * vs, mt... |
dc953b8b5241a5f8ad27b285f49632c9074d65d1 | 5dc217c7d19a8111d1547a6206c829c4d080a8a7 | /inst/shiny/UI/UI_ref_seq.R | 2c4d839c87e8c1b7a4278a6667dbb550f0fe03cc | [] | no_license | wevanjohnson/animalcules.preprocess | f6f9412f4e984699c46052c652c7cad924f5e422 | 95d01432a876867a90012e4a1a1d1227bfea4bfd | refs/heads/master | 2020-05-01T17:30:39.244747 | 2019-05-09T19:18:53 | 2019-05-09T19:18:53 | 177,601,441 | 0 | 2 | null | 2019-05-09T19:18:55 | 2019-03-25T14:21:58 | R | UTF-8 | R | false | false | 1,302 | r | UI_ref_seq.R | tabPanel(title = "Library Generation",
mainPanel(# the following lines could be uncommented when the download ref seq can
# work on the rest of the kingdoms
# radioButtons("kingdom", "Choose a kingdom:",
# c("Archaea" = "archaea",
# "... |
101932c527cf7dad421bf65e27c65de9d2afd0d5 | 42480ecc4478523696df9809210ae7a7e0bb760b | /clase01.R | 6ae74b026c35bd2d7cf7382d1b2f783319fab199 | [] | no_license | katymq/CURSO-R-BASICO-2017 | b109756ebb3c54b6d09a63e1e92286727ad58bb1 | a3d0ed6564b2dd91d820c664a133a6ada1d5c393 | refs/heads/master | 2021-01-23T02:48:12.302532 | 2017-03-24T04:55:14 | 2017-03-24T04:55:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,175 | r | clase01.R |
########################################################################################
############################# CURSO R- BÁSICO #############################
############################# Clase 1 #############################
##############################################... |
c9f4c96ca33484a4eceb13a839e1d1a23107722a | 9e8936a8cc7beae524251c8660fa755609de9ce5 | /R/bart.R | 63c8d83e51f578cae0d477da10033117da981611 | [
"MIT"
] | permissive | tidymodels/parsnip | bfca10e2b58485e5b21db64517dadd4d3c924648 | 907d2164a093f10cbbc1921e4b73264ca4053f6b | refs/heads/main | 2023-09-05T18:33:59.301116 | 2023-08-17T23:45:42 | 2023-08-17T23:45:42 | 113,789,613 | 451 | 93 | NOASSERTION | 2023-08-17T23:43:21 | 2017-12-10T22:48:42 | R | UTF-8 | R | false | false | 7,773 | r | bart.R | #' Bayesian additive regression trees (BART)
#'
#' @description
#'
#' `bart()` defines a tree ensemble model that uses Bayesian analysis to
#' assemble the ensemble. This function can fit classification and regression
#' models.
#'
#' \Sexpr[stage=render,results=rd]{parsnip:::make_engine_list("bart")}
#'
#' More inform... |
025141032fcbe72f36773c81ba8d20e49458e70c | 1162f8a2de179f8b93369f7a76a058180e98aa21 | /R/rho_test_0.R | f60dde624fb789ce55db6a5296c941760f54dba0 | [] | no_license | elwood-shannon/esfstatistika | 96c99139f211bb14d1aee65e8f4742a9294e66c6 | b5cdb4fbaad627c63263bf35d284597c9b90f768 | refs/heads/master | 2022-12-19T13:57:27.459372 | 2020-09-24T12:29:24 | 2020-09-24T12:29:24 | 250,825,730 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,374 | r | rho_test_0.R |
#' \eqn{\rho}-test oproti 0
#'
#' Funkce pro vypocet testovaciho kriteria a kritickych oboru pri testovani vyznamnosti korelacniho koeficientu (oproti nule).
#
#
#' @param r Vyberovy korelacni koeficient.
#' @param n Pocet pozorovani.
#' @param alfa Hladina vyznamnosti (je 0.05, pokud neni stanoveno jinak).
#' @param ... |
67bc3f5806b2e06a2843baed2c86824e5c48dde4 | af06be512fbe0f94cbc89749d6c1da27e10724b9 | /source/03_exploratory-analyses.R | dbeadfb86f1bc8738b329104fec36fac76ba5a5b | [] | no_license | keanarichards/stats-masters | f0fd80e2f7eec2fa57722c68aa0972de83360a7c | ffd79a42baff8ca46b40dd445a4a05bb2233fb39 | refs/heads/master | 2022-12-31T14:46:45.556745 | 2020-10-13T12:36:35 | 2020-10-13T12:36:35 | 262,153,887 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 837 | r | 03_exploratory-analyses.R | # load packages -----------------------------------------------------------
## Package names
packages <- c("tidyverse", "here", "psych")
## Install packages not yet installed
installed_packages <- packages %in% rownames(installed.packages())
if (any(installed_packages == FALSE)) {
install.packages(packages[!install... |
66603626f392d0496aa6893c362dd9313b300484 | 1443e812411278d1f776f8f7d1196add8e2dcc31 | /tests/testthat/test_rmarkdown_functions.R | 2f338f39ee8f7149ef33fe7447b3d3ed8825545d | [
"MIT"
] | permissive | WeiSong-bio/roryk-bcbioSinglecell | e96f5ab1cb99cf1c59efd728a394aaea104d82b2 | 2b090f2300799d17fafe086bd03a943d612c809f | refs/heads/master | 2020-06-15T23:38:23.802177 | 2018-07-03T21:01:07 | 2018-07-03T21:01:07 | 195,422,697 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 405 | r | test_rmarkdown_functions.R | context("R Markdown Functions")
# prepareSingleCellTemplate ====================================================
test_that("prepareSingleCellTemplate", {
files <- c(
"_footer.Rmd",
"_header.Rmd",
"_output.yaml",
"_setup.R",
"bibliography.bib"
)
expect_silent(prepar... |
1bb2f0ab26dbf8c836d7acc0ae62aeea24110c6c | 3163e89817ded391b753a1932421b96241756633 | /R/old_reconstructCDS.R | f97ce8fa94504c0f0557cf1dc351ff88ce94c275 | [
"Apache-2.0"
] | permissive | fursham-h/ponder | c1612c1e2dfc1dba64ddc75fb368be6e0538bfc2 | 5131a51c73fcf2a28fd43122f97b23932a59c4ca | refs/heads/master | 2022-03-27T11:16:34.321088 | 2019-12-08T23:31:26 | 2019-12-08T23:31:26 | 126,469,267 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,499 | r | old_reconstructCDS.R | #' Reconstruct CDS with alternative internal and downstream segments
#'
#' @description
#' This function will add alternative segments from a query transcript into
#' a reference CDS from the same gene and generate a new ORF
#'
#' Note: This function will not insert/remove first exons.
#'
#' @param queryTranscript... |
5f9b4e709c7b7260ed7a160cc28c7abf9221b940 | 947831e8db6ce82ef431a2dd796d30e47b44c707 | /man/VarRankMembers.Rd | 35e7cbd64dcbedd49ec471a8839b6e46c30eaafc | [] | no_license | T-Marty/trademartyr | a7fcebf13cfa7a2e3cd4ea9b2ddb8f66e3822bd8 | aa1aa8bff804acf7eae58ef9978af7e421395bbe | refs/heads/master | 2020-03-22T00:11:00.999312 | 2019-05-23T10:18:46 | 2019-05-23T10:18:46 | 139,228,918 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,001 | rd | VarRankMembers.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/position_prep.R
\name{VarRankMembers}
\alias{VarRankMembers}
\title{Function to perform rank by an external (pre-calculated) variable, accounting
for membership.}
\usage{
VarRankMembers(dn, s = 0, hist_members = newHM)
}
\arguments{
\item{dn}... |
5782a917b9028ebad1b674b1c087cc5ef836bafa | 61c07605275b7d4d407a40c3bd754b2e686c4be3 | /1 clase de R.R | fcb0aed474f36510d2d9e0336a8aabea0750e702 | [] | no_license | sauc117/Programacion_Actuarial_lll | 419b06660d301b0eadcc6b996425fa6c1cb78e9a | d176b02d635505f11a312baab9fa946ea37c185e | refs/heads/master | 2021-09-14T23:12:45.966516 | 2018-05-22T01:37:36 | 2018-05-22T01:37:36 | 119,411,262 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 325 | r | 1 clase de R.R | #Aqui se esta realizando una asignasion
x <- 1
x <- 2
#ctrl r --- limpiar
print(x)
#La asiganasion no me permitio visualizar el resultado para ellos debo solicitar una impresion
print(x) #Tener cuidado cuando es con mayusculas o minusculas
print(x)
#La asignasion puede hacerce tambien de textos
msg <- "Hola"
print(... |
d4dadeac834eccd0cb176fde174b30cb2712337c | 2a8174d7e6238ca1917b937de0f67d81b971e01c | /Well_data_cleaning.R | f8a21d3c1700927899dac4ea0487e69f61ac2488 | [] | no_license | jemsethio/ag_water_delta | 24e8ef85adb35577780709db692744677e7e0b4b | 4a2186a5c52603de5432a643c937ff3cc5af1619 | refs/heads/master | 2023-03-07T11:56:11.844380 | 2021-02-18T20:33:53 | 2021-02-18T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,451 | r | Well_data_cleaning.R | rm(list=ls()) # Caution: this clears the Environment
library(raster)
# clear and set wd ----
if (!require("pacman")) install.packages("pacman")
pacman::p_load(
stars, # spatiotemporal data handling
terra, # raster data handling
raster, # raster data handling
sf, # vector data handling
dplyr, # data wrangling... |
9da047f8e507055d155ff020c6a186bc7ef4cbf8 | aeebd1497c7446e8ec967ba774ca5e016ce062a4 | /The payoff of investing in mutual funds with a high CSR/02-variables alpha.R | f2edb611670863887f1d467003ae8d3fa905788b | [] | no_license | shenfan2018/shenfan2018 | 212e881877df52b8772905b5a3546739cd4b5921 | 0bb70a7b0cdb0dc4d14a9576b02b6f22c7e9dfdb | refs/heads/master | 2020-04-01T18:05:52.266821 | 2019-11-20T12:45:09 | 2019-11-20T12:45:09 | 153,471,302 | 1 | 0 | null | null | null | null | GB18030 | R | false | false | 1,300 | r | 02-variables alpha.R | # alpha R square return, R square choose 4
# raw return
load('fund-NAV.RData')
# alpha
factor <- fread("C:/Users/shenfan/Desktop/csr/基金data/更新至2019-07-05-three_four_five_factor_daily/three_four_five_factor_daily/fivefactor_daily.csv")
setnames(factor, "trddy", "date")
factor <- factor[, date := as.Date(date)]
NAV <- ... |
88d157c1aaa08ff0cfc2a4adc372d3550bb16c80 | 792ee880bc80a08af80eb87d8d193fd586a1f6de | /man/clear.Rd | 29071838cf7aefedf2223901af388c158b09bdcb | [] | no_license | cran/schoRsch | 9852bf631fa28b90e14a5d939973264ceef8e6a1 | 52957e3499cd0afc2e7a8ffb20602bc4d4bb9467 | refs/heads/master | 2022-11-10T11:54:14.422863 | 2022-11-01T20:14:58 | 2022-11-01T20:14:58 | 17,699,487 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 478 | rd | clear.Rd | \name{clear}
\alias{clear}
\title{Clear Global Workspace}
\description{The global workspace is cleared; \code{clear} is a shortcut for the usual \code{rm(list=ls())}.}
\usage{
clear()
}
%\arguments{}
%\details{ }
%\value{ }
%\references{}
\author{Roland Pfister, Markus Janczyk}
% \note{}
\seealso{
\co... |
a735cc18c2353170b22e839d4b3eb8d4f6690dfc | b2a2d5465defe353276e27109b7dffc984169df1 | /deloitte/final.r | 416dd16add4ca1fa14bd0711575dd4a75a07be25 | [] | no_license | dmpe/analytics-challenges | 91db670834f8b97b74514ac6d3dd0aced8ab6c9a | 80adc8a24772d4bae6ce6e79d0a1bed2117ca250 | refs/heads/master | 2020-03-07T18:04:44.662652 | 2018-06-03T15:11:47 | 2018-06-03T15:11:47 | 127,627,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,593 | r | final.r | library(plyr)
library(tidyverse)
library(reshape2)
library(hms)
library(lubridate)
input_data <- read_csv(file = "in/tables/ga_transactions.csv")
input_data$source <- as.factor(input_data$source)
input_data$medium <- as.factor(input_data$medium)
input_data$campaign <- as.factor(input_data$campaign)
shorted <- input_... |
db26eb2fc2e495eb365c8d6d3296a3abe02225f8 | 0fa81f133a994b4e83c2a9799b90900f6193b3cc | /man/cas_read_db_download.Rd | 19f744c7573cd4b5eae1b4c194c90f89beb33d69 | [
"MIT"
] | permissive | giocomai/castarter | 8529995b68886e86cd815b5f4d45db7ddacb6ba1 | da788b11a5eaa0cf24c79b85b1c660b30100428c | refs/heads/main | 2023-08-27T14:28:07.905239 | 2023-08-09T12:10:22 | 2023-08-09T12:10:22 | 36,666,980 | 10 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,603 | rd | cas_read_db_download.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cas_db_index.R
\name{cas_read_db_download}
\alias{cas_read_db_download}
\title{Read index from local database}
\usage{
cas_read_db_download(
index = FALSE,
id = NULL,
batch = "latest",
status = 200L,
db_connection = NULL,
db_folde... |
30e987fa155f362ec3466417a92f85af39ed52c8 | 57965d63586beb192af1a2f8974fdd5630a3964b | /R/npregiv.R | e1443750c27341673162438e12f07ed1ae612ed3 | [] | no_license | JeffreyRacine/R-Package-np | 6fee493cbd555cabe976d2f9c14cd10aef99c665 | 525db82ebc67423728888daf66ce0d9fdd70bbc7 | refs/heads/master | 2023-08-31T13:32:00.925187 | 2023-08-27T13:08:45 | 2023-08-27T13:08:45 | 1,957,067 | 41 | 23 | null | 2022-08-12T15:40:15 | 2011-06-26T20:09:34 | C | UTF-8 | R | false | false | 93,166 | r | npregiv.R | ## This functions accepts the following arguments:
## y: univariate outcome
## z: endogenous predictors
## w: instruments
## x: exogenous predictors
## zeval: optional evaluation data for the endogenous predictors
## xeval: optional evaluation data for the exogenous predictors
## alpha.min: minimum value when conduc... |
015c57255ef967741470bf659b79913f769926cd | 071fe414fd73885db2ddd77f51ad47ce9acf751f | /src/R/nvidia.r | da3d418ad77b3d186bfa5ab8b17496618af0885f | [] | no_license | perigee/lestrefles | 9336180e9f5a1cf3ef8f990d2cc8b6f5e19f5b16 | 509b6ba9efd65f690cc3c2f07b546f22a61158a3 | refs/heads/master | 2020-04-28T09:30:08.025767 | 2013-06-03T23:26:18 | 2013-06-03T23:26:18 | 2,107,737 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,870 | r | nvidia.r | # Get the data from internet
#require('RMySQL')
require('quantmod')
# set timezone
#Get db object
#con <- dbConnect(MySQL(), user="stockuser", password="stockpwd", dbname="stockdb", host="localhost")
#sql <- "select symbol from nasdaq where industry='Semiconductors' "
#rs <- dbSendQuery(con, sql)
#tickers <- fetch(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.